Skip to content

LES of the equatorial ocean using Oceananigans following Whitt et al. 2022

License

Notifications You must be signed in to change notification settings

glwagner/TropicalTurbulantics.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TropicalTurbulantics.jl

Data and code to setup single column models and large eddy simulations of the equatorial ocean using Oceananigans, following Whitt et al. 2022.

Downloading and processing setup data

The initial conditions, boundary conditions, and forcing data for large eddy simulations are extracted from a simulation of the equatorial ocean using the Regional Ocean Modeling System (ROMS). To download and process the setup data,

  1. Download the ROMS data provided by Whitt et al. 2022. The forcing, boundary conditions, and initial conditions data are archived in data_les.tar. Place data_les.tar in the root directory TropicalTurbulantics.jl/.

  2. Untar data_les.tar to the directory TropicalTurbulantics.jl/data_les:

tar xvf data_les.tar
  1. Run the julia script process_data.jl, which loads the NetCDF data, removes spurious values, plots the cleaned data, and saves the cleaned data in a JLD2 file:
julia --project process_data.jl

The resulting plot should look like this:

forcing_and_bcs_and_ics_0N140W

Running and analyzing the single column model

julia --project tropical_turbulence_single_column_model.jl

The simulation takes 4-5 minutes on an M1 MacBook pro with 1 thread. After the simulation is run, the results may be plotted with

julia --project plot_single_column_simulation.jl

The result should look something like

tropical_turbulence_single_column_simulation

About

LES of the equatorial ocean using Oceananigans following Whitt et al. 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages