Skip to content

Commit 317045c

Browse files
committedFeb 26, 2025·
FF: minor adjustments regarding LES/TS run
1 parent a4210cb commit 317045c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed
 

‎openfast_toolbox/fastfarm/examples/Ex3_FFarmCompleteSetup.py

+8-6
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ def main():
7878
# ----------- Execution parameters
7979
ffbin = '/full/path/to/your/binary/.../bin/FAST.Farm'
8080

81-
# ----------- Inflow type (LES or TS) This variable will dictate whether it is a TurbSim-driven or LES-driven case
82-
inflowType = 'TS' # Choose 'LES' or 'TS' (default is TS, TurbSim-driven)
83-
inflowPath = None # '/full/path/to/TS/or/LES/case' set as None if TurbSim-driven is desired
81+
# ----------- Inflow type (LES or TS)
82+
inflowType = 'TS' # Choose 'LES' or 'TS'
83+
# If LES, then set the inflowPath below
84+
# inflowPath = '/full/path/to/LES/case'
8485

8586
# -----------------------------------------------------------------------------
8687
# ----------- Template files
@@ -125,9 +126,10 @@ def main():
125126
dt_high_les, ds_high_les, extent_high,
126127
dt_low_les, ds_low_les, extent_low,
127128
ffbin=ffbin, mod_wake=mod_wake, yaw_init=yaw_init,
128-
nSeeds=nSeeds, refTurb_rot=refTurb_rot,
129-
inflowType=inflowType, inflowPath=inflowPath,
130-
verbose=1)
129+
nSeeds=nSeeds,
130+
inflowType=inflowType,
131+
#inflowPath=inflowPath, # if LES, uncomment this line
132+
refTurb_rot=refTurb_rot, verbose=1)
131133

132134
case.setTemplateFilename(templatePath, EDfilename, SEDfilename, HDfilename, SrvDfilename, ADfilename,
133135
ADskfilename, SubDfilename, IWfilename, BDfilepath, bladefilename, towerfilename,

0 commit comments

Comments
 (0)
Please sign in to comment.