rizer.io.load_gas_data#

Attributes#

Functions#

load_atmospheric_gas_data(...)

Load thermodynamic, transport and radiation data of a gas at atmospheric pressure.

Module Contents#

rizer.io.load_gas_data.load_atmospheric_gas_data(gas_name: str) tuple[rizer.io.thermo_transport_data_reader.ThermoTransportDataReader, rizer.io.radiation_data_reader.RadiationDataReader]#

Load thermodynamic, transport and radiation data of a gas at atmospheric pressure.

The gas properties are computed in LTE (Local Thermodynamic Equilibrium, meaning that thermal and chemical equilibrium are assumed) at 1 atm pressure. For the radiation data, the emission radius is set to 1 mm, which is a typical value for the net emission coefficient (NEC) data used in plasma modeling. 0 mm would be only emission, but the plasma absorbs radiation as well, so 1 mm is a more realistic choice for the effective emission radius.

Parameters:

gas_name (str) – Name of the gas. Available gases are “Air”, “Ar”, “CH4”, “H2”, “He”, and “N2”.

Returns:

ThermoTransportDataReader and RadiationDataReader instances containing the data for the specified gas.

Return type:

tuple of ThermoTransportDataReader, RadiationDataReader

Raises:

ValueError – If the gas name is not found in the data sources, or if any required data source information is missing for the specified gas.

Example

>>> gas_name = "Air"
>>> thermo_transport_data, radiation_data = load_atmospheric_gas_data(gas_name)
>>> thermo_transport_data.plot_all(show=False)
rizer.io.load_gas_data.gas_name = 'Air'#