Linearly forced fluid flow on a rotating sphere
R. Supekar, V. Heinonen, K. J. Burns & J. Dunkel, J. Fluid Mech, 892(A30), 2020
The code performs spectral simulations using Dedalus for the rotating formulation of the Genarlized Navier-Stokes equations on a sphere (Eqs. 2.3 here).
Dedalus (install using conda)
Activate the conda dedalus environment and go to the standalone directory:
conda activate dedalus
cd standalone
Specify the run parameters and output folder in standalone/runningSimulation.py
.
Run the script:
mpiexec -n <ncores> python3 runningSimulation.py
For an example of plotting and making a video from the saved data:
python3 plot_output.py