Noise below the mixed layer when using AnisotropicMinimumDissipation
#3561
Replies: 8 comments 13 replies
-
Hi @jhdong2016, thanks for your interest in Oceananigans! Personally I find it very difficult to help out without something that I can run and reproduce your results. Could you post your script somewhere also for making the plots. Something I can copy/paste in the REPL or just write It's often useful to post the version of Oceananigans you are using (and the rest of dependencies). E.g., post the output of Do I understand correctly or is it my impression that you have depth in the horizontal axis? |
Beta Was this translation helpful? Give feedback.
-
THanks for the reply. Here are the files that may help. |
Beta Was this translation helpful? Give feedback.
-
Thanks! You seem to be using a very very old version of Oceananigans; v0.79.0 (from 2022). |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggest! Let me update it and see if the issue is fixed. |
Beta Was this translation helpful? Give feedback.
-
This is common to observe with Can we convert this to a discussion? I don't think this is a bug in the code. |
Beta Was this translation helpful? Give feedback.
-
And yes more generally it's best if you include your whole script so that the simulation can be reproduced. In particular here we need the grid, initial condition, and time step to fully grasp what's doing on. |
Beta Was this translation helpful? Give feedback.
-
Please convert it into a discussion. And I am updating the version and will try your suggestion! Thanks! |
Beta Was this translation helpful? Give feedback.
-
I'd like to revisit this. @jhdong2016 can you provide your entire script? Alternatively, @tomchor do you have a script that illustrates the noise issue? I would like to see if there is a simple fix. |
Beta Was this translation helpful? Give feedback.
-
Hi all, I am simulating an ocean surface mixed layer. However, I always get lots of noise in the ocean interior below the mixed layer. I have applied a Gaussian-mask sponge layer near the bottom. But the noise is still there. Below are two figures of the vertical velocity and buoyancy perturbations. Any suggestions?
Here are the codes for the sponge.
ps. the whole depth is Lz = 150 m and the mixed layer is about 80m.
######========================================
damping_rate = 1/1800 # relax fields on a 100 second time-scale
bottom_mask = GaussianMask{:z}(center=-grid.Lz, width=grid.Lz/3)
uvw_sponge = Relaxation(rate=damping_rate, mask=bottom_mask)
model = NonhydrostaticModel(; grid, coriolis,
advection = WENO(),
timestepper = :RungeKutta3,
tracers = :b,
buoyancy = BuoyancyTracer(),
closure = AnisotropicMinimumDissipation(),
stokes_drift = UniformStokesDrift(∂z_vˢ=∂z_vˢ),
boundary_conditions = (v=v_boundary_conditions, b=b_boundary_conditions),
forcing=(u=uvw_sponge, v=uvw_sponge, w=uvw_sponge))
#####============================================
Beta Was this translation helpful? Give feedback.
All reactions