OpenFAST / r-test

Apache License 2.0
50 stars 86 forks source link

Aerodynamic calculation using AeroDyn standalone #90

Closed hefe2345 closed 1 month ago

hefe2345 commented 1 year ago

I am trying to perform the aerodynamic calculation for the wind turbine blade. I use AeroDyn standalone to perform the analysis. While giving the input, I got the error "error reading NumAlf". Is it necessary to have an equal number of data lines for the aerodynamic coefficient table and aerofoil data file(I consider the NREL input dataset for calculation with 400 lines of airfoil data and 146 lines of aerodynamic coefficient data)? Any suggestions you can give me will be constructive.

jjonkman commented 1 year ago

Dear @hefe2345,

I'm not sure I fully understand your question (are you asking if the number of lines in the airfoil coefficients table in separate airfoil data files must be the same?). Regardless, it sounds like your specific issue is related to the format of you airfoil data file. As with any input file formatting problem, I suggest enabling the Echo option to debug.

Best regards,

hefe2345 commented 1 year ago

Dear jjonkman, I tried both cases (separate aerofoil data files and together in the same file), and I got a different error in both cases. While using an additional file, the error was in NumTabs, and the later case was in NumAlf. Screenshots of both cases are attached. NumTabs error NumAlf error Echo is also True in both case. Thank you

ebranlard commented 1 year ago

Hi @hefe2345 I think you are running into an issue where your input files are not at the same version of your executable (the version of the executable is displayed in the terminal).

One way to make sure of that is to go to a given folder in the r-test, and select a given tag (same dropdown menu as for selecting branches), here's an example of file for the tag/version 3.4.1: https://github.com/OpenFAST/r-test/blob/v3.4.1/modules/aerodyn/ad_BAR_SineMotion/OpenFAST_BAR_00_AeroDyn15.dat

In your case, it seems you are running a very old version of AeroDyn driver. You'll have to compile a new version from scratch. See: https://openfast.readthedocs.io/en/dev/source/install/index.html#compile-from-source On Windows, the easiest is to install intel one API, and Visual Studio, and then compile using the visual studio solution for the aerodyn driver.

I hope that helps!