Published August 7, 2023 | Version v1
Text Open

Scripts for the numerical experiments in JPO-D-23-0059 "Vertical Exchange Induced by Mixed-Layer Instabilities"

Luo, Yangcheng
Researcher:
Luo, Yangcheng
Supervisor:
Callies, Jörn

Description

These four files are the scripts for the numerical experiments in JPO-D-23-0059 "Vertical Exchange Induced by Mixed-Layer Instabilities".

growth_rate.py is a Python script that runs Dedalus to solve an eigenvalue problem in the Section "Linear Stability Analysis" in the paper. It computes the growth rate of the mixed layer instability at different x-direction wavenumbers, given the Richardson numbers of the mixed layer and the thermocline and the depth ratio of these two layers.

vertical_structure.py is also a Python script that runs Dedalus to solve an eigenvalue problem in the Section "Linear Stability Analysis" in the paper. It computes the vertical structures of the eigenfunctions for u, v, w, p, and b at a given x-direction wavenumber, given the Richardson numbers of the mixed layer and the thermocline and the depth ratio of these two layers.

nonlinear_simulations.py is a Python script that runs Dedalus to solve an initial value problem in the Section "Nonlinear Simulations" in the paper. It computes the fields of u, v, w, p, and b at all times, given the Richardson numbers of the mixed layer and the thermocline.

dedalus.cfg is a Dedalus configuration file that should be placed in the same directory as nonlinear_simulations.py when running the latter.

Files

Files (15.7 kB)
Name Size
md5:ab46df83519cec5942481c7f7521436e
2.3 kB Download
md5:fbba5d7e50872f99921258292b9ab7ba
4.6 kB Download
md5:cad87b5faa0412b61cbea7c5d2feb365
5.3 kB Download
md5:4b168f6f4bcec5054ac856b89cf7ae53
3.5 kB Download

Additional details

Created:
August 7, 2023
Modified:
August 7, 2023