Skip to content
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

AeroDyn14 removal #2267

Merged
merged 24 commits into from
Jul 15, 2024
Merged

Conversation

andrew-platt
Copy link
Collaborator

@andrew-platt andrew-platt commented Jun 12, 2024

This PR is not ready for merging (regression tests must be dealt with first). This PR supercedes #1429 (that PR sat for too long).

Feature or improvement description
The AeroDyn14 module was a carry-over from FAST v7 to FAST v8 as a stop-gap while AeroDyn15 was under development. As such AeroDyn14 was never converted to the FAST Modular Framework; this created many code workarounds in ElastoDyn and in the openfast-library to get it to work. At this point AeroDyn15 is far more comprehensive than AeroDyn14 so very few users ever use it. Therefore the plan for many years has been to remove it entirely, and now we finally got around to it.

Also includes minor fixes for AD15 input files:

  • Updated all AD15 input files to include the UA_Mod comments instead of the deprecated AFAeroMod comments
  • Updated all AD15 input files to include all lines (some lines are optional)

Related issue, if one exists
#527 -- bug with AD14 tower
#93 -- deprecating AD14
OpenFAST/r-test#43

Impacted areas of the software
There are some significant improvements to the glue code and ElastoDyn with the removal of AD14.

Additional supporting information
The regression tests that previously used AeroDyn14 have been updated to AeroDyn15, but have not been tuned correctly for the DBEMT parameters (in particular the Tau time constants). Some of these cases also show instabilities and had been turned off as a result. We need to decide which cases we will simply remove, and which we will keep.

Test results, if applicable
Regression tests with AD14 converted to AD15.

@andrew-platt andrew-platt added this to the v4.0.0 milestone Jun 12, 2024
@andrew-platt andrew-platt self-assigned this Jun 12, 2024
@andrew-platt andrew-platt marked this pull request as draft June 12, 2024 18:37
@andrew-platt andrew-platt mentioned this pull request Jun 12, 2024
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from 1feed86 to f261880 Compare June 12, 2024 20:58
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from d0fc943 to f445989 Compare June 24, 2024 20:10
Logic error preventing this from getting written out
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from 7260550 to 18128f8 Compare June 24, 2024 20:26
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from 13c6688 to 4cae989 Compare July 2, 2024 21:23
- update docs to not mention AD14
- update error handling in parsing .fst files
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from 4cae989 to 1da2488 Compare July 2, 2024 21:31
Cases affected:
- 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth
   - SD bugfixes changed loads slightly
- hd_5MW_ITIBarge_DLL_WTurb_WavesIrr (Failed)
   - Time series were shortened, so wave time series are different
- hd_5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth
   - Different grid than in prior runs.
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from fb33bdd to 605bd42 Compare July 8, 2024 19:12
@andrew-platt andrew-platt marked this pull request as ready for review July 8, 2024 19:18
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from ff6a1fa to 605bd42 Compare July 9, 2024 20:01
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from 58ef339 to a12d9d3 Compare July 10, 2024 16:04
NOTE: the FileInfo parsing compares names.  This presents issues if the name is set to `BldFlDmp1` instead of `BldFlDmp(1)` -- this is the behaviour of RotorSE from WEIS.  To get around this, we are not checking the names for some of the inputs.
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from f874d45 to a207106 Compare July 10, 2024 17:53
@andrew-platt
Copy link
Collaborator Author

This PR also removes PitchAxis input column from the ED blade file (backwards compatible with older format).

Remove bad driver cases (non-physical), and shorten a test
@andrew-platt andrew-platt force-pushed the f/AD14remove_attempt2 branch from aebac8e to e8c7987 Compare July 15, 2024 16:58
@andrew-platt andrew-platt merged commit 521d880 into OpenFAST:dev Jul 15, 2024
21 checks passed
@andrew-platt andrew-platt deleted the f/AD14remove_attempt2 branch July 16, 2024 16:22
andrew-platt added a commit to andrew-platt/openfast that referenced this pull request Jul 16, 2024
andrew-platt added a commit that referenced this pull request Jul 16, 2024
bjonkman added a commit to bjonkman/openfast that referenced this pull request Aug 16, 2024
Compare with OpenFAST#2267

The summary file stated AeroDyn had unknown version and date instead of leaving that blank. I think the issue was that the original code on the AD14 removal had the `ELSEIF` indented improperly so the ELSE section was removed with the AD14 section.
@andrew-platt andrew-platt mentioned this pull request Dec 24, 2024
38 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant