Skip to content

Commit ef8544b

Browse files
committed
[BugFix] AD driver: hub acceleration value incorrect in RotMotionType==1
1 parent 8acb31d commit ef8544b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/aerodyn/src/AeroDyn_Driver_Subs.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ subroutine Set_Mesh_Motion(nt, dvr, ADI, FED, errStat, errMsg)
820820
call interpTimeValue(wt%hub%motion, time, wt%hub%iMotion, hubMotion)
821821
!print*,hubMotion
822822
wt%hub%rotSpeed = hubMotion(2)
823-
wt%hub%rotAcc = hubMotion(2)
823+
wt%hub%rotAcc = hubMotion(3)
824824
wt%hub%azimuth = MODULO(hubMotion(1)*R2D, 360.0_ReKi )
825825
else if (wt%hub%motionType == idHubMotionUserFunction) then
826826
! We call a user-defined function to determined the azimuth, speed (and potentially acceleration...)

0 commit comments

Comments
 (0)