Skip to content

AD: add new projection method and BEM methods #1283

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

Merged
merged 21 commits into from
Oct 20, 2022

Conversation

ebranlard
Copy link
Contributor

@ebranlard ebranlard commented Oct 11, 2022

This pull request is ready to be merged. It has been reviewed by @bjonkman.

Feature or improvement description
To help the development of new BEM algorithms, with different projection methods and implementations, some flags are introduced to the AeroDyn code. The flags are currently "hidden" to the user, as we need more time to decide on the implementation, document it, and add tests. In the long term, this version should have limited code differences with Envision's version.

Impacted areas of the software
AeroDyn

Additional supporting information
Two main toggles are introduced

  • “AeroProjMod” to distinguish between the different coordinate system used:
    o APM_BEM_NoSweepPitchTwist=1 "Original AeroDyn model where momentum balance is done in the WithoutSweepPitchTwist system"
    o APM_BEM_Polar=2 "Use staggered polar grid for momentum balance in each annulus"
    o APM_LiftingLine=3 "Use the blade lifting line (i.e. the structural) orientation (currently for OLAF with VAWT)"
  • “BEM_Mod” to switch between different BEM implementations:
    o BEMMod_2D=0 "2D BEM assuming Cx, Cy, phi, L, D are in the same plane"
    o BEMMod_3D=2 "3D BEM assuming a momentum balance system, and an airfoil system"

The BEM time integration now uses the standard "utimes" vector instead of indices 1 and 2 which were hardcoded.

The coordinate system "withoutSweepPitchTwist" is now renamed orientationAnnulus, and of type R8Ki.

Test results, if applicable
Test should match.

Checklist

ebranlard and others added 19 commits September 27, 2022 18:35
Updated cmake tests with new location... as well as added the file to the Visual Studio project files.
Planning to remove this from EF, so I don't think there's a reason to keep it here.
Also use BEMMod_2D instead of hard-coded 0 in call to `getHubTipLossCorrection`
local `BEMT_Mod` is now `BEM_Mod`; also use `BEMMod_2D` parameter instead of hard-coded `0`
Minor updates for AD new projection branch.
@ebranlard
Copy link
Contributor Author

Hi @bjonkman

These outputs are indeed a bit confusing with the different coordinate systems. Thank you for this careful review!

@ebranlard ebranlard merged commit 70635c5 into OpenFAST:dev Oct 20, 2022
@ebranlard ebranlard deleted the f/ad-newproj branch October 20, 2022 21:12
@rafmudaf rafmudaf mentioned this pull request Oct 27, 2022
10 tasks
@andrew-platt andrew-platt mentioned this pull request Dec 19, 2022
10 tasks
@bjonkman bjonkman mentioned this pull request May 11, 2023
@jjonkman jjonkman mentioned this pull request Mar 15, 2024
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.

2 participants