Skip to main content

rgfrosh (Real Gas FROzen SHock)

CI codecov pypi versions Code style: black

license status DOI

This project is a solver for the frozen shock equations1 developed in Python at the University of Central Florida. The original RGFROSH was developed in FORTRAN at Stanford University by D. F. Davidson and R. K. Hanson using real gas subroutines for CHEMKIN23.

rgfrosh is a package for calculating conditions behind incident and reflected shock in a shock tube. As its name suggests, rgfrosh was written primarily for solving the frozen shock equations for a real gas equation of state; however, the implementation also allows for the use of the ideal gas equation of state or even custom equations of state. Additionally, an implementation of the ideal shock equations is also available for comparison.

Documentation

The documentation site provides a detailed user guide and reference for the package.

Installation

rgfrosh can be installed using

pip install rgfrosh

which also installs required dependencies. Cantera or CoolProp are optional and must be installed separately if desired.

Contributing

For any bugs or feature requests, create an issue on the issue tracker.

After cloning the repository, the development environment can be set up with

pip install -r requirements.txt

Before creating a pull request, be sure to lint

black .

and run the automated tests

pytest

These checks will be performed automatically for all pull requests along with test coverage comparisons.

Cite

To cite rgfrosh click Cite this repositoryon the right side of the GitHub repository page to export the citation for the latest release of rgfrosh. It is also encouraged to cite the original paper1 for the frozen shock equations that this work is a derived from.

  1. Davidson, D.F. and Hanson, R.K. (1996), Real Gas Corrections in Shock Tube Studies at High Pressures. Isr. J. Chem., 36: 321-326. https://doi.org/10.1002/ijch.199600044 ↩ ↩2

  2. P. Barry Butler, "Real Gas Equations of State for Chemkin" Sandia Report No. SAND88-3188 (1988). https://doi.org/10.2172/6224858 ↩

  3. R. G. Schmitt, P. B. Butler, N. B. French "Chemkin real gas: a Fortran package for analaysis of thermodynamic properties and chemical kinetics in non-ideal systems," U. of Iowa Report UIME PPB 93-006 (1994). ↩

Metadata

Release files for rgfrosh 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rgfrosh 0.3.0
File Size Uploaded
rgfrosh-0.3.0.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rgfrosh 0.3.0
File Interpreter ABI Platform
rgfrosh-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.1 kB

Release files / rgfrosh-0.3.0.tar.gz

Download URL rgfrosh-0.3.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a43ef12d9d52584a69447153241275c51e16a735e6ef0f88c0cba0f39fe1504c
BLAKE2b-256 checksum
How to use checksums
7ed940638a578b030590ae1e3c0dfed68f9925ba36e81f45dffcff2d6e681779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / rgfrosh-0.3.0-py3-none-any.whl

Download URL rgfrosh-0.3.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1ad62221d30fb5b32a17b69dc66d4ce986b2f2baadd5ac0ebea2cc1d9aa14d0
BLAKE2b-256 checksum
How to use checksums
2bbc2f0cf98c7052f7be78c21ff3a330a20bfd8010638864f627295d243516a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page