GRINS-0.6.0
|
Wrapper class for Antioch::ChemicalMixture. More...
#include <antioch_chemistry.h>
Public Member Functions | |
AntiochChemistry (const GetPot &input) | |
virtual | ~AntiochChemistry () |
libMesh::Real | M (unsigned int species) const |
Species molar mass (molecular weight), [kg/mol]. More... | |
libMesh::Real | M_mix (const std::vector< libMesh::Real > &mass_fractions) const |
Mixture molar mass (molecular weight), [kg/mol]. More... | |
libMesh::Real | R (unsigned int species) const |
Species gas constant, [J/kg-K]. More... | |
libMesh::Real | R_mix (const std::vector< libMesh::Real > &mass_fractions) const |
Mixture gas constant, [J/kg-K]. More... | |
libMesh::Real | X (unsigned int species, libMesh::Real M, libMesh::Real mass_fraction) const |
Species mole fraction, unitless. More... | |
void | X (libMesh::Real M, const std::vector< libMesh::Real > &mass_fractions, std::vector< libMesh::Real > &mole_fractions) const |
Mole fraction for all species, unitless. More... | |
libMesh::Real | molar_density (const unsigned int species, const libMesh::Real rho, const libMesh::Real mass_fraction) const |
Species molar density, [mol/m^3]. More... | |
void | molar_densities (const libMesh::Real rho, const std::vector< libMesh::Real > &mass_fractions, std::vector< libMesh::Real > &molar_densities) const |
Molar density for all species, [mol/m^3]. More... | |
unsigned int | n_species () const |
unsigned int | species_index (const std::string &species_name) const |
std::string | species_name (unsigned int species_index) const |
const Antioch::ChemicalMixture< libMesh::Real > & | chemical_mixture () const |
Accessor to underlying Antioch object. More... | |
const AntiochChemistry & | chemistry () const |
Accessor for this class. More... | |
Protected Attributes | |
boost::scoped_ptr< Antioch::ChemicalMixture< libMesh::Real > > | _antioch_gas |
Private Member Functions | |
AntiochChemistry () | |
Wrapper class for Antioch::ChemicalMixture.
This class is expected to be constructed before threads have been forked and will live during the whole program. By default, Antioch is working in SI units. Note that this documentation will always be built regardless if Antioch is included in the GRINS build or not. Check configure output to confirm that Antioch was included in the build.
Definition at line 60 of file antioch_chemistry.h.
GRINS::AntiochChemistry::AntiochChemistry | ( | const GetPot & | input | ) |
Definition at line 38 of file antioch_chemistry.C.
References _antioch_gas, and n_species().
|
virtual |
Definition at line 60 of file antioch_chemistry.C.
|
private |
|
inline |
Accessor to underlying Antioch object.
Definition at line 178 of file antioch_chemistry.h.
References _antioch_gas.
Referenced by GRINS::AntiochEvaluator< Thermo >::specialized_build_thermo().
|
inline |
Accessor for this class.
Definition at line 201 of file antioch_chemistry.h.
|
inline |
Species molar mass (molecular weight), [kg/mol].
Definition at line 122 of file antioch_chemistry.h.
References _antioch_gas.
|
inline |
Mixture molar mass (molecular weight), [kg/mol].
Definition at line 128 of file antioch_chemistry.h.
References _antioch_gas.
Referenced by main().
|
inline |
Molar density for all species, [mol/m^3].
Definition at line 192 of file antioch_chemistry.h.
References _antioch_gas.
Referenced by GRINS::AntiochKinetics::omega_dot().
|
inline |
Species molar density, [mol/m^3].
Definition at line 184 of file antioch_chemistry.h.
References _antioch_gas.
|
inline |
Definition at line 162 of file antioch_chemistry.h.
References _antioch_gas.
Referenced by AntiochChemistry(), GRINS::AntiochMixture::build_stat_mech_ref_correction(), do_transport_eval(), main(), and GRINS::AntiochKinetics::omega_dot().
|
inline |
Species gas constant, [J/kg-K].
R_universal/M(species)
Definition at line 134 of file antioch_chemistry.h.
References _antioch_gas.
|
inline |
Mixture gas constant, [J/kg-K].
Definition at line 140 of file antioch_chemistry.h.
References _antioch_gas.
Referenced by main(), and test_evaluator().
|
inline |
Definition at line 168 of file antioch_chemistry.h.
References _antioch_gas.
std::string GRINS::AntiochChemistry::species_name | ( | unsigned int | species_index | ) | const |
Definition at line 65 of file antioch_chemistry.C.
References _antioch_gas.
Referenced by do_transport_eval(), main(), and test_evaluator().
|
inline |
Species mole fraction, unitless.
Definition at line 146 of file antioch_chemistry.h.
References _antioch_gas.
Referenced by main().
|
inline |
Mole fraction for all species, unitless.
Definition at line 153 of file antioch_chemistry.h.
References _antioch_gas.
|
protected |
Definition at line 112 of file antioch_chemistry.h.
Referenced by AntiochChemistry(), GRINS::AntiochMixture::build_stat_mech_ref_correction(), chemical_mixture(), M(), M_mix(), molar_densities(), molar_density(), n_species(), R(), R_mix(), GRINS::AntiochWilkeTransportMixture< Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_thermo(), GRINS::AntiochWilkeTransportMixture< Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_viscosity(), species_index(), species_name(), and X().