Improved wave-current modeling in SeaState#2978
Merged
andrew-platt merged 17 commits intoOpenFAST:dev-tcfrom Sep 3, 2025
Merged
Improved wave-current modeling in SeaState#2978andrew-platt merged 17 commits intoOpenFAST:dev-tcfrom
andrew-platt merged 17 commits intoOpenFAST:dev-tcfrom
Conversation
…initial implementation)
…cting wave-current models and implemented some input validity checks
…te the r-test pointer
…on solver if tolerance is not met. Also fixed a bug in driver wave elevation output.
* Added support for dynamic current from InflowWind for MHK simulations. * Allow up to 10 deg of misalignment between the waves and current for WvCrntMod=2.
jjonkman
approved these changes
Aug 29, 2025
Collaborator
jjonkman
left a comment
There was a problem hiding this comment.
I only reviewed the documentation change and that looks good to me. I suggest uploading the Word-based implementation plan/theory document (which I previously reviewed) with this code change, unless you plan to publish that elsewhere.
Collaborator
|
andrew-platt
approved these changes
Sep 2, 2025
andrew-platt
approved these changes
Sep 2, 2025
Collaborator
|
Contributor
Author
|
@andrew-platt Implementation plan added to |
hkross
approved these changes
Sep 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature or improvement description
This PR adds improved modeling of combined wave and current conditions in SeaState. A new input
WvCrntModis added to the SeaState primary input file.WvCrntModvalueOptions 1 and 2 impose additional restrictions on the waves and current.
WvCrntModvalueNote that strictly speaking, Options 1 and 2 are only valid for a uniform current; however, sheared current is allowed, and it is up to the user to ensure that the current profile near the surface down to a depth relevant to the waves is reasonably uniform. SeaState simply takes the current velocity at the still water level when computing the effects of the current on the waves.
The improved wave-current modeling can be used with either SeaState current or dynamic current from InflowWind when simulating marine hydrokinetic turbines. For the latter, wave-current interaction is based on the time-averaged current velocity at the still water level. For applicable
WindTypein InflowWind, users should ensure that the flow-field grid from InflowWind reaches the still water level.WvCrntModhas no effect whenWaveMod= 0 or 6, or when there is no current, either from SeaState (CurrMod= 0) or InflowWind.Impacted areas of the software
SeaState, glue-codes, r-test, docs
Test results, if applicable
Updated all r-test SeaState input files with the new
WvCrntModinput. No change to existing r-test results. Added two new r-tests for the SeaState module withWvCrntMod= 1 and 2.To-Dos