Published July 20, 2023 | Version 1.0.1
Software Open

Two-dimensional Numerical Simulations of Mixing under Ice Keels Python Code

  • 1. University of Toronto, Department of Physics, 60 St. George Street, Toronto ON M5S 1A7, Canada
  • 2. College of Earth, Ocean, and Atmospheric Sciences, Oregon State University, Corvallis, Oregon, USA
  • 3. Centre for Earth Observation Science, University of Manitoba, Winnipeg, Manitoba, Canada
  • 4. University of Toronto, Department of Physics, 60 St.\ George Street, Toronto ON M5S 1A7, Canada

Description

This deposition contains the Python code used in running two-dimensional mixing simulations of two-layered flow under the cross-section of an ice keel and processing the resultant output.

A description of the uploaded files:

  • nl_strat_simulation.py: The simulation code. Note that it utilizes Dedalus 2 (https://dedalus-project.org/), a spectral PDE solver, hence a proper installation of the module is required to run the code.
  • compute_diffusivitymixdepth.py: Reads in the output from the simulation and computes mixing rates (phi_d), diapycnal diffusivity values (K), and depth of mixing for each time slice (z_mix). All of these values are then stored in JSON files for further analysis.
  • arctic_regime_figure.py: Used to create a figure that depicts specific Arctic regions' locations in a Froude-number-dimensionless-keel-draft space (on average) as well as predictions as to where the averages will be in 5 to 15 years (Figure 9). This file includes all calculations and plotting code. 

Note that the Python version required to run the code is constrained by the version required to run Dedalus 2. Python 3 should be sufficient.

Files

Files (43.7 kB)

Name Size Download all
md5:3782ef4f5254211fe1072023062dadac
14.4 kB Download
md5:9b47b00b0224be08bb2a92997d4243ae
16.6 kB Download
md5:94efe29b3123d40d5a255a581a6636d9
12.7 kB Download