CliMA / LESbrary.jl

📚Generating Oceananigans large eddy simulation (LES) data for calibrating parameterizations
MIT License
28 stars 10 forks source link

Mesoscale Simulations in Library #133

Open sandreza opened 2 years ago

sandreza commented 2 years ago

This PR adds idealized mesoscale resolving zonally re-entrant channels to the library. The first stage is to define a function whose input is a few control parameters and whose output can be used for informing parameterization development. There are two main classes of simulations being added: flat bottom and hilly

sandreza commented 2 years ago

Tentative to-do list

glwagner commented 2 years ago

Do you mind if I commit to this PR?

TODO:

glwagner commented 2 years ago

A few results. I added biharmonic dissipation and removed the Laplacian diffusion, which wasn't having any effect (dissipation was dominated by WENO I guess). With a coefficient Δx^4 / 15days, we get smooth solutions after 1 year of simulation:

image

Constrast this with

image

a bit noisier.

With a biharmonic coefficient Δx^4 / 10days we suppress the growth rate of the baroclinic instability, so that after a year we are just about to go unstable:

image

glwagner commented 2 years ago

Ok, I've also implemented an initial buoyancy distribution that matches the relaxation profile. Here's what we get after a year with Δx^4 / 20days

image

The simulations also complete faster because we don't get large vertical velocities early on, perhaps because the initial turbulent motions are a bit larger scale?

glwagner commented 2 years ago

Note: we'll have to implement some tracer forcing if we want it to be useful for this equilibrated case. Something for the future.