GRINS-0.6.0
|
Wrapper class for storing state for constant transport properties, including Antioch::ConstantLewisDiffusivity. More...
#include <antioch_constant_transport_mixture.h>
Public Types | |
typedef AntiochChemistry | ChemistryParent |
Public Member Functions | |
AntiochConstantTransportMixture (const GetPot &input) | |
virtual | ~AntiochConstantTransportMixture () |
libMesh::Real | mu () const |
const Conductivity & | conductivity () const |
const Antioch::ConstantLewisDiffusivity< libMesh::Real > & | diffusivity () const |
const Antioch::ReactionSet< libMesh::Real > & | reaction_set () const |
const Antioch::CEAThermoMixture< libMesh::Real > & | cea_mixture () const |
libMesh::Real | h_stat_mech_ref_correction (unsigned int species) const |
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 Member Functions | |
void | build_conductivity (const GetPot &input) |
void | build_stat_mech_ref_correction () |
Protected Attributes | |
libMesh::Real | _mu |
boost::scoped_ptr< Conductivity > | _conductivity |
boost::scoped_ptr< Antioch::ConstantLewisDiffusivity< libMesh::Real > > | _diffusivity |
boost::scoped_ptr< Antioch::ReactionSet< libMesh::Real > > | _reaction_set |
boost::scoped_ptr< Antioch::CEAThermoMixture< libMesh::Real > > | _cea_mixture |
std::vector< libMesh::Real > | _h_stat_mech_ref_correction |
boost::scoped_ptr< Antioch::ChemicalMixture< libMesh::Real > > | _antioch_gas |
Private Member Functions | |
AntiochConstantTransportMixture () | |
void | specialized_build_conductivity (const GetPot &input, boost::scoped_ptr< ConstantConductivity > &conductivity, conductivity_type< ConstantConductivity >) |
void | specialized_build_conductivity (const GetPot &input, boost::scoped_ptr< ConstantPrandtlConductivity > &conductivity, conductivity_type< ConstantPrandtlConductivity >) |
Wrapper class for storing state for constant transport properties, including Antioch::ConstantLewisDiffusivity.
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 57 of file antioch_constant_transport_mixture.h.
typedef AntiochChemistry GRINS::AntiochConstantTransportMixture< Conductivity >::ChemistryParent |
Definition at line 71 of file antioch_constant_transport_mixture.h.
GRINS::AntiochConstantTransportMixture< Thermo >::AntiochConstantTransportMixture | ( | const GetPot & | input | ) |
Definition at line 35 of file antioch_constant_transport_mixture.C.
References GRINS::AntiochConstantTransportMixture< Conductivity >::build_conductivity().
|
virtual |
Definition at line 60 of file antioch_constant_transport_mixture.C.
|
private |
|
inlineprotected |
Definition at line 85 of file antioch_constant_transport_mixture.h.
References GRINS::AntiochConstantTransportMixture< Conductivity >::specialized_build_conductivity().
Referenced by GRINS::AntiochConstantTransportMixture< Conductivity >::AntiochConstantTransportMixture().
|
protectedinherited |
Definition at line 71 of file antioch_mixture.C.
References GRINS::AntiochChemistry::_antioch_gas, GRINS::AntiochMixture::_h_stat_mech_ref_correction, and GRINS::AntiochChemistry::n_species().
Referenced by GRINS::AntiochMixture::AntiochMixture().
|
inlineinherited |
Definition at line 101 of file antioch_mixture.h.
References GRINS::AntiochMixture::_cea_mixture.
Referenced by GRINS::AntiochWilkeTransportMixture< Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_thermo(), and GRINS::AntiochEvaluator< Thermo >::specialized_build_thermo().
|
inlineinherited |
Accessor to underlying Antioch object.
Definition at line 178 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
Referenced by GRINS::AntiochEvaluator< Thermo >::specialized_build_thermo().
|
inlineinherited |
Accessor for this class.
Definition at line 201 of file antioch_chemistry.h.
|
inline |
Definition at line 120 of file antioch_constant_transport_mixture.h.
|
inline |
Definition at line 127 of file antioch_constant_transport_mixture.h.
|
inlineinherited |
Definition at line 107 of file antioch_mixture.h.
References GRINS::AntiochMixture::_h_stat_mech_ref_correction.
|
inlineinherited |
Species molar mass (molecular weight), [kg/mol].
Definition at line 122 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
|
inlineinherited |
Mixture molar mass (molecular weight), [kg/mol].
Definition at line 128 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
Referenced by main().
|
inlineinherited |
Molar density for all species, [mol/m^3].
Definition at line 192 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
Referenced by GRINS::AntiochKinetics::omega_dot().
|
inlineinherited |
Species molar density, [mol/m^3].
Definition at line 184 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
|
inline |
Definition at line 113 of file antioch_constant_transport_mixture.h.
|
inlineinherited |
Definition at line 162 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
Referenced by GRINS::AntiochChemistry::AntiochChemistry(), GRINS::AntiochMixture::build_stat_mech_ref_correction(), do_transport_eval(), main(), and GRINS::AntiochKinetics::omega_dot().
|
inlineinherited |
Species gas constant, [J/kg-K].
R_universal/M(species)
Definition at line 134 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
|
inlineinherited |
Mixture gas constant, [J/kg-K].
Definition at line 140 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
Referenced by main(), and test_evaluator().
|
inlineinherited |
Definition at line 95 of file antioch_mixture.h.
References GRINS::AntiochMixture::_reaction_set.
|
inlineprivate |
Definition at line 92 of file antioch_constant_transport_mixture.h.
Referenced by GRINS::AntiochConstantTransportMixture< Conductivity >::build_conductivity().
|
inlineprivate |
Definition at line 100 of file antioch_constant_transport_mixture.h.
|
inlineinherited |
Definition at line 168 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
|
inherited |
Definition at line 65 of file antioch_chemistry.C.
References GRINS::AntiochChemistry::_antioch_gas.
Referenced by do_transport_eval(), main(), and test_evaluator().
|
inlineinherited |
Species mole fraction, unitless.
Definition at line 146 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
Referenced by main().
|
inlineinherited |
Mole fraction for all species, unitless.
Definition at line 153 of file antioch_chemistry.h.
References GRINS::AntiochChemistry::_antioch_gas.
|
protectedinherited |
Definition at line 112 of file antioch_chemistry.h.
Referenced by GRINS::AntiochChemistry::AntiochChemistry(), GRINS::AntiochMixture::build_stat_mech_ref_correction(), GRINS::AntiochChemistry::chemical_mixture(), GRINS::AntiochChemistry::M(), GRINS::AntiochChemistry::M_mix(), GRINS::AntiochChemistry::molar_densities(), GRINS::AntiochChemistry::molar_density(), GRINS::AntiochChemistry::n_species(), GRINS::AntiochChemistry::R(), GRINS::AntiochChemistry::R_mix(), GRINS::AntiochWilkeTransportMixture< Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_thermo(), GRINS::AntiochWilkeTransportMixture< Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_viscosity(), GRINS::AntiochChemistry::species_index(), GRINS::AntiochChemistry::species_name(), and GRINS::AntiochChemistry::X().
|
protectedinherited |
Definition at line 81 of file antioch_mixture.h.
Referenced by GRINS::AntiochMixture::AntiochMixture(), and GRINS::AntiochMixture::cea_mixture().
|
protected |
Definition at line 77 of file antioch_constant_transport_mixture.h.
|
protected |
Definition at line 79 of file antioch_constant_transport_mixture.h.
|
protectedinherited |
Definition at line 83 of file antioch_mixture.h.
Referenced by GRINS::AntiochMixture::build_stat_mech_ref_correction(), and GRINS::AntiochMixture::h_stat_mech_ref_correction().
|
protected |
Definition at line 75 of file antioch_constant_transport_mixture.h.
|
protectedinherited |
Definition at line 79 of file antioch_mixture.h.
Referenced by GRINS::AntiochMixture::AntiochMixture(), and GRINS::AntiochMixture::reaction_set().