Large vertical velocities at early time steps in frontal instability simulation #4485
Replies: 1 comment
-
Very quick thought --- you are initializing the velocity and buoyancy field to be in thermal wind balance, correct? However, your initial conditions are expressed as continuous functions. This means that there is a small discrepancy between the analytical thermal wind balance being prescribed, and the "true" discrete thermal wind balance that is obeyed by the model. The small difference between discrete and analytical thermal wind balance could cause a small adjustment to occur at the beginning of the simulation. Solving this may not be trivial, but is possible. In the first place, you can verify that the effect depends on resolution. The higher the resolution, the smaller the difference between the discrete thermal wind balance obeyed exactly by the model and the analytica thermal wind balance you assume to derive the velocity and buoyancy/density fields. Another possibility is to set the geostrophic streamfunction first, and then differentiate it to find the initial conditions for velocity and buoyancy. For example, ψ = Field{Face, Face, Center}(grid)
one = CenterField(grid)
set!(one, 1)
set!(ψ, geostrophic_streamfunction)
uᵢ = + ∂y(ψ)
bᵢ = one * f * ∂z(ψ) The purpose of |
Beta Was this translation helpful? Give feedback.
-
Hi all,
To give some context to my problem: I’ve been working on setting up a simulation of a submesoscale front in thermal-wind balance, which becomes unstable a few days later due to some some noise added to the buoyancy and zonal velocity fields.
The issue is that at the very beginning of the simulation (just a few time steps in), I observe relatively large vertical velocity values, and I don’t see any corresponding features in the horizontal Rossby number field, which I usually use to track the evolution of the simulation visually.
In the left panel of the video, I’ve plotted the horizontal Rossby number field. I can’t spot any obvious issues there; the frontal jet appears to stay in balance for a few days, until the instabilities begin to grow (see Figure 1 for reference). In the right panel, I show a vertical cross-section of vertical velocity along the front at the center of the domain. This panel shows relatively large vertical velocities in the very first time steps of the simulation.
combined_plot.mp4
Figure 1.

Below is the KE plot of the simulation (Figure 2) and a plot of the time variance of the RMS vertical velocities (Figure 3), where I can see a spike at the very beginning.
Figure 2

Figure 3.

Here is the code I used to run this simulation:
I'm wondering if anyone has experienced something similar or has any suggestions on what might be causing this issue. I'm particularly puzzled by the early spike in vertical velocities. Could this be related to something numerical happening at the beginning of the run? Any ideas on diagnostics I could check, or things I should look into to better understand where this behavior is coming from, would be very much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions