Variable NS_High in fastfarm.py is not computed correctly #62
Description
Hello everyone,
In the past few days, I've been trying to setup a FAST.Farm case using this toolbox. However I had a domain issue which made my FAST.Farm simulations fail.
This error was:
T1:FARM_InitialCO:FWrap_t0:FAST_Solution0:CalcOutputs_And_SolveForInputs:SolveOption2:SolveOption2
c_Inp2AD_SrvD:InflowWind_CalcOutput:CalcOutput:IfW_4Dext_CalcOutput [position=(-2.3119, -0.17737,
151.57) in wind-file coordinates]:Interp4D:Outside the grid bounds.
After looking through the FAST.Farm documentation NS_high is computed as such, with S : X,Y,Z
While in the fastfarm.py file it is defined as such
nX_High = int(np.ceil(LX_High/dX_High))
nY_High = int(np.ceil(LY_High/dY_High))
nZ_High = int(np.ceil(LZ_High/dZ_High))
As you can see the +1 is missing. The moment I added it the FAST.Farm simulations started working.
Thanks you!