Skip to main content

Isothermal disc hydrodynamics with a Roe solver

Project description


Pyrodeo is a Python implementation of the isothermal hydrodynamic solver RODEO (ROe solver for Disc-Embedded Objects). Its main purpose is to perform numerical simulations of astrophysical (gas) discs.


  • Two- and three-dimensional inviscid isothermal hydrodynamics using a Riemann solver.
  • Second order in space and time in regions of smooth flow.
  • Different geometries: Cartesian, Shearing Sheet, cylindrical coordinates and spherical coordinates.
  • HDF5 output

Quick start

Pyrodeo can be installed from the command line simply by entering:

pip install pyrodeo

A simple simulation can be created and run by entering:

import pyrodeo
sim = pyrodeo.Simulation.from_geom('cart')

Since the standard initial conditions consist of constant density and pressure and zero velocity, no visible evolution takes place. For more interesting examples, see the documentation.


The full documentation can be found at


Version 0.0.9

  • Add ‘symmetric’ boundary condition
  • Allow different boundary conditions inner/outer boundary
  • Rename ‘reflect’ boundary to ‘closed’ boundary and ‘nonreflect’ to ‘nonreflecting’
  • Various small fixes

Version 0.0.8

  • Small fixes in tests and documentation

Version 0.0.7

  • 3D isothermal
  • Spherical coordinates
  • Logarithmic radial coordinate
  • Various small fixes

Version 0.0.6

  • Make source_func a source term integrator rather than just returning the extra source terms.
  • Move tests inside package.

Version 0.0.5

  • Initial release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyrodeo, version 0.0.9
Filename, size File type Python version Upload date Hashes
Filename, size pyrodeo-0.0.9-py3-none-any.whl (22.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyrodeo-0.0.9.tar.gz (20.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page