antioch-0.4.0
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType > Class Template Reference

Deprecated. Use MixtureAveragedTransportEvaluator instead. More...

#include <wilke_evaluator.h>

Public Member Functions

 WilkeEvaluator (const WilkeMixture< CoeffType > &mixture, const MixtureViscosity &viscosity, const ThermalConductivity &conductivity)
 
 ~WilkeEvaluator ()
 
template<typename StateType , typename VectorStateType >
StateType mu (const StateType &T, const VectorStateType &mass_fractions) const
 
template<typename StateType , typename VectorStateType >
StateType k (const StateType &T, const VectorStateType &mass_fractions) const
 
template<typename StateType , typename VectorStateType >
void mu_and_k (const StateType &T, const VectorStateType &mass_fractions, StateType &mu, StateType &k) const
 
template<typename StateType , typename VectorStateType >
void compute_mu_chi (const StateType &T, const VectorStateType &mass_fractions, VectorStateType &mu, VectorStateType &chi) const
 Helper function to reduce code duplication. More...
 
template<typename VectorStateType >
Antioch::value_type
< VectorStateType >::type 
compute_phi (const VectorStateType &mu, const VectorStateType &chi, const unsigned int s) const
 Helper function to reduce code duplication. More...
 
template<typename VectorStateType >
Antioch::value_type
< VectorStateType >::type 
compute_phi (const VectorStateType &mu, const VectorStateType &chi, const unsigned int s) const
 

Private Types

typedef
MixtureAveragedTransportEvaluator
< ConstantLewisDiffusivity
< CoeffType >, typename
MixtureViscosity::species_viscosity_type,
ThermalConductivity, CoeffType > 
Evaluator
 

Private Member Functions

 WilkeEvaluator ()
 

Private Attributes

TransportMixture< CoeffType > * _transport_mixture
 
MixtureAveragedTransportMixture
< CoeffType > * 
_wilke_mixture
 
MixtureDiffusion
< ConstantLewisDiffusivity
< CoeffType >, CoeffType > * 
_diffusion
 This is dummy. More...
 
MixtureConductivity
< ThermalConductivity,
CoeffType > * 
_conductivity
 
ThermalConductivity::micro_thermo_type * _micro_thermo
 
Evaluator_wilke_eval
 

Detailed Description

template<class MixtureViscosity, class ThermalConductivity, class CoeffType = double>
class Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >

Deprecated. Use MixtureAveragedTransportEvaluator instead.

Definition at line 47 of file wilke_evaluator.h.

Member Typedef Documentation

template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
typedef MixtureAveragedTransportEvaluator<ConstantLewisDiffusivity<CoeffType>, typename MixtureViscosity::species_viscosity_type, ThermalConductivity, CoeffType> Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::Evaluator
private

Definition at line 111 of file wilke_evaluator.h.

Constructor & Destructor Documentation

template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::WilkeEvaluator ( const WilkeMixture< CoeffType > &  mixture,
const MixtureViscosity viscosity,
const ThermalConductivity &  conductivity 
)
template<class Viscosity , class ThermalConductivity , class CoeffType >
Antioch::WilkeEvaluator< Viscosity, ThermalConductivity, CoeffType >::~WilkeEvaluator ( )

Definition at line 133 of file wilke_evaluator.h.

134  {
135  delete _wilke_eval;
136  delete _micro_thermo;
137  delete _conductivity;
138  delete _diffusion;
139  delete _wilke_mixture;
140  delete _transport_mixture;
141 
142  return;
143  }
ThermalConductivity::micro_thermo_type * _micro_thermo
MixtureDiffusion< ConstantLewisDiffusivity< CoeffType >, CoeffType > * _diffusion
This is dummy.
MixtureConductivity< ThermalConductivity, CoeffType > * _conductivity
MixtureAveragedTransportMixture< CoeffType > * _wilke_mixture
TransportMixture< CoeffType > * _transport_mixture
template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::WilkeEvaluator ( )
private

Member Function Documentation

template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
template<typename StateType , typename VectorStateType >
void Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::compute_mu_chi ( const StateType &  T,
const VectorStateType &  mass_fractions,
VectorStateType &  mu,
VectorStateType &  chi 
) const
inline

Helper function to reduce code duplication.

Populates species viscosities and the intermediate variable needed for Wilke's mixing rule.

Definition at line 75 of file wilke_evaluator.h.

References Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_wilke_eval, and Antioch::MixtureAveragedTransportEvaluator< Diffusion, Viscosity, ThermalConductivity, CoeffType >::compute_mu_chi().

78  {_wilke_eval->compute_mu_chi(T,mass_fractions,mu,chi);}
StateType mu(const StateType &T, const VectorStateType &mass_fractions) const
void compute_mu_chi(const StateType &T, const VectorStateType &mass_fractions, VectorStateType &mu, VectorStateType &chi) const
Helper function to reduce code duplication.
template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
template<typename VectorStateType >
Antioch::value_type<VectorStateType>::type Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::compute_phi ( const VectorStateType &  mu,
const VectorStateType &  chi,
const unsigned int  s 
) const

Helper function to reduce code duplication.

Computes the intermediate variable needed for Wilke's mixing rule.

template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
template<typename VectorStateType >
Antioch::value_type<VectorStateType>::type Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::compute_phi ( const VectorStateType &  mu,
const VectorStateType &  chi,
const unsigned int  s 
) const

Definition at line 149 of file wilke_evaluator.h.

References Antioch::init_constant().

152  {
153 
155  Antioch::init_constant(mu_mu_sqrt,mu);
156 
157  _wilke_eval->compute_mu_mu_sqrt( mu, mu_mu_sqrt);
158 
159  return _wilke_eval->compute_phi( mu_mu_sqrt, chi, s );
160  }
void compute_mu_mu_sqrt(const VectorStateType &mu, typename rebind< VectorStateType, VectorStateType >::type &mu_mu_sqrt) const
Helper function to reduce code duplication.
value_type< VectorStateType >::type compute_phi(typename rebind< VectorStateType, VectorStateType >::type &mu_mu_sqrt, const VectorStateType &chi, const unsigned int s) const
Helper function to reduce code duplication.
StateType mu(const StateType &T, const VectorStateType &mass_fractions) const
void init_constant(Vector &output, const Scalar &example)
template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
template<typename StateType , typename VectorStateType >
StateType Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::k ( const StateType &  T,
const VectorStateType &  mass_fractions 
) const
inline

Definition at line 63 of file wilke_evaluator.h.

References Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_wilke_eval, and Antioch::MixtureAveragedTransportEvaluator< Diffusion, Viscosity, ThermalConductivity, CoeffType >::k().

64  {return _wilke_eval->k(T,mass_fractions);}
value_type< VectorStateType >::type k(const StateType &T, const VectorStateType &mass_fractions) const
Mixture conducivity, in [W/m-K].
template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
template<typename StateType , typename VectorStateType >
StateType Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::mu ( const StateType &  T,
const VectorStateType &  mass_fractions 
) const
inline

Definition at line 59 of file wilke_evaluator.h.

References Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_wilke_eval, and Antioch::MixtureAveragedTransportEvaluator< Diffusion, Viscosity, ThermalConductivity, CoeffType >::mu().

60  {return _wilke_eval->mu(T,mass_fractions);}
value_type< VectorStateType >::type mu(const StateType &T, const VectorStateType &mass_fractions) const
Mixture viscosity, in [Pa-s].
template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
template<typename StateType , typename VectorStateType >
void Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::mu_and_k ( const StateType &  T,
const VectorStateType &  mass_fractions,
StateType &  mu,
StateType &  k 
) const
inline

Definition at line 67 of file wilke_evaluator.h.

References Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_wilke_eval, and Antioch::MixtureAveragedTransportEvaluator< Diffusion, Viscosity, ThermalConductivity, CoeffType >::mu_and_k().

69  {_wilke_eval->mu_and_k(T,mass_fractions,mu,k);}
StateType k(const StateType &T, const VectorStateType &mass_fractions) const
StateType mu(const StateType &T, const VectorStateType &mass_fractions) const
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.

Member Data Documentation

template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
MixtureConductivity<ThermalConductivity,CoeffType>* Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_conductivity
private

Definition at line 104 of file wilke_evaluator.h.

template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
MixtureDiffusion<ConstantLewisDiffusivity<CoeffType>,CoeffType>* Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_diffusion
private

This is dummy.

WilkeEvaluator doesn't support diffusion, but the new MixtureAveragedTransportEvaluator does so we create a dummy diffusion class, don't bother building it and pass it along to MixtureAveragedTransportEvaluator.

Definition at line 102 of file wilke_evaluator.h.

template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
ThermalConductivity::micro_thermo_type* Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_micro_thermo
private

Definition at line 106 of file wilke_evaluator.h.

template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
TransportMixture<CoeffType>* Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_transport_mixture
private

Definition at line 94 of file wilke_evaluator.h.

template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
Evaluator* Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_wilke_eval
private
template<class MixtureViscosity , class ThermalConductivity , class CoeffType = double>
MixtureAveragedTransportMixture<CoeffType>* Antioch::WilkeEvaluator< MixtureViscosity, ThermalConductivity, CoeffType >::_wilke_mixture
private

Definition at line 96 of file wilke_evaluator.h.


The documentation for this class was generated from the following file:

Generated on Thu Jul 7 2016 11:09:50 for antioch-0.4.0 by  doxygen 1.8.8