Problems at the periodic boundary #4054
Answered
by
glwagner
andrewooish
asked this question in
Helpdesk
-
Beta Was this translation helpful? Give feedback.
Answered by
glwagner
Jan 21, 2025
Replies: 1 comment 2 replies
-
I suspect the vertical pressure integral does not correctly implement the Periodic z-direction, so basically, there is a bug. Here's two quick fixes:
I'm not 100% option 2 will work so it will be good to here. Something actionable is to throw an error or warning for this configuration. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
andrewooish
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suspect the vertical pressure integral does not correctly implement the Periodic z-direction, so basically, there is a bug. Here's two quick fixes:
gravity_unit_vector
(which you have already defined)hydrostatic_pressure_anomaly=nothing
toNonhydrostaticModel
I'm not 100% option 2 will work so it will be good to here.
Something actionable is to throw an error or warning for this configuration.