Dear Jundong,
No problem and I’m happy to help you a bit. Please feel free to ask questions if you have more difficulties.
Dear Jason,
I am sorry I don’t know how to activate the debug mode… Is it the .ECH files by setting True to Echo variables?
For your question “All you did between the FAST.Farm simulation that runs and the one that errors out is change the WindType in InflowWind?”, the answer is yes. If I use WindType 1 (or 3 .bts file from TurbSim), it works. But when I use the WindType=2, It doesn’t. maybe the issue comes from my .hh file defining the steady wind conditions?
My .hh file for WindType=2:
!UAE Phase VI (Ames) wind for for a simple power curve.
!Time Wind Wind Vert. Horiz. Vert. LinV Gust
! Speed Dir Speed Shear Shear Shear Speed
0.0 8.0 0.0 0.0 0.0 0.0 0.0 0.0
210.0 8.0 0.0 0.0 0.0 0.0 0.0 0.0
210.01 10.0 0.0 0.0 0.0 0.0 0.0 0.0
9999.9 10.0 0.0 0.0 0.0 0.0 0.0 0.0
Here are my ECH files for the FAST.Farm input file and the InflowWind file:
FAST.Farm Input .Ech file:
This file of echoed input was generated by FAST.Farm (v0.01.02a-jmj, 04-Jul-2017) on 12-May-2021 at 13:17:43.
Data from FAST.Farm primary input file "C:\FASTFARM\Neutral_8mps_3WT_Short\WakeFASTFARM_TimePropFARM.fstf":
FTitle - File Header: File Description (line 2)
"Sample FAST.Farm input file"
T Echo - Echo input data to <RootName>.ech (flag)
AbortLevel - Error level when simulation should abort (string)
"FATAL"
1.0000E+02 TMax - Total run time (s)
T UseSC - Use a super controller? (flag)
2 Mod_AmbWind - Ambient wind model (-) (switch) {1: high-fidelity precursor in VTK format, 2: one InflowWind module, 3: multiple InflowWind modules}
SC_FileName - Name/location of the dynamic library {.dll [Windows] or .so [Linux]} containing the Super Controller algorithms (quoated string)
"SC_DLLnew.dll"
2.0000E+00 DT_Low-VTK - Time step for low-resolution wind data input files; will be used as the global FAST.Farm time step (s) [>0.0]
1.0000E-01 DT_High-VTK - Time step for high-resolution wind data input files (s) [>0.0]
WindFilePath - Path name of wind data files from ABLSolver precursor (string)
"Unused"
T ChkWndFiles - Check all the ambient wind files for data consistency? (flag)
2.0000E+00 DT_Low - Time step for low-resolution wind data input files; will be used as the global FAST.Farm time step (s) [>0.0]
1.0000E-01 DT_High - Time step for high-resolution wind data input files (s) [>0.0]
301 nX_Low - Number of low-resolution spatial nodes in X direction for wind data interpolation (-) [>=2]
171 nY_Low - Number of low-resolution spatial nodes in Y direction for wind data interpolation (-) [>=2]
17 nZ_Low - Number of low-resolution spatial nodes in Z direction for wind data interpolation (-) [>=2]
0.0000E+00 X0_Low - Origin of low-resolution spatial nodes in X direction for wind data interpolation (m)
-5.0000E+02 Y0_Low - Origin of low-resolution spatial nodes in Y direction for wind data interpolation (m)
1.0000E+01 Z0_Low - Origin of low-resolution spatial nodes in Z direction for wind data interpolation (m)
1.0000E+01 dX_Low - Spacing of low-resolution spatial nodes in X direction for wind data interpolation (m) [>0.0]
1.0000E+01 dY_Low - Spacing of low-resolution spatial nodes in Y direction for wind data interpolation (m) [>0.0]
1.0000E+01 dZ_Low - Spacing of low-resolution spatial nodes in Z direction for wind data interpolation (m) [>0.0]
35 nX_High - Number of high-resolution spatial nodes in X direction for wind data interpolation (-) [>=2]
35 nY_High - Number of high-resolution spatial nodes in Y direction for wind data interpolation (-) [>=2]
17 nZ_High - Number of high-resolution spatial nodes in Z direction for wind data interpolation (-) [>=2]
InflowFile - Name of file containing InflowWind module input parameters (quoted string)
"WakeEffect_inflow_nFF_Var.dat"
5 NumTurbines - Number of wind turbines (-) [>=1]
1.2600E+02 0.0000E+00 0.0000E+00 "WakeEffec 1.0000E+02st-1.5000E+02 1.0000E+01 1.0000E+01 1.0000E+01 1.0000E+01 - WT( 1)
5.3600E+02 0.0000E+00 0.0000E+00 "WakeEffec 5.0000E+02st-1.5000E+02 1.0000E+01 1.0000E+01 1.0000E+01 1.0000E+01 - WT( 2)
9.4400E+02 0.0000E+00 0.0000E+00 "WakeEffec 9.0000E+02st-1.5000E+02 1.0000E+01 1.0000E+01 1.0000E+01 1.0000E+01 - WT( 3)
1.2600E+02 7.1900E+02 0.0000E+00 "WakeEffec 1.0000E+02st 5.6900E+02 1.0000E+01 1.0000E+01 1.0000E+01 1.0000E+01 - WT( 4)
6.5100E+02 7.5800E+02 0.0000E+00 "WakeEffec 6.0000E+02st 6.0800E+02 1.0000E+01 1.0000E+01 1.0000E+01 1.0000E+01 - WT( 5)
2.0000E+00 dr - Radial increment of radial finite-difference grid (m) [>0.0]
110 NumRadii - Number of radii in the radial finite-difference grid (-) [>=2]
150 NumPlanes - Number of wake planes (-) [>=2]
7.0000E-04 f_c - Cut-off (corner) frequency of the low-pass time-filter for the wake advection, deflection, and meandering model (Hz) [>0.0] or DEFAULT [DEFAULT=0.0007]
0.0000E+00 C_HWkDfl_O - Calibrated parameter in the correction for wake deflection defining the horizontal offset at the rotor (m) or DEFAULT [DEFAULT=0.0]
3.0000E-01 C_HWkDfl_OY - Calibrated parameter in the correction for wake deflection defining the horizontal offset at the rotor scaled with yaw error (m/deg) or DEFAULT [DEFAULT=0.3]
0.0000E+00 C_HWkDfl_x - Calibrated parameter in the correction for wake deflection defining the horizontal offset scaled with downstream distance (-) or DEFAULT [DEFAULT=0.0]
-4.0000E-03 C_HWkDfl_xY - Calibrated parameter in the correction for wake deflection defining the horizontal offset scaled with downstream distance and yaw error (1/deg) or DEFAULT [DEFAULT=-0.004]
1.8000E+00 C_NearWake - Calibrated parameter for the near-wake correction (-) [>1.0] or DEFAULT [DEFAULT=1.8]
5.0000E-02 k_vAmb - Calibrated parameter for the influence of ambient turbulence in the eddy viscosity (-) [>=0.0] or DEFAULT [DEFAULT=0.05]
1.6000E-02 k_vShr - Calibrated parameter for the influence of the shear layer in the eddy viscosity (-) [>=0.0] or DEFAULT [DEFAULT=0.016]
0.0000E+00 C_vAmb_DMin - Calibrated parameter in the eddy viscosity filter function for ambient turbulence defining the transitional diameter fraction between the minimum and exponential regions (-) [>=0.0] or DEFAULT [DEFAULT=0.0]
1.0000E+00 C_vAmb_DMax - Calibrated parameter in the eddy viscosity filter function for ambient turbulence defining the transitional diameter fraction between the exponential and maximum regions (-) [> C_vAmb_DMin ] or DEFAULT [DEFAULT=1.0]
1.0000E+00 C_vAmb_FMin - Calibrated parameter in the eddy viscosity filter function for ambient turbulence defining the value in the minimum region (-) [>=0.0 and <=1.0] or DEFAULT [DEFAULT=1.0]
1.0000E-02 C_vAmb_Exp - Calibrated parameter in the eddy viscosity filter function for ambient turbulence defining the exponent in the exponential region (-) [> 0.0] or DEFAULT [DEFAULT=0.01]
3.0000E+00 C_vShr_DMin - Calibrated parameter in the eddy viscosity filter function for the shear layer defining the transitional diameter fraction between the minimum and exponential regions (-) [>=0.0] or DEFAULT [DEFAULT=3.0]
2.5000E+01 C_vShr_DMax - Calibrated parameter in the eddy viscosity filter function for the shear layer defining the transitional diameter fraction between the exponential and maximum regions (-) [> C_vShr_DMin] or DEFAULT [DEFAULT=25.0]
2.0000E-01 C_vShr_FMin - Calibrated parameter in the eddy viscosity filter function for the shear layer defining the value in the minimum region (-) [>=0.0 and <=1.0] or DEFAULT [DEFAULT=0.2]
1.0000E-01 C_vShr_Exp - Calibrated parameter in the eddy viscosity filter function for the shear layer defining the exponent in the exponential region (-) [> 0.0] or DEFAULT [DEFAULT=0.1]
1 Mod_WakeDiam - Wake diameter calculation model (-) (switch) {1: rotor diameter, 2: velocity-based, 3: mass-flux based, 4: momentum-flux based} or DEFAULT [DEFAULT=1]
9.5000E-01 C_WakeDiam - Calibrated parameter for wake diameter calculation (-) [>0.0 and <1.0] or DEFAULT [DEFAULT=0.95] [unused for Mod_WakeDiam=1]
3 Mod_Meander - Spatial filter model for wake meandering (-) (switch) {1: uniform, 2: truncated jinc, 3: windowed jinc} or DEFAULT [DEFAULT=3]
1.9000E+00 C_Meander - Calibrated parameter for wake meandering (-) [>=1.0] or DEFAULT [DEFAULT=1.9]
F WrDisWind - Write disturbed wind data to <OutFileRoot>.Low.Dis.t<n/n_low-out>.vtk etc.? (flag)
1 NOutDisWindXY - Number of XY planes for output of disturbed wind data across the low-resolution domain to <OutFileRoot>.Low.DisXY.<n_out>.t<n/n_low-out>.vtk (-) [0 to 9]
OutDisWindZ - Z coordinates of XY planes for output of disturbed wind data across the low-resolution domain (m) [1 to NOutDisWindXY] [unused for NOutDisWindXY=0]
9.0000E+01
0 NOutDisWindYZ - Number of YZ planes for output of disturbed wind data across the low-resolution domain to <OutFileRoot>.Low.DisYZ.<n_out>.t<n/n_low-out>.vtk (-) [0 to 9]
OutDisWindX - X coordinates of YZ planes for output of disturbed wind data across the low-resolution domain (m) [1 to NOutDisWindYZ] [unused for NOutDisWindYZ=0]
0 NOutDisWindXZ - Number of XZ planes for output of disturbed wind data across the low-resolution domain to <OutFileRoot>.Low/DisXZ.<n_out>.t<n/n_low-out>.vtk (-) [0 to 9]
OutDisWindY - Y coordinates of XZ planes for output of disturbed wind data across the low-resolution domain (m) [1 to NOutDisWindXZ] [unused for NOutDisWindXZ=0]
1.0000E+01 WrDisDT - The time between vtk outputs [must be a multiple of the low resolution time step]
T SumPrint - Print summary data to <RootName>.sum? (flag)
1.0000E+05 ChkptTime - Amount of time between creating checkpoint files for potential restart (s) [>0.0]
0.0000E+00 TStart - Time to begin tabular output (s) [>=0.0]
1 OutFileFmt - Format for tabular (time-marching) output file (switch) {1: text file [<RootName>.out], 2: binary file [<RootName>.outb], 3: both}
T TabDelim - Use tab delimiters in text tabular output file? (flag) {uses spaces if False}
OutFmt - Format used for text tabular output, excluding the time channel. Resulting field should be 10 characters. (quoted string)
"ES10.3E2"
16 NOutRadii - Number of radial nodes for wake output for an individual rotor (-) [0 to 20]
OutRadii - List of radial nodes for wake output for an individual rotor (-) [1 to NOutRadii]
0 2 4 8 9 11 13 15 17 19 21 24 28 33 50 64
7 NOutDist - Number of downstream distances for wake output for an individual rotor (-) [0 to 9]
OutDist - List of downstream distances for wake output for an individual rotor (m) [1 to NOutDist] [unused for NOutDist=0]
3.7800E+02 4.4100E+02 5.0400E+02 5.6700E+02 6.3000E+02 6.9300E+02 7.5600E+02
1 NWindVel - Number of points for wind output (-) [0 to 9]
WindVelX - List of coordinates in the X direction for wind output (m) [1 to NWindVel] [unused for NWindVel=0]
1.2600E+02
WindVelY - List of coordinates in the Y direction for wind output (m) [1 to NWindVel] [unused for NWindVel=0]
0.0000E+00
WindVelZ - List of coordinates in the Z direction for wind output (m) [1 to NWindVel] [unused for NWindVel=0]
9.0000E+01
OutList - List of user-requested output channels
"RtAxsXT1 , RtAxsYT1 , RtAxsZT1"
OutList - List of user-requested output channels
"RtPosXT1 , RtPosYT1 , RtPosZT1"
OutList - List of user-requested output channels
"YawErrT1"
OutList - List of user-requested output channels
"TIAmbT1"
OutList - List of user-requested output channels
"RtVAmbT1, RtVAmbT2"
OutList - List of user-requested output channels
"WkPosXT1D1 , WkPosXT1D2 , WkPosXT1D3 , WkPosXT1D4 , WkPosXT1D5 , WkPosXT1D6 , WkPosXT1D7"
OutList - List of user-requested output channels
"WkPosYT1D1 , WkPosYT1D2 , WkPosYT1D3 , WkPosYT1D4 , WkPosYT1D5 , WkPosYT1D6 , WkPosYT1D7"
OutList - List of user-requested output channels
"WkDfVxT1N01D1, WkDfVxT1N02D1, WkDfVxT1N03D1, WkDfVxT1N04D1, WkDfVxT1N05D1, WkDfVxT1N06D1, WkDfVxT1N07D1, WkDfVxT1N08D1, WkDfVxT1N09D1, WkDfVxT1N10D1, WkDfVxT1N11D1, WkDfVxT1N12D1, WkDfVxT1N13D1, WkDfVxT1N14D1, WkDfVxT1N15D1, WkDfVxT1N16D1, WkDfVxT1N17D1, WkDfVxT1N18D1, WkDfVxT1N19D1, WkDfVxT1N20D1"
OutList - List of user-requested output channels
"WkDfVxT1N01D2, WkDfVxT1N02D2, WkDfVxT1N03D2, WkDfVxT1N04D2, WkDfVxT1N05D2, WkDfVxT1N06D2, WkDfVxT1N07D2, WkDfVxT1N08D2, WkDfVxT1N09D2, WkDfVxT1N10D2, WkDfVxT1N11D2, WkDfVxT1N12D2, WkDfVxT1N13D2, WkDfVxT1N14D2, WkDfVxT1N15D2, WkDfVxT1N16D2, WkDfVxT1N17D2, WkDfVxT1N18D2, WkDfVxT1N19D2, WkDfVxT1N20D2"
OutList - List of user-requested output channels
"WkDfVxT1N01D3, WkDfVxT1N02D3, WkDfVxT1N03D3, WkDfVxT1N04D3, WkDfVxT1N05D3, WkDfVxT1N06D3, WkDfVxT1N07D3, WkDfVxT1N08D3, WkDfVxT1N09D3, WkDfVxT1N10D3, WkDfVxT1N11D3, WkDfVxT1N12D3, WkDfVxT1N13D3, WkDfVxT1N14D3, WkDfVxT1N15D3, WkDfVxT1N16D3, WkDfVxT1N17D3, WkDfVxT1N18D3, WkDfVxT1N19D3, WkDfVxT1N20D3"
OutList - List of user-requested output channels
"WkDfVxT1N01D4, WkDfVxT1N02D4, WkDfVxT1N03D4, WkDfVxT1N04D4, WkDfVxT1N05D4, WkDfVxT1N06D4, WkDfVxT1N07D4, WkDfVxT1N08D4, WkDfVxT1N09D4, WkDfVxT1N10D4, WkDfVxT1N11D4, WkDfVxT1N12D4, WkDfVxT1N13D4, WkDfVxT1N14D4, WkDfVxT1N15D4, WkDfVxT1N16D4, WkDfVxT1N17D4, WkDfVxT1N18D4, WkDfVxT1N19D4, WkDfVxT1N20D4"
OutList - List of user-requested output channels
"WkDfVxT1N01D5, WkDfVxT1N02D5, WkDfVxT1N03D5, WkDfVxT1N04D5, WkDfVxT1N05D5, WkDfVxT1N06D5, WkDfVxT1N07D5, WkDfVxT1N08D5, WkDfVxT1N09D5, WkDfVxT1N10D5, WkDfVxT1N11D5, WkDfVxT1N12D5, WkDfVxT1N13D5, WkDfVxT1N14D5, WkDfVxT1N15D5, WkDfVxT1N16D5, WkDfVxT1N17D5, WkDfVxT1N18D5, WkDfVxT1N19D5, WkDfVxT1N20D5"
OutList - List of user-requested output channels
"WkDfVxT1N01D6, WkDfVxT1N02D6, WkDfVxT1N03D6, WkDfVxT1N04D6, WkDfVxT1N05D6, WkDfVxT1N06D6, WkDfVxT1N07D6, WkDfVxT1N08D6, WkDfVxT1N09D6, WkDfVxT1N10D6, WkDfVxT1N11D6, WkDfVxT1N12D6, WkDfVxT1N13D6, WkDfVxT1N14D6, WkDfVxT1N15D6, WkDfVxT1N16D6, WkDfVxT1N17D6, WkDfVxT1N18D6, WkDfVxT1N19D6, WkDfVxT1N20D6"
OutList - List of user-requested output channels
"WkDfVxT1N01D7, WkDfVxT1N02D7, WkDfVxT1N03D7, WkDfVxT1N04D7, WkDfVxT1N05D7, WkDfVxT1N06D7, WkDfVxT1N07D7, WkDfVxT1N08D7, WkDfVxT1N09D7, WkDfVxT1N10D7, WkDfVxT1N11D7, WkDfVxT1N12D7, WkDfVxT1N13D7, WkDfVxT1N14D7, WkDfVxT1N15D7, WkDfVxT1N16D7, WkDfVxT1N17D7, WkDfVxT1N18D7, WkDfVxT1N19D7, WkDfVxT1N20D7"
OutList - List of user-requested output channels
"END"
InflowWind .Ech file:
Echo file for InflowWind input file: C:\FASTFARM\Neutral_8mps_3WT_Short\WakeEffect_inflow_nFF_Var.dat
------- InflowWind INPUT FILE -------------------------------------------------------------------------
12 m/s turbulent winds on 31x31 FF grid and tower for FAST CertTests
---------------------------------------------------------------------------------------------------------------
True = Echo
2 = WindType
0 = PropagationDir
0 = VFlowAng
0 = VFlowAng
1 = NWindVel
0 WindVxiList - List of coordinates in the inertial X direction (m)
0 WindVyiList - List of coordinates in the inertial Y direction (m)
90 WindVziList - List of coordinates in the inertial Z direction (m)
10 = HWindSpeed
90 = RefHt
0.2 = PLExp
Wind/OneStep.hh = Filename_Uni
90 = RefHt_Uni
125.88 = RefLength
Wind/Turbulence = FileName_BTS
Wind/MySample = FileNameRoot
False = TowerFile
wasp\Output\bas = FileName_u
wasp\Output\bas = FileName_v
wasp\Output\bas = FileName_w
64 = nx
32 = ny
32 = nz
16 = dx
3 = dy
3 = dz
90 = RefHt_Hawc
2 = ScaleMethod
1 = SFx
1 = SFy
1 = SFz
1.2 = SigmaFx
0.8 = SigmaFy
0.2 = SigmaFz
12 = URef
2 = WindProfile
0.2 = PLExp_Hawc
0.03 = Z0
0 = XOffset
0 = XOffset
False = SumPrint
"Wind1VelX" X-direction wind velocity at point WindList(1)
"Wind1VelY" Y-direction wind velocity at point WindList(1)
"Wind1VelZ" Z-direction wind velocity at point WindList(1)
END of input file (the word "END" must appear in the first 3 columns of this last OutList line)
I hope this may help to identify the issue.
Kindest regards
Younes