GRINS-0.8.0
|
#include <kinetics_test_base.h>
Public Member Functions | |
template<typename ThermoMixture , typename ThermoEvaluator > | |
void | test_omega_dot_common (ThermoMixture &mixture, NASAThermoTestBase &thermo_funcs, const std::vector< libMesh::Real > &Y, libMesh::Real rel_tol) |
Public Member Functions inherited from GRINSTesting::SpeciesTestBase | |
SpeciesTestBase () | |
libMesh::Real | molar_mass (unsigned int idx) |
libMesh::Real | R_species (unsigned int idx) |
Protected Attributes | |
unsigned int | _n_reactions |
std::vector< libMesh::Real > | _Ea_coeffs |
std::vector< libMesh::Real > | _preexp_coeffs |
std::vector< libMesh::Real > | _temp_exp_coeffs |
std::vector< std::vector< libMesh::Real > > | _three_body_coeffs |
std::vector< bool > | _is_three_body_rxn |
std::vector< std::vector< libMesh::Real > > | _reactant_stoich_coeffs |
std::vector< std::vector< libMesh::Real > > | _product_stoich_coeffs |
Protected Attributes inherited from GRINSTesting::SpeciesTestBase | |
unsigned int | _N2_idx |
unsigned int | _O2_idx |
unsigned int | _O_idx |
unsigned int | _N_idx |
unsigned int | _NO_idx |
std::vector< unsigned int > | _active_species |
Private Member Functions | |
void | compute_reaction_rates (libMesh::Real T, const std::vector< libMesh::Real > &molar_densities, NASAThermoTestBase &thermo_funcs, std::vector< libMesh::Real > &forward_rates, std::vector< libMesh::Real > &backward_rates) |
libMesh::Real | eq_constant (libMesh::Real T, std::vector< libMesh::Real > &reactant_stoich_coeffs, std::vector< libMesh::Real > &product_stoich_coeffs, NASAThermoTestBase &thermo_funcs) |
Definition at line 42 of file kinetics_test_base.h.
|
inlineprivate |
Definition at line 126 of file kinetics_test_base.h.
References GRINSTesting::SpeciesTestBase::_active_species, _n_reactions, GRINSTesting::ThermochemTestCommon::arrhenius_rate(), GRINSTesting::ThermochemTestCommon::compute_third_body_molar_density(), and eq_constant().
Referenced by test_omega_dot_common().
|
inlineprivate |
Definition at line 169 of file kinetics_test_base.h.
References GRINSTesting::NASAThermoTestBase::h_RT_exact(), GRINS::Constants::R_universal, and GRINSTesting::NASAThermoTestBase::s_R_exact().
Referenced by compute_reaction_rates().
|
inline |
Definition at line 47 of file kinetics_test_base.h.
References GRINSTesting::SpeciesTestBase::_active_species, _n_reactions, _product_stoich_coeffs, _reactant_stoich_coeffs, GRINSTesting::TestingUtils::abs_tol_from_rel_tol(), compute_reaction_rates(), and GRINSTesting::SpeciesTestBase::molar_mass().
|
protected |
Definition at line 114 of file kinetics_test_base.h.
Referenced by GRINSTesting::AirKineticsTestBase::init_air_kinetics().
|
protected |
Definition at line 119 of file kinetics_test_base.h.
Referenced by GRINSTesting::AirKineticsTestBase::init_air_kinetics().
|
protected |
Definition at line 112 of file kinetics_test_base.h.
Referenced by compute_reaction_rates(), GRINSTesting::AirKineticsTestBase::init_air_kinetics(), and test_omega_dot_common().
|
protected |
Definition at line 115 of file kinetics_test_base.h.
Referenced by GRINSTesting::AirKineticsTestBase::init_air_kinetics().
|
protected |
Definition at line 122 of file kinetics_test_base.h.
Referenced by GRINSTesting::AirKineticsTestBase::init_air_kinetics(), and test_omega_dot_common().
|
protected |
Definition at line 121 of file kinetics_test_base.h.
Referenced by GRINSTesting::AirKineticsTestBase::init_air_kinetics(), and test_omega_dot_common().
|
protected |
Definition at line 116 of file kinetics_test_base.h.
Referenced by GRINSTesting::AirKineticsTestBase::init_air_kinetics().
|
protected |
Definition at line 118 of file kinetics_test_base.h.
Referenced by GRINSTesting::AirKineticsTestBase::init_air_kinetics().