Skip to content

Scripts and materials for Waves and Instabilities in Geophysical Fluids course Master in Avanced Physics and Applied Mathematics

Notifications You must be signed in to change notification settings

dargueso/FluidsDynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FluidsDynamics

Scripts and materials for Waves and Instabilities in Geophysical Fluids course Master in Avanced Physics and Applied Mathematics

Set up steps in our machines (Dpt. of Physics, Group of Meteorology)

ssh [email protected]
ssh mc3
bash
unset PYTHONPATH
conda activate dedalus2
conda env config vars set OMP_NUM_THREADS=1
conda env config vars set NUMEXPR_MAX_THREADS=1
conda activate dedalus2

Code to open dedalus analyses

Instead of making plots on the fly, we can generate analyses and then open them with a python script. There is an example in Rayleigh-Taylor open_analysis_and_plot.py

Dependencies

These are the required modules and how to import them

import numpy as np
from dedalus import public as de
from dedalus.extras import flow_tools
import matplotlib.pyplot as plt
import h5py
import time

About

Scripts and materials for Waves and Instabilities in Geophysical Fluids course Master in Avanced Physics and Applied Mathematics

Resources

Stars

Watchers

Forks

Packages

No packages published