Isothermal disc hydrodynamics with a Roe solver
Project description
Pyrodeo
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.
Features
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')
sim.evolve([0.25])
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.
Documentation
The full documentation can be found at
Changelog
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.
Source Distribution
Built Distribution
File details
Details for the file pyrodeo-0.0.9.tar.gz
.
File metadata
- Download URL: pyrodeo-0.0.9.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c68a69307718c06225d88fa6e2533502a91a618e787eec92889048c1779e497 |
|
MD5 | 7f6f084f2a68db241b5b1b0d330bd15c |
|
BLAKE2b-256 | b9485495cd57273e889a0a91f2b7e2b0f746f42d468f4afd9ea81ec1e49b9769 |
File details
Details for the file pyrodeo-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: pyrodeo-0.0.9-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afbe886c0238494a7f2706fa13a3311c13c9ff6aa9c707d30438dcf3e464662c |
|
MD5 | 10b00c2564df2fced1757c6f4d6eb701 |
|
BLAKE2b-256 | ef335f25c542682b8c0408c08610d70fd6e4383fc960aac423c0fefee9d6a3f0 |