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
656 stars 447 forks source link

The VTK file can't be created when considering the difference-frequency 2nd-order wave kinematics? #1809

Closed Steven647 closed 9 months ago

Steven647 commented 9 months ago

Discussed in https://github.com/OpenFAST/openfast/discussions/1808

Originally posted by **Steven647** October 14, 2023 Dear All, When I was running IEA 15MW Umiane semi-submersible model with OpenFAST, the **WrVTK** in **IEA-15-240-RWT-UMaineSemi.fst** is switched to **2** and **VTK_type** to **1** , and then the following problem occured: OpenFAST-v3.5.0 Compile Info: -Compiler: Intel(R) Fortran Compiler 2021 -Architecture: 64 bit -Precision: single -OpenMP: No -Date: May 17 2023 -Time: 13:43:33 -Execution Info: -Date: 10/14/2023 -Time: 13:34:18+0800 OpenFAST input file heading: IEA 15 MW offshore reference model on UMaine VolturnUS-S semi-submersible floating platform Running ElastoDyn. Running AeroDyn. Running InflowWind. Running HydroDyn. WaveTMax is less then the simulation time. Wave data will repeat every WaveTMax seconds. Generating incident wave kinematics and current time history. Calculating second order difference frequency wave kinematics. FAST_InitializeAll:FAST_Init:FAST_ReadPrimaryFile:1/VTK_fps is not an integer multiple of DT. FAST will output VTK information at 13.333 fps, the closest rate possible. FAST_InitializeAll:HydroDyn_Init: WaveElevSeries arrays for first and second order wave elevations are of different sizes. OpenFAST encountered an error during module initialization. Simulation error level: FATAL ERROR Aborting OpenFAST. If the **WvDiffQTF** in **IEA-15-240-RWT-UMaineSemi_HydroDyn.dat** is setted to FALSE, the problem will disappear. How to solve the above problems? Looking forward to your answers!
andrew-platt commented 9 months ago

This has been fixed in the 3.5.1 branch and will be included in the next release. See pull request #1621 for the fix. You may either apply this fix directly to your code, compile the rc-3.5.1 branch, or wait for the next release.

andrew-platt commented 9 months ago

Duplicate of issue #1484