GRINS-0.8.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 libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y) |
libMesh::Real | cv (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y) |
libMesh::Real | h_s (const libMesh::Real &T, unsigned int species) |
libMesh::Real | mu (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y) |
libMesh::Real | k (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y) |
void | mu_and_k (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y, libMesh::Real &mu, libMesh::Real &k) |
void | mu_and_k_and_D (const libMesh::Real T, const libMesh::Real rho, const libMesh::Real cp, const std::vector< libMesh::Real > &Y, libMesh::Real &mu, libMesh::Real &k, std::vector< libMesh::Real > &D) |
void | omega_dot (const libMesh::Real &T, libMesh::Real rho, const std::vector< libMesh::Real > mass_fractions, std::vector< libMesh::Real > &omega_dot) |
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.
|
inline |
Definition at line 53 of file cantera_evaluator.h.
|
private |
|
inline |
Definition at line 168 of file cantera_evaluator.h.
References _thermo, and GRINS::CanteraThermodynamics::cp().
|
inline |
Definition at line 176 of file cantera_evaluator.h.
References _thermo, and GRINS::CanteraThermodynamics::cv().
|
inline |
Definition at line 184 of file cantera_evaluator.h.
References _thermo, and GRINS::CanteraThermodynamics::h().
|
inline |
Definition at line 198 of file cantera_evaluator.h.
References _transport, and GRINS::CanteraTransport::k().
|
inline |
Definition at line 118 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::M().
|
inline |
Definition at line 124 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::M_mix().
|
inline |
Definition at line 190 of file cantera_evaluator.h.
References _transport, and GRINS::CanteraTransport::mu().
|
inline |
Definition at line 206 of file cantera_evaluator.h.
References _transport, GRINS::CanteraTransport::k(), and GRINS::CanteraTransport::mu().
|
inline |
Definition at line 216 of file cantera_evaluator.h.
References _transport, and GRINS::CanteraTransport::mu_and_k_and_D().
|
inline |
Definition at line 227 of file cantera_evaluator.h.
References _kinetics, and GRINS::CanteraKinetics::omega_dot().
|
inline |
Definition at line 130 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::R().
|
inline |
Definition at line 136 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::R_mix().
|
inline |
Definition at line 156 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::species_index().
|
inline |
Definition at line 162 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::species_name().
|
inline |
Definition at line 142 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::X().
|
inline |
Definition at line 148 of file cantera_evaluator.h.
References _chem, and GRINS::CanteraMixture::X().
|
protected |
Definition at line 102 of file cantera_evaluator.h.
Referenced by M(), M_mix(), R(), R_mix(), species_index(), species_name(), and X().
|
protected |
Definition at line 108 of file cantera_evaluator.h.
Referenced by omega_dot().
|
protected |
Definition at line 104 of file cantera_evaluator.h.
|
protected |
Definition at line 106 of file cantera_evaluator.h.
Referenced by k(), mu(), mu_and_k(), and mu_and_k_and_D().