Scripts and materials for Waves and Instabilities in Geophysical Fluids course Master in Avanced Physics and Applied Mathematics
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
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
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