Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions modules/hydrodyn/src/HydroDyn.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,7 @@ SUBROUTINE HydroDyn_Init( InitInp, u, p, x, xd, z, OtherState, y, m, Interval, I
CALL SetErrStat(ErrStat2,ErrMsg2,ErrStat,ErrMsg,RoutineName)

do iBody = 1, p%NBody
theta = (/ 0.0_R8Ki, 0.0_R8Ki, InputFileData%PtfmRefztRot(iBody)/)
theta = (/ 0.0_R8Ki, 0.0_R8Ki, 0.0_R8Ki /)
orientation = EulerConstruct(theta)

CALL MeshPositionNode (u%WAMITMesh &
Expand Down Expand Up @@ -1613,7 +1613,6 @@ SUBROUTINE HydroDyn_Init( InitInp, u, p, x, xd, z, OtherState, y, m, Interval, I
RETURN
END IF


! Output mesh for loads at each WAMIT body
CALL MeshCopy ( SrcMesh = u%WAMITMesh &
,DestMesh = y%WAMITMesh &
Expand Down
2 changes: 1 addition & 1 deletion modules/hydrodyn/src/WAMIT.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ SUBROUTINE WAMIT_Init( InitInp, u, p, x, xd, z, OtherState, y, m, Interval, Init

do iBody = 1, p%NBody

theta = (/ 0.0_R8Ki, 0.0_R8Ki, InitInp%PtfmRefztRot(iBody)/)
theta = (/ 0.0_R8Ki, 0.0_R8Ki, 0.0_R8Ki /)
orientation = EulerConstruct(theta)


Expand Down
2 changes: 1 addition & 1 deletion modules/hydrodyn/src/WAMIT2.f90
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ SUBROUTINE WAMIT2_Init( InitInp, u, p, x, xd, z, OtherState, y, m, Interval, Ini
DO IBody = 1,p%NBody

! Set orientation and position for each body in mesh
theta = (/ 0.0_R8Ki, 0.0_R8Ki, InitInp%PtfmRefztRot(IBody)/) ! angle in radians
theta = (/ 0.0_R8Ki, 0.0_R8Ki, 0.0_R8Ki /)
orientation = EulerConstruct(theta)
XYZloc = (/InitInp%PtfmRefxt(IBody), InitInp%PtfmRefyt(IBody), InitInp%PtfmRefzt(IBody)/)

Expand Down