27 #ifndef ANTIOCH_IDEAL_GAS_MICRO_THERMO_H
28 #define ANTIOCH_IDEAL_GAS_MICRO_THERMO_H
33 template <
typename CoeffType>
34 class ChemicalMixture;
36 template <
typename CoeffType>
40 template <
typename MacroThermo,
typename CoeffType =
double>
48 template <
typename StateType>
50 cv_vib(
unsigned int s, const StateType & T) const
55 template <typename StateType>
57 cv_vib_over_R(
unsigned int s, const StateType & T) const
62 const CoeffType cv_rot(
unsigned int s) const;
68 const CoeffType
cv_trans(
unsigned int s) const;
74 const CoeffType
cv_tr(
unsigned int s) const;
84 template <typename MacroThermo, typename CoeffType>
93 template <
typename MacroThermo,
typename CoeffType>
100 template <
typename MacroThermo,
typename CoeffType>
104 return _chem_mix.chemical_species()[s]->n_tr_dofs();
107 template <
typename MacroThermo,
typename CoeffType>
114 template <
typename MacroThermo,
typename CoeffType>
123 template <
typename MacroThermo,
typename CoeffType>
130 template <
typename MacroThermo,
typename CoeffType>
134 return CoeffType(1.5)*
_chem_mix.R(species);
137 template <
typename MacroThermo,
typename CoeffType>
141 return CoeffType(1.5);
const CoeffType cv_rot_over_R(unsigned int s) const
cv_rot/R
Antioch::enable_if_c< is_eigen< T >::value, typename value_type< T >::type >::type max(const T &in)
const CoeffType cv_tr(unsigned int s) const
cv_trans-rot
const CoeffType cv_tr_over_R(unsigned int s) const
cv_trans_rot/R
const MacroThermo & _ext_therm
const CoeffType cv_trans_over_R(unsigned int s) const
cv_trans/R
const ANTIOCH_AUTO(StateType) cv_vib(unsigned int s
cv_vib
max(const _Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &a, const _Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &b) ANTIOCH_AUTOFUNC(_Matrix< _Scalar ANTIOCH_COMMA _Rows ANTIOCH_COMMA _Cols ANTIOCH_COMMA _Options ANTIOCH_COMMA _MaxRows ANTIOCH_COMMA _MaxCols >
const CoeffType cv_trans(unsigned int s) const
cv_trans
Class storing chemical mixture properties.
const ChemicalMixture< CoeffType > & _chem_mix
The parameters are reduced parameters.
IdealGasMicroThermo(const MacroThermo &ext_thermo, const ChemicalMixture< CoeffType > &chem_mix)
_Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > zero_clone(const _Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &ex)
const const StateType &T const ANTIOCH_AUTOFUNC(StateType,(_chem_mix.chemical_species()[s]->n_tr_dofs()< CoeffType(2.))?zero_clone(T):_ext_therm.cv(TempCache< StateType >(T), s)-this->cv_tr(s)) template< typename StateType > const ANTIOCH_AUTO(StateType) cv_vib_over_R(unsigned int s
cv_vib/R