Skip to content

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

92 Commits

Folders and files

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 grupo1@eady.uib.es
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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages