From 7307edf7eec6dac3de0b181edf6e448e7bbadd42 Mon Sep 17 00:00:00 2001 From: jtgrasb <87095491+jtgrasb@users.noreply.github.com> Date: Mon, 5 Jan 2026 10:01:56 -0700 Subject: [PATCH 1/2] remove initial displacement --- Mooring/MoorDyn/Mooring/lines.txt | 8 ++++---- Mooring/MoorDyn/wecSimInputFile.m | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Mooring/MoorDyn/Mooring/lines.txt b/Mooring/MoorDyn/Mooring/lines.txt index 2927aa08..460cb151 100644 --- a/Mooring/MoorDyn/Mooring/lines.txt +++ b/Mooring/MoorDyn/Mooring/lines.txt @@ -6,15 +6,15 @@ Chain 0.144 126.0 583.376E6 -0.8 0 1.6 1.0 ---------------------------- BODIES ----------------------------------------------------- ID Attachment X0 Y0 Z0 r0 p0 y0 Mass CG* I* Volume CdA* Ca (#) (-) (m) (m) (m) (deg) (deg) (deg) (kg) (m) (kg-m^2) (m^3) (m^2) (-) -1 Coupled 0 0 -21.5 0 0 0 0.0 0 0 0 0 0 +1 Coupled 0 0 0 0 0 0 0.0 0 0 0 0 0 ---------------------- POINTS ----------------------------------------------------- ID Attachment X Y Z Mass Volume CdA CA (#) (word/ID) (m) (m) (m) (kg) (mˆ3) (m^2) (-) -1 Body1 -3.0 0 11.50 0 0 0 0 +1 Body1 -3.0 0 -10 0 0 0 0 2 Fixed -267.0 0 -70.00 0 0 0 0 -3 Body1 1.5 2.598 11.50 0 0 0 0 +3 Body1 1.5 2.598 -10 0 0 0 0 4 Fixed 133.5 231.23 -70.00 0 0 0 0 -5 Body1 1.5 -2.598 11.50 0 0 0 0 +5 Body1 1.5 -2.598 -10 0 0 0 0 6 Fixed 133.5 -231.23 -70.00 0 0 0 0 7 Free -40.0 0 -10.00 16755 33.510 12.566 1 8 Free 20.0 34.642 -10.00 16755 33.510 12.566 1 diff --git a/Mooring/MoorDyn/wecSimInputFile.m b/Mooring/MoorDyn/wecSimInputFile.m index aa7d76fb..bf32a6cb 100644 --- a/Mooring/MoorDyn/wecSimInputFile.m +++ b/Mooring/MoorDyn/wecSimInputFile.m @@ -46,4 +46,4 @@ mooring(1).moorDynLines = 6; % Specify number of lines mooring(1).moorDynNodes(1:3) = 16; % Specify number of nodes per line mooring(1).moorDynNodes(4:6) = 6; % Specify number of nodes per line -mooring(1).initial.displacement = [0 0 -21.29-.21]; % Initial Displacement (body cg + body initial displacement) +mooring(1).initial.displacement = [0 0 0]; % Initial Displacement From 4b68f3ffd6ee69c27195cdbf3575577ce7d4c4c2 Mon Sep 17 00:00:00 2001 From: jtgrasb <87095491+jtgrasb@users.noreply.github.com> Date: Mon, 5 Jan 2026 11:17:48 -0700 Subject: [PATCH 2/2] adjust moordyn setup --- Mooring/MoorDyn/Mooring/lines.txt | 8 ++++---- Paraview_Visualization/RM3_MoorDyn_Viz/Mooring/lines.txt | 8 ++++---- Paraview_Visualization/RM3_MoorDyn_Viz/wecSimInputFile.m | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Mooring/MoorDyn/Mooring/lines.txt b/Mooring/MoorDyn/Mooring/lines.txt index 460cb151..bbe4e4f1 100644 --- a/Mooring/MoorDyn/Mooring/lines.txt +++ b/Mooring/MoorDyn/Mooring/lines.txt @@ -6,15 +6,15 @@ Chain 0.144 126.0 583.376E6 -0.8 0 1.6 1.0 ---------------------------- BODIES ----------------------------------------------------- ID Attachment X0 Y0 Z0 r0 p0 y0 Mass CG* I* Volume CdA* Ca (#) (-) (m) (m) (m) (deg) (deg) (deg) (kg) (m) (kg-m^2) (m^3) (m^2) (-) -1 Coupled 0 0 0 0 0 0 0.0 0 0 0 0 0 +1 Coupled 0 0 0 0 0 0 0.0 0 0 0 0 0 ---------------------- POINTS ----------------------------------------------------- ID Attachment X Y Z Mass Volume CdA CA (#) (word/ID) (m) (m) (m) (kg) (mˆ3) (m^2) (-) -1 Body1 -3.0 0 -10 0 0 0 0 +1 Body1 -3.0 0 -10.00 0 0 0 0 2 Fixed -267.0 0 -70.00 0 0 0 0 -3 Body1 1.5 2.598 -10 0 0 0 0 +3 Body1 1.5 2.598 -10.00 0 0 0 0 4 Fixed 133.5 231.23 -70.00 0 0 0 0 -5 Body1 1.5 -2.598 -10 0 0 0 0 +5 Body1 1.5 -2.598 -10.00 0 0 0 0 6 Fixed 133.5 -231.23 -70.00 0 0 0 0 7 Free -40.0 0 -10.00 16755 33.510 12.566 1 8 Free 20.0 34.642 -10.00 16755 33.510 12.566 1 diff --git a/Paraview_Visualization/RM3_MoorDyn_Viz/Mooring/lines.txt b/Paraview_Visualization/RM3_MoorDyn_Viz/Mooring/lines.txt index 5da45600..c2917991 100644 --- a/Paraview_Visualization/RM3_MoorDyn_Viz/Mooring/lines.txt +++ b/Paraview_Visualization/RM3_MoorDyn_Viz/Mooring/lines.txt @@ -6,15 +6,15 @@ Chain 0.144 126.0 583.376E6 -0.8 0 1.6 1.0 ---------------------------- BODIES ----------------------------------------------------- ID Attachment X0 Y0 Z0 r0 p0 y0 Mass CG* I* Volume CdA* Ca (#) (-) (m) (m) (m) (deg) (deg) (deg) (kg) (m) (kg-m^2) (m^3) (m^2) (-) -1 Coupled 0 0 -21.5 0 0 0 0.0 0 0 0 0 0 +1 Coupled 0 0 0 0 0 0 0.0 0 0 0 0 0 ---------------------- POINTS ----------------------------------------------------- Node Type X Y Z M V CdA CA (-) (-) (m) (m) (m) (kg) (m^3) (m^2) (-) -1 Body1 -3.0 0 11.50 0 0 0 0 +1 Body1 -3.0 0 -10.00 0 0 0 0 2 Fixed -267.0 0 -70.00 0 0 0 0 -3 Body1 1.5 2.598 11.50 0 0 0 0 +3 Body1 1.5 2.598 -10.00 0 0 0 0 4 Fixed 133.5 231.23 -70.00 0 0 0 0 -5 Body1 1.5 -2.598 11.50 0 0 0 0 +5 Body1 1.5 -2.598 -10.00 0 0 0 0 6 Fixed 133.5 -231.23 -70.00 0 0 0 0 ---------------------- LINES ----------------------------------------------------- ID LineType AttachA AttachB UnstrLen NumSegs LineOutputs diff --git a/Paraview_Visualization/RM3_MoorDyn_Viz/wecSimInputFile.m b/Paraview_Visualization/RM3_MoorDyn_Viz/wecSimInputFile.m index 366e77bb..a697e1a8 100644 --- a/Paraview_Visualization/RM3_MoorDyn_Viz/wecSimInputFile.m +++ b/Paraview_Visualization/RM3_MoorDyn_Viz/wecSimInputFile.m @@ -54,4 +54,4 @@ mooring(1).moorDyn = 1; % Initialize MoorDyn mooring(1).moorDynLines = 3; % Specify number of lines mooring(1).moorDynNodes = [21 21 21]; % Specify number of nodes per line -mooring(1).initial.displacement = [0 0 -21.29-.21]; % Initial Displacement (includes body cg and body initial displacement) +mooring(1).initial.displacement = [0 0 0]; % Initial Displacement (includes body cg and body initial displacement)