Skip to content

Conversation

@nathanmtom
Copy link

Updates to Morison Element Implementation to handle Directional Spreading. The current ME implementation allows for only one wave direction. The implemented changes should allow for wave directional spreading where the wave train can come from multiple directions.

Thank you to @munir-zarea who completed most of the updates through his internship with NREL.

nathanmtom added 2 commits May 11, 2023 17:35
Updates to Morison Element Implementation to handle Directional Spreading. The current ME implementation allows for only one wave direction. The implemented changes should allow for wave directional spreading where the wave train can come from multiple directions.
The first library submitted was based off of the Master Branch of WEC-Sim and was missing the updates made to the body to account for the products of inertia. The required changes for morisonDirectionality was transferred to the latest body library in the Dev Branch.
@kmruehl kmruehl self-requested a review May 17, 2023 14:36
@kmruehl kmruehl self-assigned this May 17, 2023
@kmruehl kmruehl added Drag/Morison related to drag body (body(i).nhBody = 2) or morison element (simu.morisonElement) Body Class Body Class (bodyClass.m) labels May 17, 2023
Copy link
Collaborator

@kmruehl kmruehl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this case by running the tests on https://github.com/WEC-Sim/WEC-Sim_Applications/tree/master/Traditional_Morison_Element, and modifying the input file to include directional spreading

% Irregular Waves
waves = waveClass('irregular');               % Initialize Wave Class and Specify Type
waves.height = 2.0;                           % Significant Wave Height [m]
waves.period = 5.0;                           % Peak Period [s]
waves.spectrumType = 'PM';                    % Specify Spectrum Type
waves.phaseSeed = 5;
waves.direction = [0,30,90];            % Wave Directionality [deg]
waves.spread = [0.1,0.2,0.7];           % Wave Directional Spreading [%}

When I ran that case it showed that waves.spread was not being passed to the updated Body Block for the Irregular Morison Element. I updated the body block to include this input, and the case ran. I've uploaded my revisions, but it should get a second look. @nathanmtom can you review, and also test this case prior to merging?

ACTION @kmruehl

  • update ME test case to include spreading, per example above

@kmruehl
Copy link
Collaborator

kmruehl commented May 17, 2023

test added in WEC-Sim/WEC-Sim_Applications#32. Merging now.

@kmruehl kmruehl merged commit 23407fc into WEC-Sim:dev May 17, 2023
@nathanmtom nathanmtom deleted the morisonDirectionality branch May 18, 2023 15:08
H0R5E pushed a commit to H0R5E/WEC-Sim that referenced this pull request May 19, 2023
* Updates to Morison Element Implementation

Updates to Morison Element Implementation to handle Directional Spreading. The current ME implementation allows for only one wave direction. The implemented changes should allow for wave directional spreading where the wave train can come from multiple directions.

* Update WECSim_Lib_Body_Elements.slx

The first library submitted was based off of the Master Branch of WEC-Sim and was missing the updates made to the body to account for the products of inertia. The required changes for morisonDirectionality was transferred to the latest body library in the Dev Branch.

* adding missing waves.spread input to irregular morison element subsystem

---------

Co-authored-by: kmruehl <kmruehl@sandia.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Body Class Body Class (bodyClass.m) Drag/Morison related to drag body (body(i).nhBody = 2) or morison element (simu.morisonElement)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants