Skip to content

Commit c19cbdc

Browse files
committedJan 30, 2025
Added a new MoorDyn module regression test for external loads and damping on a body object
1 parent f78149f commit c19cbdc

File tree

4 files changed

+1868
-0
lines changed

4 files changed

+1868
-0
lines changed
 

‎modules/moordyn/CaseList.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ md_no_line
1010
md_vertical
1111
md_lineFail
1212
md_Single_Line_Quasi_Static_Test
13+
md_BdyExtLdDmpg

‎modules/moordyn/md_BdyExtLdDmpg/driver.MD.out

+1,807
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
MoorDyn driver input file
2+
another comment line
3+
---------------------- ENVIRONMENTAL CONDITIONS -------------------------------
4+
9.80665 Gravity - Gravity (m/s^2)
5+
1025.0 rhoW - Water density (kg/m^3)
6+
100.0 WtrDpth - Water depth (m)
7+
---------------------- MOORDYN ------------------------------------------------
8+
"moordyn.dat" MDInputFile - Primary MoorDyn input file name (quoted string)
9+
"driver" OutRootName - The name which prefixes all MoorDyn generated files (quoted string)
10+
180 TMax - Total run time (s) [>=0.0]
11+
0.005 dtC - TimeInterval for the simulation (s)
12+
0 InputsMode - MoorDyn coupled object inputs (0: all inputs are zero for every timestep (no coupled objects), 1: time-series inputs (coupled objects)) (switch)
13+
"" InputsFile - Filename for the MoorDyn inputs file for when InputsMod = 1 (quoted string)
14+
0 NumTurbines - Number of wind turbines (-) [>=1 to use FAST.Farm mode. 0 to use OpenFAST mode.]
15+
---------------------- Initial Positions --------------------------------------
16+
ref_X ref_Y surge_init sway_init heave_init roll_init pitch_init yaw_init
17+
(m) (m) (m) (m) (m) (rad) (rad) (rad) [followed by MAX(1,NumTurbines) rows of data]
18+
0 0 0 0 0 0 0 0
19+
END of driver input file
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
A point mass suspended by a line with external force and damping
2+
------------------------- LINE TYPES --------------------------------------------------
3+
LineType Diam MassDenInAir EA BA/-zeta EI Can Cat Cdn Cdt
4+
(-) (m) (kg/m) (N) (Pa-s/-) (n-m^2) (-) (-) (-) (-)
5+
nylon 0.124 35.0 5000000.0 -1.0 0.0 1.0 0.0 1.0 0.0
6+
---------------------------- BODIES -----------------------------------------------------
7+
ID Attachment X0 Y0 Z0 r0 p0 y0 Mass CG* I* Volume CdA* Ca
8+
(#) (-) (m) (m) (m) (deg) (deg) (deg) (kg) (m) (kg-m^2) (m^3) (m^2) (-)
9+
1 free 0 0 -50 0 0 0 2.1244e4 0 0 0 0 0
10+
----------------------- POINTS ----------------------------------------------
11+
Node Type X Y Z M V CdA CA
12+
(-) (-) (m) (m) (m) (kg) (m^3) (m^2) (-)
13+
1 Body1 0 0 0 0 0 0 0
14+
2 Fixed 0 0 0 0 0 0 0
15+
-------------------------- LINES -------------------------------------------------
16+
Line LineType NodeA NodeB UnstrLen NumSegs Flags/Outputs
17+
(-) (-) (-) (-) (m) (-) (-)
18+
1 nylon 2 1 48 10 -
19+
---------------------- EXTERNAL LOADS --------------------------------
20+
ID Object Fext Blin Bquad CSys
21+
(#) (name) (N) (Ns/m) (Ns^2/m^2) (-)
22+
1 Body1 1.0417e5|0.5e5|-1.0e4 1.0e3|0.7e3|0.6e2 3.0e3|2.1e3|1.0e4 G
23+
-------------------------- SOLVER OPTIONS---------------------------------------------------
24+
0.005 dtM - time step to use in mooring integration (s)
25+
0.0 dtIC - time interval for analyzing convergence during IC gen (s)
26+
0.1 dtOut - time step size to be written to output files (s)
27+
------------------------------ OUTPUTS -----------------------------------------------------
28+
Body1PX
29+
Body1PY
30+
Body1PZ
31+
Body1VX
32+
Body1VY
33+
Body1VZ
34+
Body1FX
35+
Body1FY
36+
Body1FZ
37+
ANCHTEN1
38+
CON1FX
39+
CON1FY
40+
CON1FZ
41+
--------------------------- need this line -------------------------------------------------

0 commit comments

Comments
 (0)
Please sign in to comment.