GRINS-0.6.0
|
Wrapper class for evaluating thermochemistry and transport properties using Cantera. More...
#include <cantera_evaluator.h>
Public Member Functions | |
CanteraEvaluator (CanteraMixture &mixture) | |
~CanteraEvaluator () | |
libMesh::Real | M (unsigned int species) const |
libMesh::Real | M_mix (const std::vector< libMesh::Real > &mass_fractions) const |
libMesh::Real | R (unsigned int species) const |
libMesh::Real | R_mix (const std::vector< libMesh::Real > &mass_fractions) const |
libMesh::Real | X (unsigned int species, libMesh::Real M, libMesh::Real mass_fraction) const |
void | X (libMesh::Real M, const std::vector< libMesh::Real > &mass_fractions, std::vector< libMesh::Real > &mole_fractions) const |
unsigned int | species_index (const std::string &species_name) const |
std::string | species_name (unsigned int species_index) const |
libMesh::Real | cp (const CachedValues &cache, unsigned int qp) const |
libMesh::Real | cv (const CachedValues &cache, unsigned int qp) const |
libMesh::Real | h_s (const CachedValues &cache, unsigned int qp, unsigned int species) const |
void | h_s (const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &h) const |
libMesh::Real | h_s (const libMesh::Real &T, unsigned int species) |
libMesh::Real | mu (const CachedValues &cache, unsigned int qp) const |
libMesh::Real | k (const CachedValues &cache, unsigned int qp) const |
void | mu_and_k (const CachedValues &cache, unsigned int qp, libMesh::Real &mu, libMesh::Real &k) |
void | D (const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &D) const |
void | omega_dot (const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &omega_dot) const |
void | omega_dot (const libMesh::Real &T, libMesh::Real rho, const std::vector< libMesh::Real > mass_fractions, std::vector< libMesh::Real > &omega_dot) |
libMesh::Real | cp (const libMesh::Real &, const std::vector< libMesh::Real > &) |
libMesh::Real | mu (const libMesh::Real &, const std::vector< libMesh::Real > &) |
libMesh::Real | k (const libMesh::Real &, const std::vector< libMesh::Real > &) |
void | D (const libMesh::Real, const libMesh::Real, const libMesh::Real, std::vector< libMesh::Real > &) |
Protected Attributes | |
CanteraMixture & | _chem |
CanteraThermodynamics | _thermo |
CanteraTransport | _transport |
CanteraKinetics | _kinetics |
Private Member Functions | |
CanteraEvaluator () | |
Wrapper class for evaluating thermochemistry and transport properties using Cantera.
This class is expected to be constructed after threads have been forked and will only live during the lifetime of the thread. Note that this documentation will always be built regardless if Cantera is included in the GRINS build or not. Check configure output to confirm that Cantera was included in the build if you wish to use it.
Definition at line 48 of file cantera_evaluator.h.
GRINS::CanteraEvaluator::CanteraEvaluator | ( | CanteraMixture & | mixture | ) |
Definition at line 39 of file cantera_evaluator.C.
GRINS::CanteraEvaluator::~CanteraEvaluator | ( | ) |
Definition at line 48 of file cantera_evaluator.C.
|
private |
|
inline |
Definition at line 201 of file cantera_evaluator.h.
References _thermo, and GRINS::CanteraThermodynamics::cp().
Referenced by main().
|
inline |
Definition at line 103 of file cantera_evaluator.h.
|
inline |
Definition at line 207 of file cantera_evaluator.h.
References _thermo, and GRINS::CanteraThermodynamics::cv().
Referenced by main().
|
inline |
Definition at line 253 of file cantera_evaluator.h.
References _transport, and GRINS::CanteraTransport::D().
Referenced by main().
|
inline |
Definition at line 124 of file cantera_evaluator.h.
|
inline |
Definition at line 213 of file cantera_evaluator.h.
References _thermo, and GRINS::CanteraThermodynamics::h().
Referenced by main().
|
inline |
Definition at line 219 of file cantera_evaluator.h.
References _thermo, and GRINS::CanteraThermodynamics::h().
|
inline |
Definition at line 226 of file cantera_evaluator.h.
References _thermo, and GRINS::CanteraThermodynamics::h().
|
inline |
Definition at line 238 of file cantera_evaluator.h.
References _transport, and GRINS::CanteraTransport::k().
Referenced by main().
|
inline |
Definition at line 117 of file cantera_evaluator.h.
|
inline |
Definition at line 151 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::M().
|
inline |
Definition at line 157 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::M_mix().
|
inline |
Definition at line 232 of file cantera_evaluator.h.
References _transport, and GRINS::CanteraTransport::mu().
Referenced by main().
|
inline |
Definition at line 110 of file cantera_evaluator.h.
|
inline |
Definition at line 244 of file cantera_evaluator.h.
References _transport, GRINS::CanteraTransport::k(), and GRINS::CanteraTransport::mu().
|
inline |
Definition at line 260 of file cantera_evaluator.h.
References _kinetics, and GRINS::CanteraKinetics::omega_dot().
Referenced by main().
|
inline |
Definition at line 267 of file cantera_evaluator.h.
References _kinetics, and GRINS::CanteraKinetics::omega_dot_TRY().
|
inline |
Definition at line 163 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::R().
|
inline |
Definition at line 169 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::R_mix().
|
inline |
Definition at line 189 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::species_index().
|
inline |
Definition at line 195 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::species_name().
|
inline |
Definition at line 175 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::X().
|
inline |
Definition at line 181 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::X().
|
protected |
Definition at line 135 of file cantera_evaluator.h.
Referenced by M(), M_mix(), R(), R_mix(), species_index(), species_name(), and X().
|
protected |
Definition at line 141 of file cantera_evaluator.h.
Referenced by omega_dot().
|
protected |
Definition at line 137 of file cantera_evaluator.h.
|
protected |
Definition at line 139 of file cantera_evaluator.h.
Referenced by D(), k(), mu(), and mu_and_k().