Skip to content

Commit

Permalink
Incorrect initial value for BoxExceedAllowIdx
Browse files Browse the repository at this point in the history
This was introduced in PR OpenFAST#2518.  The result was that anytime the driver was used with OLAF, all points were allowed outside the box, not just the wake as intended.
  • Loading branch information
andrew-platt committed Nov 22, 2024
1 parent 9344e3d commit 571413d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/aerodyn/src/AeroDyn_Inflow.f90
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ subroutine ADI_InitInflowWind(Root, i_IW, u_AD, o_AD, IW, dt, InitOutData, errSt
! Box exceed allow for OLAF poitns
if (allocated(o_AD%WakeLocationPoints)) then
InitInData%BoxExceedAllowF = .true.
InitInData%BoxExceedAllowIdx = min(InitInData%BoxExceedAllowIdx, AD_BoxExceedPointsIdx(u_AD, o_AD))
InitInData%BoxExceedAllowIdx = min(huge(1_IntKi), AD_BoxExceedPointsIdx(u_AD, o_AD))
endif
if (.not. i_IW%UseInputFile) then
call NWTC_Library_Copyfileinfotype( i_IW%PassedFileData, InitInData%PassedFileData, MESH_NEWCOPY, errStat2, errMsg2 ); if (Failed()) return
Expand Down

0 comments on commit 571413d

Please sign in to comment.