Skip to content

Commit

Permalink
Fix unboost of line 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 a7fb13c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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
2 changes: 1 addition & 1 deletion reg_tests/r-test
Submodule r-test updated 226 files

0 comments on commit a7fb13c

Please sign in to comment.