CliMA / LESbrary.jl

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

Add thermocline with variable N²(z) #34

Closed ali-ramadhan closed 3 years ago

ali-ramadhan commented 3 years ago

This PR just changes the thermocline in three_layer_constant_fluxes.jl to have a variable N²(z) structure parameterized by a fitted cubic function.

The idea is to enrich the training data as convection is no longer entraining into a fluid layer of constant stratification, although might need to play around with the model parameters to get a temperature profile where the N²(z) structure is significant (and it still finishes in a reasonable amount of time).

To give some idea of what it looks like:

image

image

ali-ramadhan commented 3 years ago

Ah thankfully it was just a minor conflict.