26 #ifndef GRINS_CANTERA_EVALUATOR_H
27 #define GRINS_CANTERA_EVALUATOR_H
29 #include "grins_config.h"
31 #ifdef GRINS_HAVE_CANTERA
56 libMesh::Real
M(
unsigned int species )
const;
58 libMesh::Real
M_mix(
const std::vector<libMesh::Real>& mass_fractions )
const;
60 libMesh::Real
R(
unsigned int species )
const;
62 libMesh::Real
R_mix(
const std::vector<libMesh::Real>& mass_fractions )
const;
64 libMesh::Real
X(
unsigned int species, libMesh::Real
M, libMesh::Real mass_fraction )
const;
66 void X( libMesh::Real
M,
const std::vector<libMesh::Real>& mass_fractions,
67 std::vector<libMesh::Real>& mole_fractions )
const;
74 libMesh::Real
cp(
const libMesh::Real& T,
const libMesh::Real P,
const std::vector<libMesh::Real>& Y );
76 libMesh::Real
cv(
const libMesh::Real& T,
const libMesh::Real P,
const std::vector<libMesh::Real>& Y );
78 libMesh::Real
h_s(
const libMesh::Real& T,
unsigned int species );
81 libMesh::Real
mu(
const libMesh::Real& T,
const libMesh::Real P,
const std::vector<libMesh::Real>& Y );
83 libMesh::Real
k(
const libMesh::Real& T,
const libMesh::Real P,
const std::vector<libMesh::Real>& Y );
85 void mu_and_k(
const libMesh::Real& T,
const libMesh::Real P,
const std::vector<libMesh::Real>& Y,
86 libMesh::Real&
mu, libMesh::Real&
k );
89 const libMesh::Real rho,
90 const libMesh::Real
cp,
91 const std::vector<libMesh::Real>& Y,
92 libMesh::Real&
mu, libMesh::Real&
k,
93 std::vector<libMesh::Real>& D );
96 void omega_dot(
const libMesh::Real& T, libMesh::Real rho,
97 const std::vector<libMesh::Real> mass_fractions,
142 libMesh::Real
CanteraEvaluator::X(
unsigned int species, libMesh::Real M, libMesh::Real mass_fraction )
const
144 return _chem.
X(species,M,mass_fraction);
149 std::vector<libMesh::Real>& mole_fractions )
const
151 _chem.
X(M,mass_fractions,mole_fractions);
169 const libMesh::Real P,
170 const std::vector<libMesh::Real>& Y )
177 const libMesh::Real P,
178 const std::vector<libMesh::Real>& Y )
191 const libMesh::Real P,
192 const std::vector<libMesh::Real>& Y )
199 const libMesh::Real P,
200 const std::vector<libMesh::Real>& Y )
207 const libMesh::Real P,
208 const std::vector<libMesh::Real>& Y,
209 libMesh::Real& mu, libMesh::Real& k )
217 const libMesh::Real rho,
218 const libMesh::Real cp,
219 const std::vector<libMesh::Real>& Y,
220 libMesh::Real& mu, libMesh::Real& k,
221 std::vector<libMesh::Real>& D )
228 const std::vector<libMesh::Real> mass_fractions,
229 std::vector<libMesh::Real>& omega_dot )
236 #endif // GRINS_HAVE_CANTERA
238 #endif // GRINS_CANTERA_EVALUATOR_H
libMesh::Real R(unsigned int species) const
libMesh::Real X(unsigned int species, libMesh::Real M, libMesh::Real mass_fraction) const
libMesh::Real cp(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
CanteraKinetics _kinetics
libMesh::Real cv(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)
libMesh::Real M_mix(const std::vector< libMesh::Real > &mass_fractions) const
void omega_dot(const libMesh::Real &T, const libMesh::Real rho, const std::vector< libMesh::Real > &mass_fractions, std::vector< libMesh::Real > &omega_dot) const
Wrapper class for evaluating thermo properties using Cantera.
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 R(unsigned int species) const
CanteraTransport _transport
std::string species_name(unsigned int species_index) const
CanteraThermodynamics _thermo
unsigned int species_index(const std::string &species_name) const
unsigned int species_index(const std::string &species_name) const
libMesh::Real cv(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
libMesh::Real cp(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
std::string species_name(unsigned int species_index) const
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)
Wrapper class for evaluating thermochemistry and transport properties using Cantera.
libMesh::Real M_mix(const std::vector< libMesh::Real > &mass_fractions) const
libMesh::Real M(unsigned int species) const
libMesh::Real R_mix(const std::vector< libMesh::Real > &mass_fractions) const
libMesh::Real mu(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 R_mix(const std::vector< libMesh::Real > &mass_fractions) const
Wrapper class for storing state for computing thermochemistry and transport properties using Cantera...
libMesh::Real mu(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
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)
libMesh::Real X(unsigned int species, libMesh::Real M, libMesh::Real mass_fraction) const
Wrapper class for evaluating transport properties using Cantera.
libMesh::Real h(const libMesh::Real &T, unsigned int species)
libMesh::Real M(unsigned int species) const
libMesh::Real k(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)