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
690 stars 457 forks source link

Run FAST.Farm on windows. #2241

Open CaiZhiming-HHU opened 5 months ago

CaiZhiming-HHU commented 5 months ago

Dear all, When I run the IEA-15MW-Semi case on windows using FAST.Farm (compiled and installed using MinGW), it always terminating the process after "Running WakeDynamics." without any error messages and without generating any files. OpenFAST is working fine, I don't know what's going on, and I'd appreciate any advice.

CMD display when running FAST.Farm👇 image CMD display when running OpenFAST👇 image @NRELAdmin @jjonkman @bjonkman

andrew-platt commented 5 months ago

Which version are you running?

CaiZhiming-HHU commented 5 months ago

Which version are you running?

Is openfast-3.5.3.

jjonkman commented 5 months ago

Dear @CaiZhiming-HHU,

Do you have any any issues running the precompiled version of FAST.Farm for Windows as provided with the release of OpenFAST v3.5.3?

Best regards,

CaiZhiming-HHU commented 5 months ago

Dear @CaiZhiming-HHU,

Do you have any any issues running the precompiled version of FAST.Farm for Windows as provided with the release of OpenFAST v3.5.3?

Best regards,

image This is what I encountered when I ran the precompiled version of FAST.Farm for Windows as provided with the release of OpenFAST v3.5.3. This problem only occurs when the IEA-15MW-Semi case calculation is run, and the NREL-5MW TSinflow case calculation behaves normally.

jjonkman commented 5 months ago

Dear @CaiZhiming-HHU,

The FAST.Farm TSinflow r-test uses OpenFAST models of the NREL 5-MW baseline wind turbine. Did you change this r-test to use OpenFAST models of the IEA Wind 15-MW RWT atop the VolturnUS semisubmersible? Can you share your updated FAST.Farm primary input (.fstf) file?

Best regards,

CaiZhiming-HHU commented 5 months ago

IEA Wind 15-MW RWT atop the VolturnUS semisubmersible

I added the configuration files required by FAST.Farm (including the main input file .fstf) to the OpenFAST test case of https://github.com/IEAWindTask37/IEA-15-240-RWT/tree/master/OpenFAST/IEA-15-240-RWT-UMaineSemi. So the FAST.Farm test case of "IEA Wind 15-MW RWT atop the VolturnUS semisubmersible" is constructed. In fact, I compiled and installed openfast-3.5.3 on a CentOS 7 system using gcc-11.1.0, and successfully run the FAST.Farm test case of "IEA Wind 15-MW RWT atop the VolturnUS semisubmersible" adapted by me. But I was not satisfied with this, I wanted to successfully run this FAST.Farm test case on the Windows system, so I went through a series of attempts, and finally failed. As you can see, first I used the precompiled FAST.Farm binary with stack overflow error, then I used MinGW (based on gcc-12.2.0) to compile and install openfast-3.5.3. The installation was successful, but when I executed the FAST.Farm command, it always terminating the process after "Running WakeDynamics." without any error messages and without generating any files. This is my FAST.Farm primary input (.fstf) file👇 fstf This is a visualization file that I processed after running it on a CentOS 7 system👇 15MW Of course, I know that ROSCO requires different controllers (.so/.dll) in two different operating systems, and I take that into account. In addition, I also tried to use MinGW (gcc-11.1.0), MinGW (gcc-13.2.0) and MinGW (gcc-10.2.0) to compile and install openfast-3.5.3 on Windows, the results are the same, the installation process is smooth, but When I run the IEA-15MW-Semi case on windows using FAST.Farm, it always terminating the process after "Running WakeDynamics." without any error messages and without generating any files.