Skip to content

Problems at the periodic boundary #4054

Answered by glwagner
andrewooish asked this question in Helpdesk
Discussion options

You must be logged in to vote

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:

  1. rotate the problem so that x or y is Periodic by changing gravity_unit_vector (which you have already defined)
  2. eliminate the vertical pressure integral by passing hydrostatic_pressure_anomaly=nothing to NonhydrostaticModel

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@andrewooish
Comment options

@glwagner
Comment options

Answer selected by andrewooish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants