Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/run-tests-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ jobs:
ls ../WEC-Sim/source/functions/moorDyn
shell: bash
working-directory: './MoorDyn'
- name: Install MinGW (for MATLAB accelerator/rapid-accelerator)
if: (matrix.folder == 'Mooring' || matrix.folder == 'Paraview_Visualization') && matrix.os == 'windows-latest'
uses: egor-tensin/setup-mingw@v3
with:
version: 8.1
- name: Add MATLAB MinGW environment variable
if: (matrix.folder == 'Mooring' || matrix.folder == 'Paraview_Visualization') && matrix.os == 'windows-latest'
run: echo "MW_MINGW64_LOC=C:\ProgramData\chocolatey\lib\mingw\tools\install" >> $GITHUB_ENV
- name: Install MATLAB
uses: matlab-actions/setup-matlab@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions Mooring/MooringMatrix/wecSimInputFile.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,3 @@
mooring(1).matrix.stiffness(1,1) = 1e5;
mooring(1).matrix.damping = zeros(6,6);
mooring(1).matrix.preTension = zeros(1,6);


2 changes: 1 addition & 1 deletion OWC/FloatingOWC/wecSimInputFile.m
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@
Izz = 0.5* waterColumnMass * (airChamber(1).owcDiameter/2)^2;
Ixx = waterColumnMass * (3 * (airChamber(1).owcDiameter/2)^2 + waterColumnHeight^2) /12;

body(2).inertia = [Ixx Ixx Izz];
body(2).inertia = [Ixx Ixx Izz];
1 change: 1 addition & 0 deletions OWC/OrificeModel/wecSimInputFile.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@
C = 0.62; % discharge coefficient
rhoAir = 1.2; % air density kg/m^3
thresh = 0.3; % threshold above which compressibility is an issue

Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@
pto(1).stiffness = 0;
pto(1).damping = 0;
pto(1).location = [0 0 -8.9];

1 change: 1 addition & 0 deletions Paraview_Visualization/RM3_MoorDyn_Viz/wecSimInputFile.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@
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 0]; % Initial Displacement (includes body cg and body initial displacement)

Binary file modified Variable_Hydro/Variable_Mass/sphereVarMass.slx
Binary file not shown.
Loading