@@ -86,8 +86,6 @@ typedef ^ ^ DbKi Cdn -
8686typedef ^ ^ DbKi Cdt - - - "tangential drag coefficient"
8787typedef ^ ^ DbKi CdEnd - - - "drag coefficient for rod end" "[-]"
8888typedef ^ ^ DbKi CaEnd - - - "added mass coefficient for rod end" "[-]"
89- typedef ^ ^ DbKi LinDamp - - - "Linear damping, transverse damping for body element" "[N/(m/s)/m]"
90- typedef ^ ^ LOGICAL isLinDamp - - - "Linear damping, transverse damping for body element is used" "-"
9189
9290# this is the Body type, which holds data for each body object
9391typedef ^ MD_Body IntKi IdNum - - - "integer identifier of this Point"
@@ -116,6 +114,12 @@ typedef ^ ^ DbKi M {6}{6}
116114typedef ^ ^ DbKi M0 {6}{6} - - "body 6-dof mass and inertia matrix in its own frame"
117115typedef ^ ^ DbKi OrMat {3}{3} - - "DCM for body orientation"
118116typedef ^ ^ DbKi rCG {3} - - "vector in body frame from ref point to CG (before rods etc..)"
117+ typedef ^ ^ DbKi FextG {3} - - "vector of user-defined external force on the body in the global frame" [N]
118+ typedef ^ ^ DbKi BlinG {3} - - "user-defined linear translational damping on the body in the global frame" [N/(m/s)]
119+ typedef ^ ^ DbKi BquadG {3} - - "user-defined quadratic translational damping on the body in the global frame" [N/(m/s)^2]
120+ typedef ^ ^ DbKi FextL {3} - - "vector of user-defined external force on the body in the local body-fixed frame" [N]
121+ typedef ^ ^ DbKi BlinL {3} - - "user-defined linear translational damping on the body in the local body-fixed frame" [N/(m/s)]
122+ typedef ^ ^ DbKi BquadL {3} - - "user-defined quadratic translational damping on the body in the local body-fixed frame" [N/(m/s)^2]
119123
120124# this is the Point type, which holds data for each point object
121125typedef ^ MD_Point IntKi IdNum - - - "integer identifier of this point"
@@ -141,6 +145,9 @@ typedef ^ ^ DbKi zeta -
141145typedef ^ ^ DbKi PDyn {:} - - "water dynamic pressure at node" "[Pa]"
142146typedef ^ ^ DbKi Fnet {3} - - "total force on node (excluding inertial loads)"
143147typedef ^ ^ DbKi M {3}{3} - - "node mass matrix, from attached lines"
148+ typedef ^ ^ DbKi Fext {3} - - "vector of user-defined external force on the point always in the global frame" [N]
149+ typedef ^ ^ DbKi Blin {3} - - "user-defined linear translational damping on the point always in the global frame" [N/(m/s)]
150+ typedef ^ ^ DbKi Bquad {3} - - "user-defined quadratic translational damping on the point always in the global frame" [N/(m/s)^2]
144151
145152# this is the Rod type, which holds data for each Rod object
146153typedef ^ MD_Rod IntKi IdNum - - - "integer identifier of this Line"
@@ -167,8 +174,6 @@ typedef ^ ^ DbKi Cdn -
167174typedef ^ ^ DbKi Cdt - - - "" "[-]"
168175typedef ^ ^ DbKi CdEnd - - - "drag coefficient for rod end" "[-]"
169176typedef ^ ^ DbKi CaEnd - - - "added mass coefficient for rod end" "[-]"
170- typedef ^ ^ DbKi LinDamp - - - "Linear damping, transverse damping for rod element" "[N/(m/s)/m]"
171- typedef ^ ^ LOGICAL isLinDamp - - - "Linear damping, transverse damping for rod element is used" "-"
172177typedef ^ ^ DbKi time - - - "current time" "[s]"
173178typedef ^ ^ DbKi roll - - - "roll relative to vertical" "[rad]"
174179typedef ^ ^ DbKi pitch - - - "pitch relative to vertical" "[rad]"
@@ -190,6 +195,8 @@ typedef ^ ^ DbKi Dq {:}{:}
190195typedef ^ ^ DbKi Ap {:}{:} - - "node added mass forcing (transverse)" "[N]"
191196typedef ^ ^ DbKi Aq {:}{:} - - "node added mass forcing (axial)" "[N]"
192197typedef ^ ^ DbKi B {:}{:} - - "node bottom contact force" "[N]"
198+ typedef ^ ^ DbKi Bp {:}{:} - - "transverse damping force" "[N]"
199+ typedef ^ ^ DbKi Bq {:}{:} - - "axial damping force" "[N]"
193200typedef ^ ^ DbKi Fnet {:}{:} - - "total force on node" "[N]"
194201typedef ^ ^ DbKi M {:}{:}{:} - - "node mass matrix" "[kg]"
195202typedef ^ ^ DbKi FextA {3} - - "external forces from attached lines on/about end A " -
@@ -204,6 +211,10 @@ typedef ^ ^ DbKi Imat {3}{3}
204211typedef ^ ^ DbKi OrMat {3}{3} - - "DCM for body orientation"
205212typedef ^ ^ IntKi RodUnOut - - - "unit number of rod output file"
206213typedef ^ ^ DbKi RodWrOutput {:} - - "one row of output data for this rod"
214+ typedef ^ ^ DbKi FextU {3} - - "vector of user-defined external force on the rod end A always in the local body-fixed frame" "[N]"
215+ typedef ^ ^ DbKi Blin {2} - - "linear damping, transverse damping for rod element always in the local body-fixed frame" "[N/(m/s)]"
216+ typedef ^ ^ DbKi Bquad {2} - - "quadratic damping, transverse damping for rod element always in the local body-fixed frame" "[N/(m/s)^2]"
217+
207218
208219
209220# this is the Line type, which holds data for each line object
@@ -275,6 +286,13 @@ typedef ^ ^ DbKi EndMomentB {3}
275286typedef ^ ^ IntKi LineUnOut - - - "unit number of line output file"
276287typedef ^ ^ DbKi LineWrOutput {:} - - "one row of output data for this line"
277288
289+ # this is the ExtLd type, which holds data for each external load specification
290+ typedef ^ MD_ExtLd IntKi IdNum - - - "integer identifier of this external load entry"
291+ typedef ^ ^ DbKi Fext {3} - - "user-defined external force on the object" [N]
292+ typedef ^ ^ DbKi Blin {3} - - "user-defined linear translational damping on the object" [N/(m/s)]
293+ typedef ^ ^ DbKi Bquad {3} - - "user-defined quadratic translational damping on the object" [N/(m/s)^2]
294+ typedef ^ ^ LOGICAL isGlobal - - - "external forces and damping to be applied in the global frame of reference" -
295+
278296# this is the Fail type, which holds data for possible line failure descriptors
279297typedef ^ MD_Fail IntKi IdNum - - - "integer identifier of this failure" "-"
280298typedef ^ ^ IntKi attachID - - - "ID of connection or Rod the lines are attached to" "-"
@@ -334,6 +352,7 @@ typedef ^ ^ MD_Body BodyList {:}
334352typedef ^ ^ MD_Rod RodList {:} - - "array of rod objects" -
335353typedef ^ ^ MD_Point PointList {:} - - "array of point objects" -
336354typedef ^ ^ MD_Line LineList {:} - - "array of line objects" -
355+ typedef ^ ^ MD_ExtLd ExtLdList {:} - - "array of external load objects" -
337356typedef ^ ^ MD_Fail FailList {:} - - "array of line objects" -
338357typedef ^ ^ IntKi FreePointIs {:} - - "array of free point indices in PointList vector" ""
339358typedef ^ ^ IntKi CpldPointIs {:}{:} - - "array of coupled/fairlead point indices in PointList vector" ""
@@ -372,6 +391,7 @@ typedef ^ ^ IntKi nPointsExtra - 0
372391typedef ^ ^ IntKi nBodies - 0 - "number of Body objects" ""
373392typedef ^ ^ IntKi nRods - 0 - "number of Rod objects" ""
374393typedef ^ ^ IntKi nLines - 0 - "number of Line objects" ""
394+ typedef ^ ^ IntKi nExtLds - 0 - "number of external loads or damping" ""
375395typedef ^ ^ IntKi nCtrlChans - 0 - "number of distinct control channels specified for use as inputs" ""
376396typedef ^ ^ IntKi nFails - 0 - "number of failure conditions" ""
377397typedef ^ ^ IntKi nFreeBodies - 0 - "" ""
@@ -410,6 +430,7 @@ typedef ^ ^ DbKi mc -
410430typedef ^ ^ DbKi cv - - - "saturated damping coefficient" "(-)"
411431typedef ^ ^ IntKi inertialF - 0 - "Indicates MoorDyn returning inertial moments for coupled 6DOF objects. 0: no, 1: yes, 2: yes with ramp to inertialF_rampT" -
412432typedef ^ ^ R8Ki inertialF_rampT - 30 - "Ramp time for inertial forces" -
433+ typedef ^ ^ IntKi OutSwitch - 1 - "Switch to disable outputs when running with full OF. 0: no MD main outfile, 1: write MD main outfile" "(-)"
413434# --- parameters for wave and current ---
414435typedef ^ ^ IntKi nxWave - - - "number of x wave grid points" -
415436typedef ^ ^ IntKi nyWave - - - "number of y wave grid points" -
0 commit comments