positive tracers #3951
Unanswered
masonrogers14
asked this question in
Computational science!
Replies: 1 comment 3 replies
-
Hi Mason, I would try bounding the advection scheme. We have a simple flux limiter that should preserve bounds in one-dimensions advection = WENO(bounds = (0, 1)) It is not really bounds preserving in three-dimensions, but it should work. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use oceananigans to simulate concentration fields that should be nonnegative. However, even for the simple case of a constant velocity field advecting a Gaussian patch of passive tracer, the model develops steadily growing negative tracer values that eventually become comparable to the largest positive values. Here is a MWE:
The behavior persists with any advection scheme other than first-order upwind biased, which is insufficient for more turbulent flows.
Any tips or suggestions? I heard a rumor that @simone-silvestri might know something useful...
Beta Was this translation helpful? Give feedback.
All reactions