Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Relativistic Reactive Riemann problem solver for Deflagrations and Detonations

Project Description

Relativistic Reactive Riemann problem solver for Deflagrations and Detonations

This extends standard solutions of the relativistic Riemann Problem to include a reaction term.

Installation

A standard:

python setup.py install

or:

pip install r3d2

should work.

Usage

Import the equations of state, State class, and Riemann Problem class:

>>> from r3d2 import eos_defns, State, RiemannProblem

Set up an equation of state:

>>> eos = eos_defn.eos_gamma_law(5.0/3.0)

Set up the left and right states:

>>> U_L = State(rho=1.0, v=0.0, vt=0.0, eps=1.5, eos=eos)
>>> U_R = State(rho=0.125, v=0.0, vt=0.0, eps=1.2, eos=eos)

Solve the Riemann Problem:

>>> rp = RiemannProblem(U_L, U_R)

The output can be examined for details of the solution and its wave structure. However, the classes are optimized for display in a Jupyter notebook. See the documentation for more detail.

Documentation

The documentation is available at http://r3d2.readthedocs.org .

Release History

Release History

This version
History Node

1.0

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
r3d2-1.0-py2.py3-none-any.whl (15.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel May 6, 2016
r3d2-1.0.tar.gz (13.2 kB) Copy SHA256 Checksum SHA256 Source May 6, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting