26 #include "grins_config.h"
28 #ifdef GRINS_HAVE_ANTIOCH
42 template<
typename Thermo>
46 _temp_cache( new Antioch::TempCache<
libMesh::Real>(1.0) )
51 template<
typename Thermo>
53 const std::vector<libMesh::Real> mass_fractions,
54 std::vector<libMesh::Real>& omega_dot )
56 this->check_and_reset_temp_cache(T);
58 _kinetics->omega_dot( *(_temp_cache.get()), rho, mass_fractions, omega_dot );
64 const std::vector<libMesh::Real>& Y )
66 this->check_and_reset_temp_cache(T);
67 return _thermo->cp( *(_temp_cache.get()), Y );
73 const std::vector<libMesh::Real>& Y )
75 return _thermo->
cp( T, T, Y );
81 const std::vector<libMesh::Real>& Y )
83 this->check_and_reset_temp_cache(T);
84 return _thermo->cv( *(_temp_cache.get()), Y );
90 const std::vector<libMesh::Real>& Y )
92 return _thermo->
cv( T, T, Y );
98 this->check_and_reset_temp_cache(T);
100 return _thermo->h( *(_temp_cache.get()), species );;
106 return _thermo->h_tot( species, T ) + _chem.h_stat_mech_ref_correction(species);
111 #endif //GRINS_HAVE_ANTIOCH
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)
Wrapper class for evaluating chemistry and thermo properties using Antioch.
Wrapper class for evaluating chemical kinetics using Antioch.
void omega_dot(const libMesh::Real &T, libMesh::Real rho, const std::vector< libMesh::Real > mass_fractions, std::vector< libMesh::Real > &omega_dot)
Wrapper class for storing state for Antioch thermo and kinetics.
void build_thermo(const AntiochMixture &mixture)