Help with initial velocity profile #1569
Replies: 1 comment 23 replies
-
The What produces velocity gradients in your simulation? This setup is similar, though I think the "pycnocline" could be thicker than in your simulation: https://github.com/CliMA/LESbrary.jl/blob/master/examples/three_layer_constant_fluxes.jl The noise is noise = 1e-6 * Ξ(z) * dθdz_surface_layer * grid.Lz where Ξ(z) = rand() * exp(z / 8) The amount of noise you "need" depends on your resolution, and the type of simulation you'd like to perform. With higher resolutions you need less noise (and your eddy diffusivity should decrease). I think the best way to find out is to run a series of simulations with different noise levels, including "no noise" (which may not work at all for you, depending on how the simulation is forced). Can you describe in more detail the physical scenario that you are trying to model? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I am having an issue where ~30 minutes into my run, the pycnocline spontaneously mixes and diffuses. This is concomitant with an increase in eddy viscosity and the interface.
I am using the
AnisotropicMinimumDissipation
closure.There isn't an instability in my initial density profile so I expect that the issue is related to the velocity noise I initialize with. Although I have tried a number of different initial velocity profiles, the general rule of thumb I have been following is noise in the surface that decays before it gets to the pycnocline.
I am open to any tips but my specific questions are:
1) What order of magnitude should the noise be?
I have mostly been using very low amplitude noise O(10^-4) at the surface and it decays to O(10^-9) at the pycnocline.
2) Can this be an issue of shear in the noise profile?
What do you recommend for a surface to pycnocline velocity noise difference?
As a note, the issue stopped when I was using the
ConstantSmagorinsky
closureThanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions