Skip to content

rohitsupekar/active_matter_spheres

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository for:

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).

Major dependency:

Dedalus (install using conda)

For a standalone run, do the following:

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.9%
  • Other 1.1%