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
672 stars 454 forks source link

Bug report - IfW_BladedWindFFWind.f90 #562

Open timhagemann opened 3 years ago

timhagemann commented 3 years ago

Bug description I get the following error, when running simulations in about 30° yawed inflow simulations:

forrtl: severe (408): fort: (10): Subscript #4 of the array FFDATA has value 36680 which is greater than the upper bound of 36679

Image              PC                Routine            Line        Source
openfast_x64_Debu  00007FF79AD42831  Unknown               Unknown  Unknown
openfast_x64_Debu  00007FF799EBA3ED  IFW_BLADEDFFWIND_        1886  IfW_BladedFFWind.f90
openfast_x64_Debu  00007FF799EB6353  IFW_BLADEDFFWIND_        1611  IfW_BladedFFWind.f90
openfast_x64_Debu  00007FF799E7AF49  INFLOWWIND_SUBS_m        1905  InflowWind_Subs.f90
openfast_x64_Debu  00007FF797245128  INFLOWWIND_mp_INF         830  InflowWind.f90
openfast_x64_Debu  00007FF797642AD1  FAST_SOLVER_mp_SO        5000  FAST_Solver.f90
openfast_x64_Debu  00007FF79764993D  FAST_SOLVER_mp_FA        5269  FAST_Solver.f90
openfast_x64_Debu  00007FF796A9C528  FAST_SUBS_mp_FAST        4391  FAST_Subs.f90
openfast_x64_Debu  00007FF796A9BD3C  FAST_SUBS_mp_FAST        4275  FAST_Subs.f90
openfast_x64_Debu  00007FF7969A2025  MAIN__                    143  FAST_Prog.f90
openfast_x64_Debu  00007FF79BCD2932  Unknown               Unknown  Unknown
openfast_x64_Debu  00007FF79C1BAF34  Unknown               Unknown  Unknown
openfast_x64_Debu  00007FF79C1BAE3E  Unknown               Unknown  Unknown
openfast_x64_Debu  00007FF79C1BACFE  Unknown               Unknown  Unknown
openfast_x64_Debu  00007FF79C1BAF49  Unknown               Unknown  Unknown
KERNEL32.DLL       00007FFC8D761412  Unknown               Unknown  Unknown
ntdll.dll          00007FFC8F2054F4  Unknown               Unknown  Unknown

I get the error both with YawDOF true&false. I can circumvent it with using slightly different initial conditions. The error is not wind speed dependend - on one mean wind speed, some turbulent seeds work, some don't. ED NacYaw = 30 deg SD YawNeut = 30 deg

To Reproduce

Steps to reproduce the behavior: 1. Compile with Visual Studio Professional 2015 and Intel Fortran Parallel Studio xe 2018 2. Run different seeds of turbulent simulations (Bladed-style wind fields, TurbSim 2.0) case with settings: ED NacYaw = 30 deg SD YawNeut = 30 deg 4. See the error **OpenFAST Version** ``` ************************************************************************************************** OpenFAST Copyright (C) 2020 National Renewable Energy Laboratory Copyright (C) 2020 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.4.0-dirty Compile Info: - Compiler: Intel(R) Fortran Compiler 1800 - Architecture: 64 bit - Precision: single - Date: Oct 07 2020 - Time: 14:15:29 Execution Info: - Date: 10/07/2020 - Time: 14:36:11+0200 OpenFAST input file heading: SG750 70m Wind Turbine Model properties from SG700MW006. Compatible with FAST OpenFAST Running ElastoDyn. Nodal outputs section of ElastoDyn input file not found or improperly formatted. Running AeroDyn. Nodal output section of AeroDyn input file not found or improperly formatted. Running BEM. Running InflowWind. Reading a 31x31 grid (62 m wide, 40.964 m to 102.96 m above ground) with a characteristic wind speed of 8 m/s. Processed 36678 time steps of 10-Hz full-field data (period of 3667.8 seconds). Running ServoDyn. Running ServoDyn Interface for Bladed Controllers. Using legacy Bladed DLL interface. ``` **System Information (please complete the following information):** - OS: Windows 10 - Compiler: Intel Parallel Studio XE 2018 - Compiler settings: default settings
bjonkman commented 3 years ago

I am hoping that https://github.com/OpenFAST/openfast/pull/578 fixed this issue. That update is in both dev and main branches. Could you check to see if it is still a problem?