Are Horizontal Viscosity Closures Numerically Compatible with WENO or VectorInvariant Schemes? #4162
Unanswered
kenflat2
asked this question in
Computational science!
Replies: 2 comments 22 replies
-
Are you obeying the diffusive CFL constraint on the time-step? The diffusive cfl is something like |
Beta Was this translation helpful? Give feedback.
22 replies
-
Then yes the CFL is met, I'm using the default radius of the earth. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found in my work that adding a horizontal viscosity closure such as
horizontal_closure = HorizontalScalarDiffusivity(ν=1.2, κ=0.0)
causes numerical instability in simulations that use WENO or VectorInvariant numerical schemes. In my case, including the closure makes the simulation either behave unphysically or blow up. This is counterintuitive to me because I see adding artificial viscosity as a general means to stabilize a fluid simulation.Here is an example from one of my simulations (I can provide details about the setup if people are interested) where a horizontal closure as above is included. Here I plot snapshots of transects of zonal velocity u during my simulation
1 day in:

1 week in:

2 weeks in:

3 weeks in:

In the bottom right of the domain, a column of water becomes increasingly noisy. This noise eventually spreads and dominates the simulation. When I disable the horizontal closure, this instability does not form. Alternatively, if I make the horizontal viscosity 3 orders of magnitude larger than it is here, it damps out everything and the simulation is very well behaved (if a bit boring).
My best guess is that WENO is a diffusive scheme so adding extra diffusivity on top is not anticipated by the formulation and causes problems. Is this view correct or might something else be going on?
Beta Was this translation helpful? Give feedback.
All reactions