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

Update to Wavespectra 4.3.0 #386

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

jtgrasb
Copy link
Collaborator

@jtgrasb jtgrasb commented Jan 10, 2025

Description

This PR resolves #154 by removing functions from the waves class and instead uses the latest version of wavespectra to generate the spectrum and wave energy density array, efth. The omnidirectional_spectrum, spectrum, pierson_moskowitz_spectrum, jonswap_spectrum, spread_cos2s, general_spectrum, pierson_moskowitz_params are all now handled by wavespectra. The testing for these functions has also been removed.

Note that wavespectra's frequency spectrum creation methods leave off direction, but I added a check to add it in when creating the wave elevation and instructions for how to add it in manually for the pioneer tutorial.

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.

1 participant