-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I encountered the following problems in the process of learning to use TurbineFASTLine. Is this due to the version of TurbineFastline #1088
Comments
In order to use TurbineFastLine, you need to compile with the OpenFAST flag on. If you're compiling from source, this can be done with the following commands: cd path/to/amr-wind/source/code mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/PATH/TO/DESIRED/INSTALL/LOCATION -DAMR_WIND_ENABLE_OPENFAST=ON -DOpenFAST_DIR=PATH/TO/OPENFAST/INSTALL/DIRECTORY/lib/cmake/OpenFAST -DAMR_WIND_ENABLE_MPI=ON make make install You can turn the MPI flag off if you want. But as I recently learned, you need it on if you'll be running more than one turbine. |
Thank you very much for your reply, I have solved the above problem, but it still ends abnormally. Is it due to NetCDF not compiling correctly, although I thought I took this part into account during the compilation process OpenFAST input file heading: Running ElastoDyn.
|
NetCDF might be the problem. I think the sampling feature might choose the netcdf format by default. . What if you comment out all your sampling lines from the input files? Does it work then? |
Have you been able to follow the above suggestion and are you still facing this problem? |
Closing as the suggested fix was given and appears to have worked for this issue. There appears to be a build problem in not enabling netcdf. Please reopen if this is still an issue. |
I encountered the following problems in the process of learning to use TurbineFASTLine. Is this due to the version of TurbineFastline
AMR-Wind version :: v2.1.0-18-gf43b0713
AMR-Wind Git SHA :: f43b071
AMReX version :: 24.05-20-g5d02c6480a0d
Exec. time :: Mon Jun 3 20:06:01 2024
Build time :: Jun 3 2024 01:13:25
C++ compiler :: GNU 11.4.0
MPI :: OFF
GPU :: OFF
OpenMP :: OFF
No additional third-party libraries enabled
See https://github.com/Exawind/amr-wind/blob/development/LICENSE for details.
Initializing AMReX (24.05-20-g5d02c6480a0d)...
AMReX (24.05-20-g5d02c6480a0d) initialized
Initializing AMR-Wind ...
Initializing boundary conditions for velocity_mueff
Initializing boundary conditions for velocity
Initializing boundary conditions for density
Initializing boundary conditions for p
Initializing boundary conditions for velocity_src_term
Initializing boundary conditions for gp
Creating PDESystem instance: ICNS-Godunov
Creating Physics instance: FreeStream
Creating Physics instance: Actuator
Creating TurbulenceModel instance: Laminar-ConstTransport
Creating RefinementCriteria instance: GeometryRefinement
(-200 -200 -200)
(200 -200 -200)
(200 200 -200)
(-200 200 -200)
(-200 -200 200)
(200 -200 200)
(200 200 200)
(-200 200 200)
Creating GeometryType instance: box
Creating PostProcessBase instance: Sampling
Initializing I/O manager
Creating UDF instance: ConstValue
Creating UDF instance: ConstValue
ActuatorModel 4
terminate called after throwing an instance of 'std::runtime_error'
what(): In ActuatorModel cannot find instance: TurbineFastLine
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
mpirun noticed that process rank 0 with PID 0 on node DESKTOP-KJ7DS8K exited on signal 6 (Aborted).
The text was updated successfully, but these errors were encountered: