Command-Line Tools¶
nshock-eq¶
usage: nshock-eq [-h] x.x {subcommand}
Normal shock table lookup for an equilibrium reacting gas
positional arguments:
x.x Upstream velocity [m/s]
options:
-h, --help show this help message and exit
subcommands:
choose one of the following
pressure-temperature (pt, PT, pT) pressure & temperature
density-temperature (rt, rhoT, rhot) density & temperature
Running help on any of these subcommands will give further details of their required inputs.
For instance, running nshock-eq 1e3 PT --help will yield:
usage: nshock-eq x.x pressure-temperature [-h]
[--mole-fraction MOLE_FRACTION] [--mechanism MECHANISM] x.x x.x
Compute normal shock outputs by pressure and temperature
positional arguments:
x.x Upstream pressure [Pa]
x.x Upstream temperature [K]
options:
-h, --help show this help message and exit
--mole-fraction, -X MOLE_FRACTION Mole fractions for upstream species
--mechanism MECHANISM Reaction mechanism