Skip to content

Commit

Permalink
Fix unboost drag coeff
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanDavies19 committed Oct 18, 2023
1 parent 458f40a commit c8a205d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/moordyn/src/MoorDyn.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2215,9 +2215,9 @@ SUBROUTINE MD_Init(InitInp, u, p, x, xd, z, other, y, m, DTcoupling, InitOut, Er
CALL MD_DestroyInput( u_array(1), ErrStat2, ErrMsg2 )

! UNboost drag coefficient of each line type <<<
DO I = 1, p%nLineTypes
m%LineTypeList(I)%Cdn = m%LineTypeList(I)%Cdn / InputFileDat%CdScaleIC
m%LineTypeList(I)%Cdt = m%LineTypeList(I)%Cdt / InputFileDat%CdScaleIC
DO I = 1, p%nLines
m%LineList(I)%Cdn = m%LineList(I)%Cdn / InputFileDat%CdScaleIC
m%LineList(I)%Cdt = m%LineList(I)%Cdt / InputFileDat%CdScaleIC
END DO

DO I = 1, p%nBodies
Expand Down

0 comments on commit c8a205d

Please sign in to comment.