-
Notifications
You must be signed in to change notification settings - Fork 83
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
An error occurred during the precursor restart coupling with openfast #1394
Comments
|
Yes, it looks like this is because amr-wind was not compiled with NetCDF. The ascii output abl_statistics14400.txt does have information that can be used to prepare the inflow-outflow simulation (with the turbines), but because it is in a different format, the script we provide (calc_inflowoutflow_stats.py) won't be able to process it. When amr-wind is installed with NetCDF, it becomes the default format for abl_statistics output. You correctly turned it on with the line ABL.stats_output_format = netcdf, but because amr-wind was not compiled with NetCDF, the code will not be able to proceed. To compile AMR-Wind with NetCDF, the cmake variable AMR_WIND_ENABLE_NETCDF needs to be turned on. Here is the cmake reference link if you are using cmake directly. https://exawind.github.io/amr-wind/user/build.html#cmakeval-AMR_WIND_ENABLE_NETCDF . If you are using exawind-manager, the easiest way to add netcdf is to change the specs of your build environment. You can do that by modifying the spack.yaml file or by the spack rm/add commands. I'll explain the latter approach. Looking at the spack.yaml file within your build directory, there should be a line under |
Thank you for your sincere reply. I have tried to download netCDF using cmake but it has been unsuccessful. I will continue to try again in the next two days. Also, if I want to simulate a floating offshore wind turbine, which other modules should I open? AMR_WIND-INABLE-OPENFAST or AMR_WIND-INABLE-W2A? |
When I am surfacing the examples in the user manual.
This prevents me from doing the rest of the calculations, which part of me is the problem?
The text was updated successfully, but these errors were encountered: