32 #ifndef ANTIOCH_WILKE_EVALUATOR_H
33 #define ANTIOCH_WILKE_EVALUATOR_H
46 template<
class MixtureViscosity,
class ThermalConductivity,
class CoeffType=
double>
53 const ThermalConductivity& conductivity );
58 template <
typename StateType,
typename VectorStateType>
59 StateType
mu(
const StateType& T,
60 const VectorStateType& mass_fractions )
const {
return _wilke_eval->
mu(T,mass_fractions);}
62 template <
typename StateType,
typename VectorStateType>
63 StateType
k(
const StateType& T,
64 const VectorStateType& mass_fractions )
const {
return _wilke_eval->
k(T,mass_fractions);}
66 template <
typename StateType,
typename VectorStateType>
68 const VectorStateType& mass_fractions,
74 template <
typename StateType,
typename VectorStateType>
76 const VectorStateType& mass_fractions,
82 template <
typename VectorStateType>
86 const VectorStateType& chi,
87 const unsigned int s )
const;
117 template<
class Viscosity,
class ThermalConductivity,
class CoeffType>
119 const Viscosity& viscosity,
120 const ThermalConductivity& )
121 : _transport_mixture( new
TransportMixture<CoeffType>(mixture.chem_mixture()) ),
124 _conductivity( new
MixtureConductivity<ThermalConductivity,CoeffType>(*_transport_mixture) ),
125 _micro_thermo( new typename ThermalConductivity::micro_thermo_type(mixture.chem_mixture()) ),
126 _wilke_eval(new Evaluator(*_wilke_mixture,*_diffusion,viscosity,*_conductivity))
129 Antioch::build_eucken_thermal_conductivity<typename ThermalConductivity::micro_thermo_type,CoeffType>(*
_conductivity, *
_micro_thermo );
132 template<
class Viscosity,
class ThermalConductivity,
class CoeffType>
136 delete _micro_thermo;
137 delete _conductivity;
139 delete _wilke_mixture;
140 delete _transport_mixture;
145 template<
class Viscosity,
class ThermalConductivity,
class CoeffType>
146 template <
typename VectorStateType>
150 const VectorStateType& chi,
151 const unsigned int s )
const
157 _wilke_eval->compute_mu_mu_sqrt( mu, mu_mu_sqrt);
159 return _wilke_eval->compute_phi( mu_mu_sqrt, chi, s );
164 #endif // ANTIOCH_WILKE_EVALUATOR_H
ThermalConductivity::micro_thermo_type * _micro_thermo
Viscosity species_viscosity_type
Deprecated. Use MixtureAveragedTransportEvaluator instead.
Container class for species viscosities.
value_type< VectorStateType >::type k(const StateType &T, const VectorStateType &mass_fractions) const
Mixture conducivity, in [W/m-K].
Compute transport properties using ``mixture averaged" model.
void compute_mu_chi(const StateType &T, const VectorStateType &mass_fractions, VectorStateType &mu, VectorStateType &chi) const
Helper function to reduce code duplication.
StateType k(const StateType &T, const VectorStateType &mass_fractions) const
MixtureDiffusion< ConstantLewisDiffusivity< CoeffType >, CoeffType > * _diffusion
This is dummy.
Compute species diffusivity based on constant Lewis number.
Container class for species binary diffusion models.
value_type< VectorStateType >::type mu(const StateType &T, const VectorStateType &mass_fractions) const
Mixture viscosity, in [Pa-s].
Class storing chemical mixture properties.
void mu_and_k(const StateType &T, const VectorStateType &mass_fractions, StateType &mu, StateType &k) const
MixtureConductivity< ThermalConductivity, CoeffType > * _conductivity
#define antioch_deprecated()
MixtureAveragedTransportEvaluator< ConstantLewisDiffusivity< CoeffType >, typename MixtureViscosity::species_viscosity_type, ThermalConductivity, CoeffType > Evaluator
StateType mu(const StateType &T, const VectorStateType &mass_fractions) const
MixtureAveragedTransportMixture< CoeffType > * _wilke_mixture
TransportMixture< CoeffType > * _transport_mixture
void init_constant(Vector &output, const Scalar &example)
The parameters are reduced parameters.
Antioch::value_type< VectorStateType >::type compute_phi(const VectorStateType &mu, const VectorStateType &chi, const unsigned int s) const
Helper function to reduce code duplication.
Mixture object for MixtureAveragedTransport model.
void compute_mu_chi(const StateType &T, const VectorStateType &mass_fractions, VectorStateType &mu, VectorStateType &chi) const
Helper function to reduce code duplication.
void mu_and_k(const StateType &T, const VectorStateType &mass_fractions, StateType &mu, StateType &k) const
Mixture viscosity and thermal conductivity, in [Pa-s], [W/m-K] respectively.