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

Default momentum advection for the HydrostaticFreeSurfaceModel #3842

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

simone-silvestri
Copy link
Collaborator

closes #3806

Comment on lines 56 to 58
default_momentum_advection(grid) = CenteredSecondOrder()

default_momentum_advection(::OrthogonalSphericalShellGrid) = VectorInvariant()
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
default_momentum_advection(grid) = CenteredSecondOrder()
default_momentum_advection(::OrthogonalSphericalShellGrid) = VectorInvariant()
default_momentum_advection(grid) = CenteredSecondOrder()
default_momentum_advection(::OrthogonalSphericalShellGrid) = VectorInvariant()

what's your thought on

default_momentum_advection(grid) = VectorInvariant()

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It might be advantageous. So that the momentum equation is by default in the vector invariant form for the HydrostaticFreeSurfaceModel

Copy link
Member

@glwagner glwagner Oct 10, 2024

Choose a reason for hiding this comment

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

Default VectorInvariant for the hydrostatic model makes sense to me. And it's valid on all grids we support, also nice.

@glwagner
Copy link
Member

some doctest errors

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.

Error with default HydrostaticFreeSurfaceModel on TripolarGrid
2 participants