Invalid numerical input for file

Provide feedback, request enhancements, and get help with wind-turbine computer-aided engineering tools.

Moderators: Bonnie.Jonkman, Jason.Jonkman

Daniel.Walia
Posts: 19
Joined: Thu Dec 15, 2016 7:56 am
Organization: University of Rostock
Location: Germany

Invalid numerical input for file

Postby Daniel.Walia » Tue Oct 23, 2018 10:08 am

Hey there,

after a while I am getting back to work with FAST, finally. Thus, I have compiled OpenFAST on my ArchLinux system and try to run some old simulations where the input files have been written to be used with FAST v8.16. However, as recommended in[https://wind.nrel.gov/nwtc/docs/README_OpenFAST.pdf The input file for AeroDyn has been updated to include now the lines needed by OpenFAST:

Code: Select all

False         CavitCheck     - Perform cavitation check? (flag) TRUE will turn off unsteady aerodynamics
     103500   Patm       - Atmospheric pressure (Pa) [used only when CavitCheck=True]
       1700   Pvap            - Vapour pressure of fluid (Pa) [used only when CavitCheck=True]
         .5   FluidDepth         - Water depth above mid-hub height (m) [used only when CavitCheck=True]


But when trying to run OpenFAST with different input files which have been working on FAST 8.16 before the same error occurs:

Code: Select all

$ openfast .../Load-Cases-Nantes/LB/DOWEC_6MW_LB_Test03a_Steady_12mps_DLL.fst

 **************************************************************************************************
 OpenFAST

 Copyright (C)  National Renewable Energy Laboratory
 Copyright (C)  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-v2.0.0
 Compile Info:
  - Architecture: 64 bit
  - Precision: double
  - Date: Oct 22 2018
  - Time: 10:24:58
 Execution Info:
  - Date: 10/23/2018
  - Time: 17:43:58+0200

 OpenFAST input file heading:
     SOF-3 Load Simulation: DOWEC 6 MW Wind Turbine (Onshore)

 Running ElastoDyn.
 Running AeroDyn.

 FAST_InitializeAll:AD_Init:ReadInputFiles:ReadPrimaryFile:Invalid numerical input for file
 ".../Load-Cases-Nantes/LB/DOWEC_6MW_AeroDyn15.dat" occurred while trying to
 read SkewModFactor.
 ReadPrimaryFile:Invalid logical input for file
 ".../Load-Cases-Nantes/LB/DOWEC_6MW_AeroDyn15.dat" occurred while trying to
 read TIDrag.
 ReadPrimaryFile:Invalid numerical input for file
 ".../Load-Cases-Nantes/LB/DOWEC_6MW_AeroDyn15.dat" occurred while trying to
 read IndToler.
 ReadPrimaryFile:Invalid numerical input for file
 ".../Load-Cases-Nantes/LB/DOWEC_6MW_AeroDyn15.dat" occurred while trying to
 read MaxIter.

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

  Aborting OpenFAST.


I think there is an error in the file path or something similiar, caused by switching from windows to linux because the errors do not make sense to me as the respective files seem to be correct. Can these errors occur when OpenFAST ist not capable of finding the respective files?

Best regards,
Daniel

Edit: Unfortunately I got an http error while attaching the input file. Thus I am posting it here:

Code: Select all

------- FAST v8.16.* INPUT FILE ------------------------------------------------
Wind Turbine (Onshore)
---------------------- SIMULATION CONTROL --------------------------------------
true          Echo            - Echo input data to <RootName>.ech (flag)
"WARNING"     AbortLevel      - Error level when simulation should abort (string) {"WARNING", "SEVERE", "FATAL"}
        200   TMax            - Total run time (s)
       0.01   DT              - Recommended module time step (s)
          2   InterpOrder     - Interpolation order for input/output time history (-) {1=linear, 2=quadratic}
          0   NumCrctn        - Number of correction iterations (-) {0=explicit calculation, i.e., no corrections}
      99999   DT_UJac         - Time between calls to get Jacobians (s)
      1E+06   UJacSclFact     - Scaling factor used in Jacobians (-)
---------------------- FEATURE SWITCHES AND FLAGS ------------------------------
          1   CompElast       - Compute structural dynamics (switch) {1=ElastoDyn; 2=ElastoDyn + BeamDyn for blades}
          1   CompInflow      - Compute inflow wind velocities (switch) {0=still air; 1=InflowWind; 2=external from OpenFOAM}
          2   CompAero        - Compute aerodynamic loads (switch) {0=None; 1=AeroDyn v14; 2=AeroDyn v15}
          1   CompServo       - Compute control and electrical-drive dynamics (switch) {0=None; 1=ServoDyn}
          0   CompHydro       - Compute hydrodynamic loads (switch) {0=None; 1=HydroDyn}
          0   CompSub         - Compute sub-structural dynamics (switch) {0=None; 1=SubDyn}
          0   CompMooring     - Compute mooring system (switch) {0=None; 1=MAP++; 2=FEAMooring; 3=MoorDyn; 4=OrcaFlex}
          0   CompIce         - Compute ice loads (switch) {0=None; 1=IceFloe; 2=IceDyn}
---------------------- INPUT FILES ---------------------------------------------
"DOWEC_6MW_ElastoDyn_land-based_Test3a.dat"    EDFile          - Name of file containing ElastoDyn input parameters (quoted string)
"unused"      BDBldFile(1)    - Name of file containing BeamDyn input parameters for blade 1 (quoted string)
"unused"      BDBldFile(2)    - Name of file containing BeamDyn input parameters for blade 2 (quoted string)
"unused"      BDBldFile(3)    - Name of file containing BeamDyn input parameters for blade 3 (quoted string)
"6MW_InflowWind_12_1mps_SteadyNoshear.dat"    InflowFile      - Name of file containing inflow wind input parameters (quoted string)
"AeroDyn15.dat"    AeroFile        - Name of file containing aerodynamic input parameters (quoted string)
"ServoDyn.dat"    ServoFile       - Name of file containing control and electrical-drive input parameters (quoted string)
"unused"      HydroFile       - Name of file containing hydrodynamic input parameters (quoted string)
"unused"      SubFile         - Name of file containing sub-structural input parameters (quoted string)
"unused"      MooringFile     - Name of file containing mooring system input parameters (quoted string)
"unused"      IceFile         - Name of file containing ice input parameters (quoted string)
---------------------- OUTPUT --------------------------------------------------
True          SumPrint        - Print summary data to "<RootName>.sum" (flag)
          5   SttsTime        - Amount of time between screen status messages (s)
      99999   ChkptTime       - Amount of time between creating checkpoint files for potential restart (s)
"default"     DT_Out          - Time step for tabular output (s) (or "default")
          0   TStart          - Time to begin tabular output (s)
          3   OutFileFmt      - Format for tabular (time-marching) output file (switch) {1: text file [<RootName>.out], 2: binary file [<RootName>.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)
---------------------- LINEARIZATION -------------------------------------------
False         Linearize       - Linearization analysis (flag)
          2   NLinTimes       - Number of times to linearize (-) [>=1] [unused if Linearize=False]
         30,         60    LinTimes        - List of times at which to linearize (s) [1 to NLinTimes] [unused if Linearize=False]
          1   LinInputs       - Inputs included in linearization (switch) {0=none; 1=standard; 2=all module inputs (debug)} [unused if Linearize=False]
          1   LinOutputs      - Outputs included in linearization (switch) {0=none; 1=from OutList(s); 2=all module outputs (debug)} [unused if Linearize=False]
False         LinOutJac       - Include full Jacobians in linearization output (for debug) (flag) [unused if Linearize=False; used only if LinInputs=LinOutputs=2]
False         LinOutMod       - Write module-level linearization output files in addition to output for full system? (flag) [unused if Linearize=False]
---------------------- VISUALIZATION ------------------------------------------
          0   WrVTK           - VTK visualization data output: (switch) {0=none; 1=initialization data only; 2=animation}
          1   VTK_type        - Type of VTK visualization data: (switch) {1=surfaces; 2=basic meshes (lines/points); 3=all meshes (debug)} [unused if WrVTK=0]
true          VTK_fields      - Write mesh fields to VTK data files? (flag) {true/false} [unused if WrVTK=0]
         15   VTK_fps         - Frame rate for VTK output (frames per second){will use closest integer multiple of DT} [used only if WrVTK=2]

Jason.Jonkman
Posts: 4623
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Invalid numerical input for file

Postby Jason.Jonkman » Tue Oct 23, 2018 10:34 am

Dear Daniel,

From your error message, my guess is your AeroDyn primary input file is formatted improperly. As with any input file format problem, I suggest that you use the Echo option from the primary AeroDyn input file to debug errors in the input-file processing.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Daniel.Walia
Posts: 19
Joined: Thu Dec 15, 2016 7:56 am
Organization: University of Rostock
Location: Germany

Re: Invalid numerical input for file

Postby Daniel.Walia » Fri Oct 26, 2018 7:21 am

Dear Jason,

thank you for your reply. I have tried different configurations with the Aerodyn-files I have gotten from Paul (who is out of office for a while) and applied the changes he suggested me to incorporate to make the Aerodyn-files working with OpenFAST. It seems that I have overlooked something because still I am experiencing that error, that OpenFAST is expecting different values than found in the Aerodyn file. Thus, I have to dig deeper to find the error. I will give feedback after finding it.

Best regards,
Daniel

Daniel.Walia
Posts: 19
Joined: Thu Dec 15, 2016 7:56 am
Organization: University of Rostock
Location: Germany

Re: Invalid numerical input for file

Postby Daniel.Walia » Mon Oct 29, 2018 7:49 am

Dear Jason,

I have found a number of errors (specific lines missing) in AD input file, as there have even more lines been added within the latest AD update. E.g the lines

Code: Select all

======  Dynamic Blade-Element/Momentum Theory Options  ============================================== [used only when WakeMod=2]
          2   DBEMT_Mod          - Type of dynamic BEMT (DBEMT) model {1=constant tau1, 2=time-dependent tau1} (-) [used only when WakeMod=2]
          4   tau1_const         - Time constant for DBEMT (s) [used only when WakeMod=2 and DBEMT_Mod=1]

Were not there in former AD input file versions. Thus, even when WakeMod=1, AD was looking for these lines.

Best regards,
Daniel

Jason.Jonkman
Posts: 4623
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Invalid numerical input for file

Postby Jason.Jonkman » Mon Oct 29, 2018 10:12 am

Dear Daniel,

Yes, these lines where added with the inclusion of dynamic BEMT (DBEMT) in OpenFAST v2.0.0.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Natalia.Claros
Posts: 3
Joined: Thu Nov 29, 2018 6:47 am
Organization: TU Berlin
Location: Germany

Re: Invalid numerical input for file

Postby Natalia.Claros » Thu Nov 29, 2018 7:15 am

Dear Jason,

when/where can I download OpenFAST v2.0.0? I'm trying to run test 26 of the 5MW baseline turbine, but I get also this message:

FAST_InitializeAll:AD_Init:ReadInputFiles:ReadPrimaryFile:Invalid logical input for file
".\5MW_Baseline/NRELOffshrBsline5MW_Onshore_AeroDyn15.dat" occurred while trying to read
CavitCheck.


I'm not sure where does the CavitCheck parameter go on the AeroDyn15 input file.

Many thanks in advance!

Greetings,

Natalia

Jason.Jonkman
Posts: 4623
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Invalid numerical input for file

Postby Jason.Jonkman » Thu Nov 29, 2018 12:56 pm

Dear Natalia,

OpenFAST v2.0.0 is available here: https://github.com/OpenFAST/openfast/releases.

CavitCheck should be on line 12 of the primary AeroDyn v15 input file. But as with any input file format problem, I suggest that you use the Echo option from the input file to debug errors in the input-file processing.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Mustafa.Vardaroglu
Posts: 19
Joined: Sat Jan 06, 2018 11:45 am
Organization: University of Campania
Location: Italy

Re: Invalid numerical input for file

Postby Mustafa.Vardaroglu » Thu Feb 07, 2019 8:09 am

Dear All,

This is my first message to the community. It's good to be here.

I'm just simply trying to execute onshore wind turbine certification test, which is already available with the "Test18.fst" file under Certest directory of FAST. I'm not compiling.
I'm trying to understand the NRELOffshrBsline5MW_InflowWind_12mps.dat file. I'm able to execute analyses successfully under steady wind condition (WindType=1), turbulent wind condition- by using bts input file -(WindType=3).
Fatal Error occurs under uniform wind conditions (WindType=2). Error message is:

"
Running InflowWind (v3.03.00, 26-Jul-2016).
Opening InflowWind input file: .\5MW_Baseline/NRELOffshrBsline5MW_InflowWind_12mps.dat

FAST_InitializeAll: IfW_Init:IfW_UniformWind_Init:Error: 1 comment lines were found in the
uniform wind file, but the first data line does not contain the proper format.

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

Aborting FAST.
"

I haven't changed anything in the source file coming from zipped FAST folder. "Filename of time series data for uniform wind field" is "Wind/90m_12mps_twr.bts".

For now I think that the problem arises from the .bts file which is for Turbsim _ AeroDyn analyses. At that moment, do I need a uniform wind file with .hh extension? I have checked the FAST directory but can not see an .hh file.

Do you have any idea?
Sincerely,

Mustafa

Jason.Jonkman
Posts: 4623
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Invalid numerical input for file

Postby Jason.Jonkman » Thu Feb 07, 2019 8:25 am

Dear Mustafa,

WindType=2 in the InflowWind module of FAST v8 and OpenFAST requires a simple text-based wind data file. Please see my post dated Mar 05, 2014 in the following forum topic where I provide an example of a uniform wind file with wind-speed steps: viewtopic.php?f=4&t=908&p=4229. Please note that what were formerly called AeroDyn "hub-height" wind files are called "uniform wind files" in the InflowWind module of FAST v8 and OpenFAST.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Mustafa.Vardaroglu
Posts: 19
Joined: Sat Jan 06, 2018 11:45 am
Organization: University of Campania
Location: Italy

Re: Invalid numerical input for file

Postby Mustafa.Vardaroglu » Thu Feb 07, 2019 8:51 am

Jason.Jonkman wrote:Dear Mustafa,

WindType=2 in the InflowWind module of FAST v8 and OpenFAST requires a simple text-based wind data file. Please see my post dated Mar 05, 2014 in the following forum topic where I provide an example of a uniform wind file with wind-speed steps: viewtopic.php?f=4&t=908&p=4229. Please note that what were formerly called AeroDyn "hub-height" wind files are called "uniform wind files" in the InflowWind module of FAST v8 and OpenFAST.

Best regards,


Dear Jason,

This solution is also clear in the InflowWind Manual. I appreciate for your help.

Sincerely,

Mustafa


Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: No registered users and 1 guest