Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slope fix #36

Merged
merged 5 commits into from
Dec 26, 2024
Merged

Slope fix #36

merged 5 commits into from
Dec 26, 2024

Conversation

mattEhall
Copy link
Collaborator

A few updates related to seabed slope to consider integrating into dev

mattEhall and others added 5 commits November 20, 2024 15:29
- Modifications in Line to apply reduced weight per unit length
  for Line objects with one end out of the water. These are a rough
  job and may best be replaced with an improved depth-aware Catenary
  function in the future.
- Seabed slope for each Line is now calculated based
  on the depth beneath each endpoint (assuming a
  uniformly sloped seabed underneath the line) rather
  than looking at the panel slope under end A.
- This should be more robust by avoiding inconsistencies
  when lines cross panels, though could reduce accuracy
  for finer grids with Lines that only slightly touch.
- Adjusted drawLine methdos to now draw the shadow on the seabed
  bathymetry grid if it exists.
- Included a function in subsystem.py to pull from the global bathymetry and produce a 2D bathymetry directly underneath the subsystem
- - The bathGrid variable now becomes a 1D array of depths along the subsystem
- - bathGrid_Ys become 0, and the xs are set as the nodes along each line in the subsystem
- - This way, the alpha (slope) is calculated for each line in the subsystem's line list properly
- This function is called every time subsystem.staticSolve is called, with updated bathymetry based on any new rA/rB positions
- Additional work to do
- - Make sure the global bathymetry is tracked properly (currently needs self.sys != None)
- - Ensure the seabedMod parameter is set up properly
@shousner shousner merged commit 0940ecc into dev Dec 26, 2024
38 checks passed
@shousner
Copy link
Contributor

Overall supporting more cases considering bathymetry. Added a commit myself to have subsystems work with bathymetry. More work still to do related, but can integrate into dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants