Skip to content

Commit e6b0f5c

Browse files
committed
if dX_Low ==0, set it equal to dX_High
1 parent 1fe26c9 commit e6b0f5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openfast_toolbox/fastfarm/FASTFarmCaseCreation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,6 +2457,8 @@ def _getBoxesParamsForFF(self, lowbts, highbts, dt_low_desired, D, HubHt, xWT, y
24572457
# ----- Low
24582458
dT_Low = getMultipleOf(dt_low_desired, multipleof=dT_High)
24592459
dX_Low = getMultipleOf(meanU_Low*dT_Low, multipleof=dX_High)
2460+
if dX_Low == 0.:
2461+
dX_Low = dX_High
24602462
dY_Low = lowbts.y[1] - lowbts.y[0]
24612463
dZ_Low = lowbts.z[1] - lowbts.z[0]
24622464

0 commit comments

Comments
 (0)