OpenFAST / openfast

Main repository for the NREL-supported OpenFAST whole-turbine and FAST.Farm wind farm simulation codes.
http://openfast.readthedocs.io
Apache License 2.0
654 stars 447 forks source link

FAST.Farm #1090

Open Tommi1198 opened 2 years ago

Tommi1198 commented 2 years ago

Hello everyone, I'm trying to run a simulation in FAST.Farm using the NREL5MW wind turbine, but the following error occured:

Farm_Initialize:InflowWind_CalcOutput:CalcOutput:IfW_FFWind_CalcOutput [position=(4980, 4980, 345) in wind-file coordinates]: Error: FF wind array was exhausted at 2 seconds (trying to access data at -406.96 seconds).

Aborting FAST.Farm.

How can I fix it? Thanks a lot!

jjonkman commented 2 years ago

Dear @Tommi1198,

Have you generated your turbulent wind data file using TurbSim following the modeling guidance documentation: https://openfast.readthedocs.io/en/main/source/user/fast.farm/ModelGuidance.html#inflow-wind-generation? Is the turbulent wind data periodic as recommended? I would not expect that you'd receive an error regarding

FF wind array was exhausted

if the wind data is periodic.

Best regards,

Tommi1198 commented 2 years ago

Dear @jjonkman , this is my input file for the wind:

------- InflowWind INPUT FILE ------------------------------------------------------------------------- 12 m/s turbulent winds on 31x31 FF grid and tower for FAST CertTests #18, #19, #21, #22, #23, and #24

False Echo - Echo input data to .ech (flag) 3 WindType - switch for wind file type (1=steady; 2=uniform; 3=binary TurbSim FF; 4=binary Bladed-style FF; 5=HAWC format; 6=User defined; 7=native Bladed FF) 0 PropagationDir - Direction of wind propagation (meteorological rotation from aligned with X (positive rotates towards -Y) -- degrees) (not used for native Bladed format WindType=7) 0 VFlowAng - Upflow angle (degrees) (not used for native Bladed format WindType=7) 1 NWindVel - Number of points to output the wind velocity (0 to 9) 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) ================== Parameters for Steady Wind Conditions [used only for WindType = 1] ========================= 15 HWindSpeed - Horizontal wind speed (m/s) 90 RefHt - Reference height for horizontal wind speed (m) 0.2 PLExp - Power law exponent (-) ================== Parameters for Uniform wind file [used only for WindType = 2] ============================ "unused" Filename_Uni - Filename of time series data for uniform wind field. (-) 90 RefHt_Uni - Reference height for horizontal wind speed (m) 125.88 RefLength - Reference length for linear horizontal and vertical sheer (-) ================== Parameters for Binary TurbSim Full-Field files [used only for WindType = 3] ============== "C:\Users\167544\Desktop\NREL5MW\r-test-main\glue-codes\openfast\5MW_Baseline\Wind\90m_12mps_twr.bts" FileName_BTS - Name of the Full field wind file to use (.bts) ================== Parameters for Binary Bladed-style Full-Field files [used only for WindType = 4 or WindType = 7] ========= "unused" FileNameRoot - WindType=4: Rootname of the full-field wind file to use (.wnd, .sum); WindType=7: name of the intermediate file with wind scaling values False TowerFile - Have tower file (.twr) (flag) ignored when WindType = 7 ================== Parameters for HAWC-format binary files [Only used with WindType = 5] ===================== "wasp\Output\basic_5u.bin" FileName_u - name of the file containing the u-component fluctuating wind (.bin) "wasp\Output\basic_5v.bin" FileName_v - name of the file containing the v-component fluctuating wind (.bin) "wasp\Output\basic_5w.bin" FileName_w - name of the file containing the w-component fluctuating wind (.bin) 64 nx - number of grids in the x direction (in the 3 files above) (-) 32 ny - number of grids in the y direction (in the 3 files above) (-) 32 nz - number of grids in the z direction (in the 3 files above) (-) 16 dx - distance (in meters) between points in the x direction (m) 3 dy - distance (in meters) between points in the y direction (m) 3 dz - distance (in meters) between points in the z direction (m) 90 RefHt_Hawc - reference height; the height (in meters) of the vertical center of the grid (m) ------------- Scaling parameters for turbulence --------------------------------------------------------- 2 ScaleMethod - Turbulence scaling method [0 = none, 1 = direct scaling, 2 = calculate scaling factor based on a desired standard deviation] 1 SFx - Turbulence scaling factor for the x direction (-) [ScaleMethod=1] 1 SFy - Turbulence scaling factor for the y direction (-) [ScaleMethod=1] 1 SFz - Turbulence scaling factor for the z direction (-) [ScaleMethod=1] 1.2 SigmaFx - Turbulence standard deviation to calculate scaling from in x direction (m/s) [ScaleMethod=2] 0.8 SigmaFy - Turbulence standard deviation to calculate scaling from in y direction (m/s) [ScaleMethod=2] 0.2 SigmaFz - Turbulence standard deviation to calculate scaling from in z direction (m/s) [ScaleMethod=2] ------------- Mean wind profile parameters (added to HAWC-format files) --------------------------------- 12 URef - Mean u-component wind speed at the reference height (m/s) 2 WindProfile - Wind profile type (0=constant;1=logarithmic,2=power law) 0.2 PLExp_Hawc - Power law exponent (-) (used for PL wind profile type only) 0.03 Z0 - Surface roughness length (m) (used for LG wind profile type only) 0 XOffset - Initial offset in +x direction (shift of wind box) ====================== OUTPUT ================================================== False SumPrint - Print summary data to .IfW.sum (flag) OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-) "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)

jjonkman commented 2 years ago

Dear @Tommi1198,

I don't see any issue with this InflowWind input file. The issue is likely with the TurbSim wind data file you are using, _90m_12mpstwr.bts.

How did you generate this file from TurbSim and is it periodic, i.e., is TurbSim input UsableTime set to "ALL"?

Best regards,

Tommi1198 commented 2 years ago

Dear @jjonkman, I took this file from the library in GitHub; in addition, I donìt know how to open this file so that I can check if TurbSim input UsableTime set to "ALL". What can I do? Thank you

jjonkman commented 2 years ago

Dear @Tommi1198,

Presumably you obtained the file _90m_12mpstwr.bts from here: https://github.com/OpenFAST/r-test/tree/main/glue-codes/openfast/5MW_Baseline/Wind; is that correct? The TurbSim input file used to generate this wind data file is available in the same directory, _90m_12mpstwr.inp. In this file, UsableTime is set to 60 s, not "ALL". And there are other input parameters in this TurbSim input file that also do not follow the modeling guidance for TurbSim specified in the FAST.Farm documentation.

The TurbSim input file, _90m_08mps.inp, found in the following example more closely follows the modeling guidance for TurbSim specified in the FAST.Farm documentation: https://github.com/OpenFAST/r-test/tree/main/glue-codes/fast-farm/TSinflow. I would start with this example.

Best regards,

Tommi1198 commented 2 years ago

Dear @jjonkman, I changed the wind file using _90m_08mps.bts as bts file for TurbSim, but another error came out:

Farm_Initialize:InflowWind_CalcOutput:CalcOutput:IfW_FFWind_CalcOutput [position=(4980, 4980, 345) in wind-file coordinates]: FF wind array boundaries violated: Grid too small in Y direction. Y=4980; Y boundaries = [-500, 500]

Aborting FAST.Farm.

How can I change the Y boundaries?

This is my input file for the wind:

------- InflowWind INPUT FILE ------------------------------------------------------------------------- 12 m/s turbulent winds on 31x31 FF grid and tower for FAST CertTests #18, #19, #21, #22, #23, and #24

False Echo - Echo input data to .ech (flag) 3 WindType - switch for wind file type (1=steady; 2=uniform; 3=binary TurbSim FF; 4=binary Bladed-style FF; 5=HAWC format; 6=User defined; 7=native Bladed FF) 0 PropagationDir - Direction of wind propagation (meteorological rotation from aligned with X (positive rotates towards -Y) -- degrees) (not used for native Bladed format WindType=7) 0 VFlowAng - Upflow angle (degrees) (not used for native Bladed format WindType=7) 1 NWindVel - Number of points to output the wind velocity (0 to 9) 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) ================== Parameters for Steady Wind Conditions [used only for WindType = 1] ========================= 15 HWindSpeed - Horizontal wind speed (m/s) 90 RefHt - Reference height for horizontal wind speed (m) 0.2 PLExp - Power law exponent (-) ================== Parameters for Uniform wind file [used only for WindType = 2] ============================ "unused" Filename_Uni - Filename of time series data for uniform wind field. (-) 90 RefHt_Uni - Reference height for horizontal wind speed (m) 125.88 RefLength - Reference length for linear horizontal and vertical sheer (-) ================== Parameters for Binary TurbSim Full-Field files [used only for WindType = 3] ============== "90m_08mps.bts" FileName_BTS - Name of the Full field wind file to use (.bts) ================== Parameters for Binary Bladed-style Full-Field files [used only for WindType = 4 or WindType = 7] ========= "unused" FileNameRoot - WindType=4: Rootname of the full-field wind file to use (.wnd, .sum); WindType=7: name of the intermediate file with wind scaling values False TowerFile - Have tower file (.twr) (flag) ignored when WindType = 7 ================== Parameters for HAWC-format binary files [Only used with WindType = 5] ===================== "wasp\Output\basic_5u.bin" FileName_u - name of the file containing the u-component fluctuating wind (.bin) "wasp\Output\basic_5v.bin" FileName_v - name of the file containing the v-component fluctuating wind (.bin) "wasp\Output\basic_5w.bin" FileName_w - name of the file containing the w-component fluctuating wind (.bin) 64 nx - number of grids in the x direction (in the 3 files above) (-) 32 ny - number of grids in the y direction (in the 3 files above) (-) 32 nz - number of grids in the z direction (in the 3 files above) (-) 16 dx - distance (in meters) between points in the x direction (m) 3 dy - distance (in meters) between points in the y direction (m) 3 dz - distance (in meters) between points in the z direction (m) 90 RefHt_Hawc - reference height; the height (in meters) of the vertical center of the grid (m) ------------- Scaling parameters for turbulence --------------------------------------------------------- 2 ScaleMethod - Turbulence scaling method [0 = none, 1 = direct scaling, 2 = calculate scaling factor based on a desired standard deviation] 1 SFx - Turbulence scaling factor for the x direction (-) [ScaleMethod=1] 1 SFy - Turbulence scaling factor for the y direction (-) [ScaleMethod=1] 1 SFz - Turbulence scaling factor for the z direction (-) [ScaleMethod=1] 1.2 SigmaFx - Turbulence standard deviation to calculate scaling from in x direction (m/s) [ScaleMethod=2] 0.8 SigmaFy - Turbulence standard deviation to calculate scaling from in y direction (m/s) [ScaleMethod=2] 0.2 SigmaFz - Turbulence standard deviation to calculate scaling from in z direction (m/s) [ScaleMethod=2] ------------- Mean wind profile parameters (added to HAWC-format files) --------------------------------- 12 URef - Mean u-component wind speed at the reference height (m/s) 2 WindProfile - Wind profile type (0=constant;1=logarithmic,2=power law) 0.2 PLExp_Hawc - Power law exponent (-) (used for PL wind profile type only) 0.03 Z0 - Surface roughness length (m) (used for LG wind profile type only) 0 XOffset - Initial offset in +x direction (shift of wind box) ====================== OUTPUT ================================================== False SumPrint - Print summary data to .IfW.sum (flag) OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-) "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)

andrew-platt commented 2 years ago

@Tommi1198

Your turbine is too far out of the bounds of the wind field. About 5 km away from the center based on [position=(4980, 4980, 345). Is that the correct position for the turbine?

Tommi1198 commented 2 years ago

Dear @andrew-platt, my turbine is in this position: WT_X WT_Y WT_Z
(m) (m) (m)
100.0 180.0 0.0

andrew-platt commented 2 years ago

This is a bit puzzling. What is asking for wind 5 km away at position=(4980, 4980, 345)?

Tommi1198 commented 2 years ago

I don't really know...

jjonkman commented 2 years ago

Dear @Tommi1198,

My guess is your low- or high-resolution domains defined in your FAST.Farm input file have points that are outside the domain of your TurbSim wind data file.

Best regards,

Tommi1198 commented 2 years ago

Dear @jjonkman, how can I see if I have some points outside the TurbSim domain? Because I tried to extend the resolution of the turbine but nothing changed

jjonkman commented 2 years ago

Dear @Tommi1198,

You specify the X-Y-Z extent of the low- and high-resolution domains used by FAST.Farm in the FAST.Farm input file. And you specify the Y-Z extent of the TurbSim domain(s) used by the InflowWind module of FAST.Farm in the TurbSim input file (due to its periodicity, the X-extent of the TurbSim domain is infinite when UsableTime = "ALL"). The low- and high-resolution domains of FAST.Farm must lie within the TurbSim domain (and preferably align with the TurbSim domain to avoid extra interpolation) as discussed in the Modeling Guidance section of the online FAST.Farm documentation: https://openfast.readthedocs.io/en/main/source/user/fast.farm/ModelGuidance.html.

Best regards,

Tommi1198 commented 2 years ago

Dear @jjonkman, I have no idea how to open the .bts file to change the domain of the TurbSim input file...I tried to open it with a program found on the internet, but it didn't work

jjonkman commented 2 years ago

Dear @Tommi1198,

You shouldn't edit the binary wind data file manually. The TurbSim domain (and other wind conditions) is specified in the TurbSim input file. The TurbSim output file can then be generated by rerunning TurbSim.

Best regards,

Tommi1198 commented 2 years ago

Dear @jjonkman, the following error continued to show:

Farm_Initialize:InflowWind_CalcOutput:CalcOutput:IfW_FFWind_CalcOutput [position=(4975, 9950, 340) in wind-file coordinates]: FF wind array boundaries violated: Grid too small in Y direction. Y=9950; Y boundaries = [-500, 500]

Aborting FAST.Farm.

So, I enlarged the grid in Y direction and the following error came out:

forrtl: severe (157): Program Exception - access violationiod of 200 seconds). Image PC Routine Line Source FAST.Farm_x64.exe 00007FF7A16BBF97 Unknown Unknown Unknown FAST.Farm_x64.exe 00007FF7A16B9F2B Unknown Unknown Unknown FAST.Farm_x64.exe 00007FF7A169E7ED Unknown Unknown Unknown FAST.Farm_x64.exe 00007FF7A0A2C0C5 Unknown Unknown Unknown FAST.Farm_x64.exe 00007FF7A070C725 Unknown Unknown Unknown FAST.Farm_x64.exe 00007FF7A08E3521 Unknown Unknown Unknown FAST.Farm_x64.exe 00007FF7A08CCEAE Unknown Unknown Unknown FAST.Farm_x64.exe 00007FF7A07013EE Unknown Unknown Unknown FAST.Farm_x64.exe 00007FF7A2F23B62 Unknown Unknown Unknown FAST.Farm_x64.exe 00007FF7A341F934 Unknown Unknown Unknown KERNEL32.DLL 00007FF9D2E754E0 Unknown Unknown Unknown ntdll.dll 00007FF9D3A6485B Unknown Unknown Unknown

What can I do? Thanks a lot!

jjonkman commented 2 years ago

Dear @Tommi1198,

Can you clarify what you mean when you say that you "enlarged the grid in Y direction"?

Best regards,

Tommi1198 commented 2 years ago

Dear @jjonkman, I mean that, when I had the first error, I read on the guide that the problem was regarding the low-resolution domain, so I enlarged it; then, the second error described above came out

jjonkman commented 2 years ago

Dear @Tommi1198,

Can you share your FAST.Farm input file, InflowWind input file, and TurbSim input file?

Best regards,

Tommi1198 commented 2 years ago

Input file.zip Dear @jjonkman, here what you asked for, thanks a lot!

jjonkman commented 2 years ago

Dear @Tommi1198,

I'm still not sure what is resulting in the access violation error, but perhaps that is the same issue discussed previously: https://github.com/OpenFAST/openfast/issues/1044?

Regardless, I still see that you are not setting up your FAST.Farm discretizations correctly. Just a few comments:

Can you explain why you are setting up your model this way?

By now, you've asked a series of FAST.Farm questions, but you have not followed our recommendations, i.e., to set up your model following the documented modeling guidance and provided Python scripts. I'm not sure how to help if you don't follow our recommendations.

Best regards,

jyotrimaya1993 commented 2 years ago

@jjonkman @Tommi1198 @andrew-platt @sayerhs @itd

respected sir,sir i am a student and doing my academic project on OWT but i can't understand,how to use this software, how to download it ? is matlab necessary to run this software? i seek your atteention for help. as a new member ,kindly help me so that i can contribute in this in future.

andrew-platt commented 2 years ago

@jyotrimaya1993,

I recommend starting with the documentation here: https://openfast.readthedocs.io/en/main/index.html

jyotrimaya1993 commented 2 years ago

@jyotrimaya1993,

I recommend starting with the documentation here: https://openfast.readthedocs.io/en/main/index.html

sir, this installation process is old,and after following also i am unable to install the software

jjonkman commented 2 years ago

Dear @jyotrimaya1993,

What is your operating system, which approach from the documentation are you trying to use to install OpenFAST, and which step in the process is not working for you?

Best regards,

jyotrimaya1993 commented 2 years ago

sir, windows os in step 1 -i download visual studio community 2019 step 2 -i download fortran compiler with math library step 3- i download the zip file from openFAST git hub step 4 -i download all the assets except that 2 last source code zip file step 5-unzip all the downloaded file step 6-while running in powershell through the .exe code following that fst file... it is not running.... it only show that path only

jjonkman commented 2 years ago

Dear @jyotrimaya1993,

In Windows, the precompiled binary executables have been provided. So, unless you intend to modify the source code, requiring a recompile, you can likely skip steps 1-3.

To run the precompiled OpenFAST executable from a Windows command prompt, see, e.g., https://github.com/OpenFAST/openfast/issues/463.

Best regards,

jyotrimaya1993 commented 2 years ago

what should i do now?

this thingh i got error


OpenFAST

Copyright (C) 2022 National Renewable Energy Laboratory Copyright (C) 2022 Envision Energy USA LTD

This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY. See the "LICENSE" file distributed with this software for details.


OpenFAST-v3.1.0 Compile Info:

OpenFAST input file heading: FAST Certification Test #22: NREL 5.0 MW Baseline Wind Turbine with ITI Barge Configuration, for use in offshore analysis

Running ElastoDyn. Nodal outputs section of ElastoDyn input file not found or improperly formatted. Running AeroDyn14. WARNING: AeroDyn 14 is deprecated and will be removed in a future release. Running InflowWind.

Reading a 31x31 grid (145 m wide, 17.5 m to 162.5 m above ground) with a characteristic wind speed of 12 m/s. This full-field file was generated by TurbSim (v1.06.00, 21-Sep-2012) on 07-Jan-2014 at 12:50:45.

Processed 1442 time steps of 20-Hz full-field data (72.05 seconds). Running HydroDyn. Generating incident wave kinematics and current time history. Reading in WAMIT output with root name ".../5MW_Baseline/HydroData/Barge". Computing radiation impulse response functions and wave diffraction forces.

Using SS_Radiation Module, with 30 of 30 radiation states

MAP++ environment properties (set externally)... Gravity constant [m/s^2] : 9.81 Sea density [kg/m^3] : 1025.00 Water depth [m] : 150.00 Vessel reference position [m] : 0.00 , 0.00 , 0.00

Running ServoDyn. Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran for Windows, ).

FAST_InitializeAll:SrvD_Init:BladedInterface_Init:The dynamic library .../5MW_Baseline/ServoData/DISCON_ITIBarge.dll could not be loaded. Check that the file exists in the specified location and that it is compiled for 64-bit applications.

OpenFAST encountered an error during module initialization. Simulation error level: FATAL ERROR

Aborting OpenFAST.

jjonkman commented 2 years ago

Dear @jyotrimaya1993,

See a similar question asked and answered here: https://github.com/OpenFAST/openfast/discussions/1114.

Best regards

jyotrimaya1993 commented 2 years ago

@rafmudaf kindly guide me to solve my issue(Aerodyn is an issue or it will under development)


OpenFAST-v3.1.0 Compile Info:

OpenFAST input file heading: FAST Certification Test #22: NREL 5.0 MW Baseline Wind Turbine with ITI Barge Configuration, for use in offshore analysis

Running ElastoDyn. Nodal outputs section of ElastoDyn input file not found or improperly formatted. Running AeroDyn14. WARNING: AeroDyn 14 is deprecated and will be removed in a future release. Running InflowWind.

Reading a 31x31 grid (145 m wide, 17.5 m to 162.5 m above ground) with a characteristic wind speed of 12 m/s. This full-field file was generated by TurbSim (v1.06.00, 21-Sep-2012) on 07-Jan-2014 at 12:50:45.

Processed 1442 time steps of 20-Hz full-field data (72.05 seconds). Running HydroDyn. Generating incident wave kinematics and current time history. Reading in WAMIT output with root name ".../5MW_Baseline/HydroData/Barge". Computing radiation impulse response functions and wave diffraction forces.

Using SS_Radiation Module, with 30 of 30 radiation states

MAP++ environment properties (set externally)... Gravity constant [m/s^2] : 9.81 Sea density [kg/m^3] : 1025.00 Water depth [m] : 150.00 Vessel reference position [m] : 0.00 , 0.00 , 0.00

Running ServoDyn. Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran for Windows, ). Using legacy Bladed DLL interface.

Total Real Time: 8.498 seconds Total CPU Time: 8.4219 seconds Simulation CPU Time: 7.8438 seconds Simulated Time: 60 seconds Time Ratio (Sim/CPU): 7.6494

OpenFAST terminated normally.

PS C:\openfast\r-test-061441958a2eef7f494d69ee097f8ec050d5a129\r-test-061441958a2eef7f494d69ee097f8ec050d5a129\glue-codes\openfast\5MW_ITIBarge_DLL_WTurb_WavesIrr>

jjonkman commented 2 years ago

Dear @jyotrimaya1993,

You received the message "OpenFAST terminated normally". So, there is no issue to be solved.

The warning about the deprecation of AeroDyn v14 is suggesting that you consider upgrading from AeroDyn v14 (CompAero = 1) to AeroDyn v15 (CompAero = 2) because we intend to eliminate AeroDyn v14 from OpenFAST in a future release (expected to happen soon). I'm not sure if you've modified the r-test input files in any way, but when we deprecate AeroDyn v14, we will upgrade all of the r-test cases that use AeroDyn v14 to use AeroDyn v15.

Best regards,

jyotrimaya1993 commented 2 years ago

@jjonkman thank you sir,for your co-operation ,being new to this ,somehow i feel difficulty in installing ,but due to your help ,successfully i installed it ,Hopefully in near future you may help me in same manner

jyotrimaya1993 commented 2 years ago

@jjonkman i am not getting the vtk files folder in my reg glue code. and this type of error is coming..

OpenFAST-v3.1.0 Compile Info:

OpenFAST input file heading: FAST Certification Test #25: NREL 5.0 MW Baseline Wind Turbine with OC4-DeepCwind semi configuration, for use in offshore analysis

FAST_InitializeAll:FAST_Init:FAST_ReadPrimaryFile:1/VTK_fps is not an integer multiple of DT. FAST will output VTK information at 16 fps, the closest rate possible. FAST_Init:ValidateInputData:Tmax is less than the last linearization time. Linearization analysis will not be performed after TMax. ValidateInputData:Linearization is not implemented for the OpenFOAM coupling. ValidateInputData:Linearization is not implemented for the FEAMooring or MoorDyn mooring modules. ValidateInputData:DT_out must be an integer multiple of DT.

OpenFAST encountered an error during module initialization. Simulation error level: FATAL ERROR

Aborting OpenFAST.

PS C:\openfast\r-test-061441958a2eef7f494d69ee097f8ec050d5a129\r-test-061441958a2eef7f494d69ee097f8ec050d5a129\glue-codes\openfast\5MW_OC4Semi_Linear>

jjonkman commented 2 years ago

Dear @jyotrimaya1993,

It appears that your OpenFAST model has several errors that that need to be resolved before you can run the simulation. These are the errors reported that are preventing the simulation from running:

ValidateInputData:Linearization is not implemented for the OpenFOAM coupling. <-- To solve this error, either disable linearization (Linearize = False) or use InflowWind instead of OpenFOAM (CompInflow = 1).

ValidateInputData:Linearization is not implemented for the FEAMooring or MoorDyn mooring modules. <-- To solve this error, either disable linearization (Linearize = False) or use MAP++ instead of FEAMooring or MoorDyn (CompMooring = 1).

ValidateInputData:DT_out must be an integer multiple of DT. <-- To solve this error, set DT_Out to be an integer multiple of DT.

Best regards,

yuangao0916 commented 2 years ago

Dear @jjonkman ,

I am facing a similar problem while running the FAST.Farm_x64_OMP.exe. I got the following info and the software just stop running, could you please specify how shall I solve this?

....... Running ServoDyn. Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran for Windows, ). Using legacy Bladed DLL interface.

FAST_InitializeAll:FAST_Init:FAST_ReadPrimaryFile:1/VTK_fps is not an integer multiple of DT. FAST will output VTK information at 14.545 fps, the closest rate possible.

It didn't show 'aborting ...' but it seemed just stop running and no outb file was generated.

Thank you in advance.

Yours sincerely, Yuan

jjonkman commented 2 years ago

Dear @yuangao0916,

The warning about VTK_fps is just a warning, it will not cause the simulation to abort.

Can you share the full output from the Windows command prompt when you attempt to run FAST.Farm?

Best regards,

jyotrimaya1993 commented 2 years ago

@jjonkman why it is showing "Nodal outputs section of ElastoDyn input file not found or improperly formatted."(below result)


OpenFAST

Copyright (C) 2022 National Renewable Energy Laboratory Copyright (C) 2022 Envision Energy USA LTD

This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY. See the "LICENSE" file distributed with this software for details.


OpenFAST-v3.1.0 Compile Info:

OpenFAST input file heading: FAST Certification Test #22: NREL 5.0 MW Baseline Wind Turbine with ITI Barge Configuration, for use in offshore analysis

Running ElastoDyn. Nodal outputs section of ElastoDyn input file not found or improperly formatted. Running InflowWind.

Reading a 31x31 grid (145 m wide, 17.5 m to 162.5 m above ground) with a characteristic wind speed of 12 m/s. This full-field file was generated by TurbSim (v1.06.00, 21-Sep-2012) on 07-Jan-2014 at 12:50:45.

Processed 1442 time steps of 20-Hz full-field data (72.05 seconds). Running HydroDyn. Generating incident wave kinematics and current time history. Reading in WAMIT output with root name ".../5MW_Baseline/HydroData/Barge". Computing radiation impulse response functions and wave diffraction forces.

Using SS_Radiation Module, with 30 of 30 radiation states

MAP++ environment properties (set externally)... Gravity constant [m/s^2] : 9.81 Sea density [kg/m^3] : 1025.00 Water depth [m] : 200.00 Vessel reference position [m] : 0.00 , 0.00 , 0.00

FAST_InitializeAll:SetVTKParameters:Cannot do surface visualization without using AeroDyn.

OpenFAST encountered an error during module initialization. Simulation error level: FATAL ERROR

Aborting OpenFAST.

PS C:\jb\r-test-061441958a2eef7f494d69ee097f8ec050d5a129\glue-codes\openfast\5MW_ITIBarge_DLL_WTurb_WavesIrr>

jjonkman commented 2 years ago

Dear @jyotrimaya1993,

The "nodal outputs" warnings are just warnings and will not effect the simulation results; you can ignore the warnings. A similar question was asked and answered before--see #573.

OpenFAST is aborting because surface visualization is only possible when AeroDyn v15 is enabled (CompAero = 2). The ITI Barge r-test you are using makes use of AeroDyn v14 (CompAero = 1). Either switch from AeroDyn v14 to AeroDyn v15 or disable surface visualization by not setting VTK_type = 1.

Best regards,

yuangao0916 commented 2 years ago

Dear @jjonkman,

Sorry for the late reply, the following is the full outputs. I am confused as it does not say '...aborting' (although it did abort) and it just stops.

FAST.Farm-v3.1.0 Compile Info:

Running ElastoDyn. Nodal outputs section of ElastoDyn input file not found or improperly formatted. Running AeroDyn. AD15 Nodal Outputs: Nodal output section of AeroDyn input file not found or improperly formatted. Skipping nodal outputs. Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 1, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 2, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 3, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 4, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 1, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 2, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 3, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 4, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 1, blade 3) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 2, blade 3) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 3, blade 3) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 4, blade 3) Running InflowWind. Running HydroDyn. Generating incident wave kinematics and current time history. Reading in WAMIT output with root name "C:\Users\Gary\Desktop\test3_modified\FastFarm\TestTemplates\Floating../5MW_Baseline/HydroData/m arin_semi". Computing radiation impulse response functions and wave diffraction forces. Calculating second order difference-frequency force using the full quadratic transfer function. Calculating second order sum-frequency force using the full quadratic transfer function. Running MoorDyn. MD_Init: Opening MoorDyn input file: C:\Users\Gary\Desktop\test3_modified\FastFarm\TestTemplates\Floating\NRELOffshrBsline5MW_OC4Deep CwindSemi_MoorDyn.dat Creating mooring system. 3 fairleads, 3 anchors, 0 connects. Catenary solver failed for one or more lines. Using linear node spacing. Catenary solver failed for one or more lines. Using linear node spacing. Catenary solver failed for one or more lines. Using linear node spacing. Finalizing ICs using dynamic relaxation. t=88 FairTen 1: 2.70557E+05, 2.70000E+05, 2.69018E+05 Fairlead tensions converged to 1% after 88 seconds. Running ServoDyn. Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran for Windows, ). Using legacy Bladed DLL interface. Running OpenFAST. OpenFAST input file heading: FAST Certification Test #26: NREL 5.0 MW Baseline Wind Turbine (Onshore)

Running ElastoDyn. Nodal outputs section of ElastoDyn input file not found or improperly formatted. Running AeroDyn. AD15 Nodal Outputs: Nodal output section of AeroDyn input file not found or improperly formatted. Skipping nodal outputs. Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 1, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 2, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 3, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 4, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 1, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 2, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 3, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 4, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 1, blade 3) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 2, blade 3) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 3, blade 3) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 4, blade 3) Running InflowWind. Running HydroDyn. Generating incident wave kinematics and current time history. Reading in WAMIT output with root name "C:\Users\Gary\Desktop\test3_modified\FastFarm\TestTemplates\Floating../5MW_Baseline/HydroData/m arin_semi". Computing radiation impulse response functions and wave diffraction forces. Calculating second order difference-frequency force using the full quadratic transfer function. Calculating second order sum-frequency force using the full quadratic transfer function. Running MoorDyn. MD_Init: Opening MoorDyn input file: C:\Users\Gary\Desktop\test3_modified\FastFarm\TestTemplates\Floating\NRELOffshrBsline5MW_OC4Deep CwindSemi_MoorDyn.dat Creating mooring system. 3 fairleads, 3 anchors, 0 connects. Catenary solver failed for one or more lines. Using linear node spacing. Catenary solver failed for one or more lines. Using linear node spacing. Catenary solver failed for one or more lines. Using linear node spacing. Finalizing ICs using dynamic relaxation. t=88 FairTen 1: 2.70557E+05, 2.70000E+05, 2.69018E+05 Fairlead tensions converged to 1% after 88 seconds. Running ServoDyn. Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran for Windows, ). Using legacy Bladed DLL interface. Running OpenFAST. OpenFAST input file heading: FAST Certification Test #26: NREL 5.0 MW Baseline Wind Turbine (Onshore)

Running ElastoDyn. Nodal outputs section of ElastoDyn input file not found or improperly formatted. Running AeroDyn. AD15 Nodal Outputs: Nodal output section of AeroDyn input file not found or improperly formatted. Skipping nodal outputs. Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 1, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 2, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 3, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 4, blade 1) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 1, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 2, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 3, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 4, blade 2) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 1, blade 3) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 2, blade 3) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 3, blade 3) Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil (airfoil has likely has constant polars). (node 4, blade 3) Running InflowWind. Running HydroDyn. Generating incident wave kinematics and current time history. Reading in WAMIT output with root name "C:\Users\Gary\Desktop\test3_modified\FastFarm\TestTemplates\Floating../5MW_Baseline/HydroData/m arin_semi". Computing radiation impulse response functions and wave diffraction forces. Calculating second order difference-frequency force using the full quadratic transfer function. Calculating second order sum-frequency force using the full quadratic transfer function. Running MoorDyn. MD_Init: Opening MoorDyn input file: C:\Users\Gary\Desktop\test3_modified\FastFarm\TestTemplates\Floating\NRELOffshrBsline5MW_OC4Deep CwindSemi_MoorDyn.dat Creating mooring system. 3 fairleads, 3 anchors, 0 connects. Catenary solver failed for one or more lines. Using linear node spacing. Catenary solver failed for one or more lines. Using linear node spacing. Catenary solver failed for one or more lines. Using linear node spacing. Finalizing ICs using dynamic relaxation. t=88 FairTen 1: 2.70557E+05, 2.70000E+05, 2.69018E+05 Fairlead tensions converged to 1% after 88 seconds. Running ServoDyn. Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran for Windows, ). Using legacy Bladed DLL interface. C:\Users\Gary\Desktop\test3_modified\FastFarm\newbin2>

jjonkman commented 2 years ago

Dear @yuangao0916,

I'm not sure what would cause FAST.Farm to abort without an error. Can you share your full set of input files so that I can see if I can reproduce the error?

Best regards,

yuangao0916 commented 2 years ago

Dear @jjonkman,

I am quite confused about this because it works ok with my non-parallel version (it just run the simulation to the end), but once I change to this _OMP.exe file, it abort like this..

The following is my .fstf input file:

FAST.Farm v1.00.* INPUT FILE Sample FAST.Farm input file --- SIMULATION CONTROL --- True Echo Echo input data to .ech? (flag) FATAL AbortLevel Error level when simulation should abort (string) {"WARNING", "SEVERE", "FATAL"} 2800.0 TMax Total run time (s) [>=0.0] False 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 instances of InflowWind module} --- SUPER CONTROLLER --- [used only for UseSC=True] "SC_DLL.dll" SC_FileName Name/location of the dynamic library {.dll [Windows] or .so [Linux]} containing the Super Controller algorithms (quoated string) --- AMBIENT WIND: PRECURSOR IN VTK FORMAT --- [used only for Mod_AmbWind=1] 3.0 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] 0.1 DT_High-VTK Time step for high-resolution wind data input files (s) [>0.0] "unused" WindFilePath Path name to VTK wind data files from precursor (string) False ChkWndFiles Check all the ambient wind files for data consistency? (flag) --- AMBIENT WIND: INFLOWWIND MODULE --- [used only for Mod_AmbWind=2 or 3] 3.0 DT_Low Time step for low -resolution wind data interpolation; will be used as the global FAST.Farm time step (s) [>0.0] 0.1 DT_High Time step for high-resolution wind data interpolation (s) [>0.0] 313 NX_Low Number of low -resolution spatial nodes in X direction for wind data interpolation (-) [>=2] 101 NY_Low Number of low -resolution spatial nodes in Y direction for wind data interpolation (-) [>=2] 35 NZ_Low Number of low -resolution spatial nodes in Z direction for wind data interpolation (-) [>=2] -183.07 X0_Low Origin of low -resolution spatial nodes in X direction for wind data interpolation (m) -500.0 Y0_Low Origin of low -resolution spatial nodes in Y direction for wind data interpolation (m) -15.0 Z0_Low Origin of low -resolution spatial nodes in Z direction for wind data interpolation (m) [5] 10.17 dX_Low Spacing of low -resolution spatial nodes in X direction for wind data interpolation (m) [>0.0] 10.0 dY_Low Spacing of low -resolution spatial nodes in Y direction for wind data interpolation (m) [>0.0] 10.0 dZ_Low Spacing of low -resolution spatial nodes in Z direction for wind data interpolation (m) [>0.0] 18 NX_High Number of high-resolution spatial nodes in X direction for wind data interpolation (-) [>=2] 17 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] "InflowWind.dat" InflowFile Name of file containing InflowWind module input parameters (quoted string) --- WIND TURBINES --- 3 NumTurbines Number of wind turbines (-) [>=1] [last 6 columns below used only for Mod_AmbWind=2 or 3] WT_X WT_Y WT_Z WT_FASTInFile X0_High Y0_High Z0_High dX_High dY_High dZ_High (m) (m) (m) (string) (m) (m) (m) (m) (m) (m) 5.0 0.0 0.0 "FFTest_WT1.fst" -77.7 -80.0 5.0 40.17 40.0 30.0 1013.0 0.0 0.0 "FFTest_WT2.fst" 932.37 -180.0 5.0 40.17 40.0 30.0 2021.0 0.0 0.0 "FFTest_WT3.fst" 1942.44 -280.0 5.0 40.17 40.0 30.0 --- WAKE DYNAMICS --- 5.0 dr Radial increment of radial finite-difference grid (m) [>0.0] 40 NumRadii Number of radii in the radial finite-difference grid (-) [>=2] 136 NumPlanes Number of wake planes (-) [>=2] DEFAULT f_c Cutoff (corner) frequency of the low-pass time-filter for the wake advection, deflection, and meandering model (Hz) [>0.0] or DEFAULT [DEFAULT=0.0007] DEFAULT C_HWkDfl_O Calibrated parameter in the correction for wake deflection defining the horizontal offset at the rotor (m ) or DEFAULT [DEFAULT= 0.0 ] DEFAULT 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 ] DEFAULT C_HWkDfl_x Calibrated parameter in the correction for wake deflection defining the horizontal offset scaled with downstream distance (- ) or DEFAULT [DEFAULT= 0.0 ] DEFAULT 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] DEFAULT C_NearWake Calibrated parameter for the near-wake correction (-) [>1.0 and <2.5] or DEFAULT [DEFAULT=1.8] DEFAULT k_vAmb Calibrated parameter for the influence of ambient turbulence in the eddy viscosity (-) [>=0.0] or DEFAULT [DEFAULT=0.05 ] DEFAULT k_vShr Calibrated parameter for the influence of the shear layer in the eddy viscosity (-) [>=0.0] or DEFAULT [DEFAULT=0.016] DEFAULT 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 ] DEFAULT 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 ] DEFAULT 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 ] DEFAULT 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] DEFAULT 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 ] DEFAULT 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 ] DEFAULT 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 ] DEFAULT 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 ] DEFAULT 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] DEFAULT C_WakeDiam Calibrated parameter for wake diameter calculation (-) [>0.0 and <0.99] or DEFAULT [DEFAULT=0.95] [unused for Mod_WakeDiam=1] DEFAULT Mod_Meander Spatial filter model for wake meandering (-) (switch) {1: uniform, 2: truncated jinc, 3: windowed jinc} or DEFAULT [DEFAULT=3] DEFAULT C_Meander Calibrated parameter for wake meandering (-) [>=1.0] or DEFAULT [DEFAULT=1.9] --- VISUALIZATION --- False WrDisWind Write low- and high-resolution disturbed wind data to .Low.Dis.t.vtk etc.? (flag) 1 NOutDisWindXY Number of XY planes for output of disturbed wind data across the low-resolution domain to .Low.DisXY.t.vtk (-) [0 to 9] 90.0 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] 0 NOutDisWindYZ Number of YZ planes for output of disturbed wind data across the low-resolution domain to /Low.DisYZ.t.vtk (-) [0 to 9] 748.0, 1252.0, 1378.0, 1504.0, 1630.0, 1756.0, 1882.0, 2008.0 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 /Low.DisXZ.t.vtk (-) [0 to 9] 0.0 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] 3.0 WrDisDT Time step for disturbed wind visualization output (s) [>0.0] or DEFAULT [DEFAULT=DT_Low or DT_Low-VTK] [unused for WrDisWind=False and NOutDisWindXY=NOutDisWindYZ=NOutDisWindXZ=0] --- OUTPUT --- True SumPrint Print summary data to .sum? (flag) 99999.9 ChkptTime Amount of time between creating checkpoint files for potential restart (s) [>0.0] 0.0 TStart Time to begin tabular output (s) [>=0.0] 1 OutFileFmt Format for tabular (time-marching) output file (switch) {1: text file [.out], 2: binary file [.outb], 3: both} True TabDelim Use tab delimiters in text tabular output file? (flag) {uses spaces if False} "ES10.3E2" OutFmt Format used for text tabular output, excluding the time channel. Resulting field should be 10 characters. (quoted string) 20 NOutRadii Number of radial nodes for wake output for an individual rotor (-) [0 to 20] 0, 1, 2, 3, 4, 5, 7, 9, 11, 13, 15, 16, 17, 18, 19, 21, 24, 28, 33, 39 OutRadii List of radial nodes for wake output for an individual rotor (-) [1 to NOutRadii] [unused for NOutRadii=0] 7 NOutDist Number of downstream distances for wake output for an individual rotor (-) [0 to 9 ] 252.0, 378.0, 504.0, 630.0, 756.0, 882.0, 1008.0 OutDist List of downstream distances for wake output for an individual rotor (m) [1 to NOutDist ] [unused for NOutDist =0] 1 NWindVel Number of points for wind output (-) [0 to 9] 1000.0 WindVelX List of coordinates in the X direction for wind output (m) [1 to NWindVel] [unused for NWindVel=0] 0.0 WindVelY List of coordinates in the Y direction for wind output (m) [1 to NWindVel] [unused for NWindVel=0] 90.0 WindVelZ List of coordinates in the Z direction for wind output (m) [1 to NWindVel] [unused for NWindVel=0] OutList The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels (quoted string) "RtAxsXT1 , RtAxsYT1 , RtAxsZT1" "RtPosXT1 , RtPosYT1 , RtPosZT1" "YawErrT1" "TIAmbT1" "CtT1N01 , CtT1N02 , CtT1N03 , CtT1N04 , CtT1N05 , CtT1N06 , CtT1N07 , CtT1N08 , CtT1N09 , CtT1N10 , CtT1N11 , CtT1N12 , CtT1N13 , CtT1N14 , CtT1N15 , CtT1N16 , CtT1N17 , CtT1N18 , CtT1N19 , CtT1N20" "WkAxsXT1D1 , WkAxsXT1D2 , WkAxsXT1D3 , WkAxsXT1D4 , WkAxsXT1D5 , WkAxsXT1D6 , WkAxsXT1D7" "WkAxsYT1D1 , WkAxsYT1D2 , WkAxsYT1D3 , WkAxsYT1D4 , WkAxsYT1D5 , WkAxsYT1D6 , WkAxsYT1D7" "WkAxsZT1D1 , WkAxsZT1D2 , WkAxsZT1D3 , WkAxsZT1D4 , WkAxsZT1D5 , WkAxsZT1D6 , WkAxsZT1D7" "WkPosXT1D1 , WkPosXT1D2 , WkPosXT1D3 , WkPosXT1D4 , WkPosXT1D5 , WkPosXT1D6 , WkPosXT1D7" "WkPosYT1D1 , WkPosYT1D2 , WkPosYT1D3 , WkPosYT1D4 , WkPosYT1D5 , WkPosYT1D6 , WkPosYT1D7" "WkPosZT1D1 , WkPosZT1D2 , WkPosZT1D3 , WkPosZT1D4 , WkPosZT1D5 , WkPosZT1D6 , WkPosZT1D7" "WkDfVxT1N01D1, WkDfVxT1N02D1, WkDfVxT1N03D1, WkDfVxT1N04D1, WkDfVxT1N05D1, WkDfVxT1N06D1, WkDfVxT1N07D1, WkDfVxT1N08D1, WkDfVxT1N09D1, WkDfVxT1N10D1, WkDfVxT1N11D1, WkDfVxT1N12D1, WkDfVxT1N13D1, WkDfVxT1N14D1, WkDfVxT1N15D1, WkDfVxT1N16D1, WkDfVxT1N17D1, WkDfVxT1N18D1, WkDfVxT1N19D1, WkDfVxT1N20D1" "WkDfVxT1N01D2, WkDfVxT1N02D2, WkDfVxT1N03D2, WkDfVxT1N04D2, WkDfVxT1N05D2, WkDfVxT1N06D2, WkDfVxT1N07D2, WkDfVxT1N08D2, WkDfVxT1N09D2, WkDfVxT1N10D2, WkDfVxT1N11D2, WkDfVxT1N12D2, WkDfVxT1N13D2, WkDfVxT1N14D2, WkDfVxT1N15D2, WkDfVxT1N16D2, WkDfVxT1N17D2, WkDfVxT1N18D2, WkDfVxT1N19D2, WkDfVxT1N20D2" "WkDfVxT1N01D3, WkDfVxT1N02D3, WkDfVxT1N03D3, WkDfVxT1N04D3, WkDfVxT1N05D3, WkDfVxT1N06D3, WkDfVxT1N07D3, WkDfVxT1N08D3, WkDfVxT1N09D3, WkDfVxT1N10D3, WkDfVxT1N11D3, WkDfVxT1N12D3, WkDfVxT1N13D3, WkDfVxT1N14D3, WkDfVxT1N15D3, WkDfVxT1N16D3, WkDfVxT1N17D3, WkDfVxT1N18D3, WkDfVxT1N19D3, WkDfVxT1N20D3" "WkDfVxT1N01D4, WkDfVxT1N02D4, WkDfVxT1N03D4, WkDfVxT1N04D4, WkDfVxT1N05D4, WkDfVxT1N06D4, WkDfVxT1N07D4, WkDfVxT1N08D4, WkDfVxT1N09D4, WkDfVxT1N10D4, WkDfVxT1N11D4, WkDfVxT1N12D4, WkDfVxT1N13D4, WkDfVxT1N14D4, WkDfVxT1N15D4, WkDfVxT1N16D4, WkDfVxT1N17D4, WkDfVxT1N18D4, WkDfVxT1N19D4, WkDfVxT1N20D4" "WkDfVxT1N01D5, WkDfVxT1N02D5, WkDfVxT1N03D5, WkDfVxT1N04D5, WkDfVxT1N05D5, WkDfVxT1N06D5, WkDfVxT1N07D5, WkDfVxT1N08D5, WkDfVxT1N09D5, WkDfVxT1N10D5, WkDfVxT1N11D5, WkDfVxT1N12D5, WkDfVxT1N13D5, WkDfVxT1N14D5, WkDfVxT1N15D5, WkDfVxT1N16D5, WkDfVxT1N17D5, WkDfVxT1N18D5, WkDfVxT1N19D5, WkDfVxT1N20D5" "WkDfVxT1N01D6, WkDfVxT1N02D6, WkDfVxT1N03D6, WkDfVxT1N04D6, WkDfVxT1N05D6, WkDfVxT1N06D6, WkDfVxT1N07D6, WkDfVxT1N08D6, WkDfVxT1N09D6, WkDfVxT1N10D6, WkDfVxT1N11D6, WkDfVxT1N12D6, WkDfVxT1N13D6, WkDfVxT1N14D6, WkDfVxT1N15D6, WkDfVxT1N16D6, WkDfVxT1N17D6, WkDfVxT1N18D6, WkDfVxT1N19D6, WkDfVxT1N20D6" "WkDfVxT1N01D7, WkDfVxT1N02D7, WkDfVxT1N03D7, WkDfVxT1N04D7, WkDfVxT1N05D7, WkDfVxT1N06D7, WkDfVxT1N07D7, WkDfVxT1N08D7, WkDfVxT1N09D7, WkDfVxT1N10D7, WkDfVxT1N11D7, WkDfVxT1N12D7, WkDfVxT1N13D7, WkDfVxT1N14D7, WkDfVxT1N15D7, WkDfVxT1N16D7, WkDfVxT1N17D7, WkDfVxT1N18D7, WkDfVxT1N19D7, WkDfVxT1N20D7" "WkDfVrT1N01D1, WkDfVrT1N02D1, WkDfVrT1N03D1, WkDfVrT1N04D1, WkDfVrT1N05D1, WkDfVrT1N06D1, WkDfVrT1N07D1, WkDfVrT1N08D1, WkDfVrT1N09D1, WkDfVrT1N10D1, WkDfVrT1N11D1, WkDfVrT1N12D1, WkDfVrT1N13D1, WkDfVrT1N14D1, WkDfVrT1N15D1, WkDfVrT1N16D1, WkDfVrT1N17D1, WkDfVrT1N18D1, WkDfVrT1N19D1, WkDfVrT1N20D1" "WkDfVrT1N01D2, WkDfVrT1N02D2, WkDfVrT1N03D2, WkDfVrT1N04D2, WkDfVrT1N05D2, WkDfVrT1N06D2, WkDfVrT1N07D2, WkDfVrT1N08D2, WkDfVrT1N09D2, WkDfVrT1N10D2, WkDfVrT1N11D2, WkDfVrT1N12D2, WkDfVrT1N13D2, WkDfVrT1N14D2, WkDfVrT1N15D2, WkDfVrT1N16D2, WkDfVrT1N17D2, WkDfVrT1N18D2, WkDfVrT1N19D2, WkDfVrT1N20D2" "WkDfVrT1N01D3, WkDfVrT1N02D3, WkDfVrT1N03D3, WkDfVrT1N04D3, WkDfVrT1N05D3, WkDfVrT1N06D3, WkDfVrT1N07D3, WkDfVrT1N08D3, WkDfVrT1N09D3, WkDfVrT1N10D3, WkDfVrT1N11D3, WkDfVrT1N12D3, WkDfVrT1N13D3, WkDfVrT1N14D3, WkDfVrT1N15D3, WkDfVrT1N16D3, WkDfVrT1N17D3, WkDfVrT1N18D3, WkDfVrT1N19D3, WkDfVrT1N20D3" "WkDfVrT1N01D4, WkDfVrT1N02D4, WkDfVrT1N03D4, WkDfVrT1N04D4, WkDfVrT1N05D4, WkDfVrT1N06D4, WkDfVrT1N07D4, WkDfVrT1N08D4, WkDfVrT1N09D4, WkDfVrT1N10D4, WkDfVrT1N11D4, WkDfVrT1N12D4, WkDfVrT1N13D4, WkDfVrT1N14D4, WkDfVrT1N15D4, WkDfVrT1N16D4, WkDfVrT1N17D4, WkDfVrT1N18D4, WkDfVrT1N19D4, WkDfVrT1N20D4" "WkDfVrT1N01D5, WkDfVrT1N02D5, WkDfVrT1N03D5, WkDfVrT1N04D5, WkDfVrT1N05D5, WkDfVrT1N06D5, WkDfVrT1N07D5, WkDfVrT1N08D5, WkDfVrT1N09D5, WkDfVrT1N10D5, WkDfVrT1N11D5, WkDfVrT1N12D5, WkDfVrT1N13D5, WkDfVrT1N14D5, WkDfVrT1N15D5, WkDfVrT1N16D5, WkDfVrT1N17D5, WkDfVrT1N18D5, WkDfVrT1N19D5, WkDfVrT1N20D5" "WkDfVrT1N01D6, WkDfVrT1N02D6, WkDfVrT1N03D6, WkDfVrT1N04D6, WkDfVrT1N05D6, WkDfVrT1N06D6, WkDfVrT1N07D6, WkDfVrT1N08D6, WkDfVrT1N09D6, WkDfVrT1N10D6, WkDfVrT1N11D6, WkDfVrT1N12D6, WkDfVrT1N13D6, WkDfVrT1N14D6, WkDfVrT1N15D6, WkDfVrT1N16D6, WkDfVrT1N17D6, WkDfVrT1N18D6, WkDfVrT1N19D6, WkDfVrT1N20D6" "WkDfVrT1N01D7, WkDfVrT1N02D7, WkDfVrT1N03D7, WkDfVrT1N04D7, WkDfVrT1N05D7, WkDfVrT1N06D7, WkDfVrT1N07D7, WkDfVrT1N08D7, WkDfVrT1N09D7, WkDfVrT1N10D7, WkDfVrT1N11D7, WkDfVrT1N12D7, WkDfVrT1N13D7, WkDfVrT1N14D7, WkDfVrT1N15D7, WkDfVrT1N16D7, WkDfVrT1N17D7, WkDfVrT1N18D7, WkDfVrT1N19D7, WkDfVrT1N20D7" END of input file (the word "END" must appear in the first 3 columns of this last OutList line)

andrew-platt commented 2 years ago

@jjonkman and @yuangao0916

This may be a bug with opening files for reading and writing. When run in parrallel, I have occasionally seen issues with a unit number for file writing getting issued by GetNewUnit, and another process getting issued the same unit number before either actually opens the file. I think this occasionally leads to strange crashes from the conflicting unit numbers. This should be caught internally and the program should gracefully end, but given the state of error handling in some of the modules (HD, AWAE for example) I shouldn't be surprised it isn't. If this is the cause, we need a long term solution for it.

Andy

Possibly related:

894

yuangao0916 commented 2 years ago

Dear @andrew-platt

Thanks for the information.

I think this might be the cause, but I haven't gotten it successfully run in the parallel case even once. - I used the same input files and controllers which was ok for the non-parallel cases.

For now, I will focus on the non-parallel once then.

Thank you again.

Yours sincerely, Yuan

jjonkman commented 2 years ago

Thanks, @andrew-platt, for the suggestion.

@yuangao0916 -- Can you confirm that you are running the precompiled Windows binary version of FAST.Farm provided by NREL (_FAST.Farm_x64OMP.exe, available from here: https://github.com/OpenFAST/openfast/releases) and that you have installed the Intel Fortran redistributable package and running from the Intel command prompt that loads the Intel libraries?

Best regards,

yuangao0916 commented 2 years ago

Dear @jjonkman ,

Yes, that is what I did.

Yours sincerely, Yuan