-
Notifications
You must be signed in to change notification settings - Fork 91
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
wind turbine simulations failing in Nalu-wind #608
Comments
@tchatte3 The actuator disk/line model received a significant overhaul as part of our Q2 milestone work (see #550). I am wondering if this is causing some issues with your run. However, the older commit you provide is a bit too old. Did you arrive at that commit through |
Linking #537 to this issue. |
@sayerhs , we did not find the offending commit by |
@tchatte3 the issue seems to be that you've selected to output a field named |
@psakievich Looking at the commit history, I don't see anything that would have changed parsing/IO field checking. Also the output section can list fields that don't exist in the code, it will just print out a warning message in the log file, and doesn't segfault. Lines 2019 to 2030 in 454b575
|
Looking at @tchatte3 's log file that is indeed the case
So I don't think the error is caused because of that. |
@sayerhs, @psakievich , this is my old yaml, so yes it still contains the old |
Hi @tchatte3, I also tried your exact input file, again with a different FAST model and quickly changing some BC's and stuff, and it's at least able to reach iteration 1. (It fails later, but maybe because I don't have your exact setup.) Would you mind sharing your FAST input files and possibly your domain/other setup files? I can try running/debugging more on my end. Lawrence |
Sorry, I guess I didn't scroll down all the way when looking at the logfile. I thought it died on that line. Glad it doesn't 😁 |
Thanks @psakievich. For your reference, @tchatte3, I'm using OpenFAST version Lawrence |
@lawrenceccheung , @psakievich thanks for these feedbacks/inputs. I will go ahead and upgrade openFAST and see how it goes. |
@lawrenceccheung @psakievich, @sayerhs I tested the ADM model with the following code-builds.
and the openFAST version used is 1365da71 With these builds the code fails at exactly the same location where it was failing before. |
Hi @tchatte3, if you can upload the FAST files and maybe other setup files, I'll try running it on the build I have here. Lawrence |
This looks like it is an issue with openfast. @tchatte3 did your |
@tchatte3 If it is not possible to share the OpenFAST input files as @lawrenceccheung suggests, can you do a sanity check and run the regression tests with your build? IF they fail, that would help @lawrenceccheung and @psakievich start investigating. |
@sayerhs, @psakievich @lawrenceccheung I have uploaded the fst input file. Hope this will work. Aerodyn, Elastodyn input files are difficult to share as they contain proprietary information. Hope, the reference 5MW NREL turbine can serve as a benchmark openFAST module input files. d503c4e and a3fd9cc commits were tested with the same commit of openFAST which @lawrenceccheung suggested. @sayerhs I will test the regression tests with the current build as well. |
@sayerhs , @psakievich , @lawrenceccheung The regression test
fails at exactly the same way as previous with my builds of openFAST and Nalu-wind. My stacktrace
|
@tchatte3 Thanks, I was expecting this. So one more check... are you able to run the fast input deck with the standalone FAST Fortran executable and the C++ driver? |
Hi @tchatte3, So I tested the However, there is (at least) one vital change that happened to the Aerodyn files between the Nalu-Wind commits d503c4e and a3fd9cc. One thing I would check is that the AeroDyn15.dat you have contains the
And while we're at it, also check that the Basically @psakievich's refactor requires the updated OpenFAST, and the latest openFAST added the new parameter(s), so everything kind of needs to be updated. One more thing that could help debug is to look at where OpenFAST stops. In the
Telling you that there was a problem with Aerodyn. Otherwise, it moves onto BEM and UnsteadyAero, etc. Lawrence |
@lawrenceccheung @sayerhs Thanks for the headsup. Yes, my stdout does show that their is a problem with the Aerodyn. it stops at Aerodyn, just like you saw. Sure, I will take a look at the Aerodyn files. Will update it, accordingly. |
Thanks, @lawrenceccheung , by adding the line AFTabMod in Aerodyn v15 file I was able to run the regression test as well as my own case with 5MW NREL reference turbine example. This issue is resolved now. I am closing it. |
Hi @tchatte3, One more thing I forgot to mention. In your input file, you have density set to two different values. In the material properties, the reference density is set to 1.0 - user_constants:
reference_density: 1.
reference_temperature: 300.0
gravity: [0.0, 0.0, -9.81] but the input to OpenFAST is 1.225. Turbine0:
air_density: 1.225 Everything will run perfectly fine, but the output from OpenFAST will report higher forces/thrust and the turbine outputs will be off by a certain percentage. This issue has been brought up before -- ideally the code should link density better between openfast and nalu-wind, and avoid inconsistencies like this. But it's always good to check =). Lawrence |
@lawrenceccheung, thanks for the input. Indeed, as a workaround it would be better to shift to a python wrapper to write the entire .yaml file, taking minimal inputs from the user (as setup.yaml has been doing), so this redundancy checks can be avoided. |
Hi Nalu-wind team,
My wind turbine simulations are failing with this git-commit
The code fails with a segmentation fault. This only happens with actuator disc simulations, if I comment out the ADM part, the code works fine.
However, when I tried running the same code with an older version of nalu-wind it works fine. I tested my inputs on the following build
and it works fine.
Attached log and input yaml files for reference.
abl_simulation.log
abl_simulation.yaml.txt
The text was updated successfully, but these errors were encountered: