Skip to content

Commit

Permalink
Merge pull request #2559 from ebranlard/f/bemmod2-proj
Browse files Browse the repository at this point in the history
Bug Fix: AD: projection method should now depend on BEM_Mod
  • Loading branch information
andrew-platt authored Dec 16, 2024
2 parents 3dbbf56 + b7f3f09 commit b996397
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/aerodyn/src/AeroDyn.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3154,7 +3154,7 @@ subroutine SetInputsForBEMT(p, p_AD, u, RotInflow, m, indx, errStat, errMsg)
!..........................
! Set main geometry parameters (orientatioAnnulus, Twist, Toe, Cant, rLocal)
!..........................
! TODO (EB): For harmonization between BEM and OLAF we should always compute R_li, r_Local, Twist, Toe, Cant
! TODO (EB): For harmonization between BEM and OLAF we should always compute R_li, r_Local, Twist, Toe, Cant, drdz
! BEM would then switch below between an "orientationMomentum", either Annulus (R_li) or NoPitchSweepPitch (R_wi)
if (p%AeroProjMod==APM_BEM_NoSweepPitchTwist .or. p%AeroProjMod==APM_LiftingLine) then

Expand Down
2 changes: 1 addition & 1 deletion modules/openfast-library/src/FAST_Subs.f90
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ SUBROUTINE FAST_InitializeAll( t_initial, p_FAST, y_FAST, m_FAST, ED, SED, BD, S
endif

! Note: not passing tailfin position and orientation at init
Init%InData_AD%rotors(1)%AeroProjMod = APM_BEM_NoSweepPitchTwist
Init%InData_AD%rotors(1)%AeroProjMod = -1 ! -1 means AeroDyn will decide based on BEM_Mod

! Set pointers to flowfield
IF (p_FAST%CompInflow == Module_IfW) Init%InData_AD%FlowField => Init%OutData_IfW%FlowField
Expand Down

0 comments on commit b996397

Please sign in to comment.