Skip to main content

A frozen shock solver for ideal and real gas equations of state.

Project description

rgfrosh (Real Gas FROzen SHock)

CI codecov pypi versions Code style: black

license status DOI

This project is a solver for the frozen shock equations[^1] 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 CHEMKIN[^2][^3].

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 paper[^1] 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]: 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).

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

rgfrosh-0.3.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rgfrosh-0.3.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file rgfrosh-0.3.0.tar.gz.

File metadata

  • Download URL: rgfrosh-0.3.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for rgfrosh-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a43ef12d9d52584a69447153241275c51e16a735e6ef0f88c0cba0f39fe1504c
MD5 296b3856b3900bab7bdff0f6c3793afb
BLAKE2b-256 7ed940638a578b030590ae1e3c0dfed68f9925ba36e81f45dffcff2d6e681779

See more details on using hashes here.

File details

Details for the file rgfrosh-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: rgfrosh-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for rgfrosh-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1ad62221d30fb5b32a17b69dc66d4ce986b2f2baadd5ac0ebea2cc1d9aa14d0
MD5 cb98743d6db787ff99593755048b0da3
BLAKE2b-256 2bbc2f0cf98c7052f7be78c21ff3a330a20bfd8010638864f627295d243516a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page