antioch-0.4.0
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends
Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType > Class Template Reference

Conductivity based on kinetic theory of mixtures approximations. More...

#include <kinetics_theory_thermal_conductivity.h>

Inheritance diagram for Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >:
Antioch::SpeciesConductivityBase< KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType > >

Public Member Functions

 KineticsTheoryThermalConductivity (const ThermoEvaluator &t, CoeffType Z_298K, CoeffType LJ_depth)
 
 KineticsTheoryThermalConductivity (const ThermoEvaluator &t, const std::vector< CoeffType > &coeffs)
 
 ~KineticsTheoryThermalConductivity ()
 
void reset_coeffs (const std::vector< CoeffType > &coeffs)
 
template<typename StateType >
 trans (const unsigned int s, const StateType &mu, const StateType &T, const StateType &rho, const StateType &Dss) const ANTIOCH_AUTOFUNC(StateType
 
mu *this _thermo cv_trans (s)*five_over_two *(one-two_over_pi *this-> _thermo.cv_rot_over_R(s)/this->_thermo.cv_trans_over_R(s)*this->A(rho *Dss/mu)/this->B(s, T, rho *Dss/mu))) template< typename StateType >rot(const unsigned int s, const StateType &mu, const StateType &T, const StateType &rho, const StateType &Dss) const ANTIOCH_AUTOFUNC(StateType, rho *Dss *this->_thermo.cv_rot(s)*(one+two_over_pi *this->A(rho *Dss/mu)/this->B(s, T, rho *Dss/mu))) template< typename StateType >vib(const unsigned int s, const StateType &mu, const StateType &T, const StateType &rho, const StateType &Dss) const const ThermoEvaluator &thermo() const
 
const RotationalRelaxation
< CoeffType > & 
rot () const
 const ref to the rotational relaxation More...
 
 operator() (const unsigned int s, const StateType &mu, const StateType &T) const ANTIOCH_AUTOFUNC(StateType
 Compute species conductivity, without species diffusion. More...
 

Protected Member Functions

template<typename StateType >
const ANTIOCH_AUTO (StateType) op_with_diff_impl(unsigned int s
 
template<typename StateType >
 op_no_diff_impl (const unsigned int s, const StateType &mu, const StateType &T) const
 

Protected Attributes

const ThermoEvaluator & _thermo
 
const const StateType & mu_s
 
const const StateType const
StateType & 
T
 
const const StateType const
StateType const StateType & 
rho_s
 
const const StateType const
StateType const StateType
const StateType &Dss 
const
 

Private Member Functions

template<typename StateType >
const A (const StateType &rho_times_self_diff_over_mu) const template< typename StateType > const B(unsigned int s
 
const const StateType const
StateType
&rho_times_self_diff_over_mu
const 
ANTIOCH_AUTOFUNC (StateType, _rot(T)+two_over_pi *(five_over_three *this->_thermo.cv_rot_over_R(s)+rho_times_self_diff_over_mu)) KineticsTheoryThermalConductivity()
 never ever use it More...
 

Private Attributes

const const StateType & T
 
RotationalRelaxation< CoeffType > _rot
 
const CoeffType five_over_two
 
const CoeffType five_over_three
 
const CoeffType two_over_pi
 
const CoeffType one
 

Friends

class SpeciesConductivityBase< KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType > >
 Friend the base class so we can make the implementation protected. More...
 

Detailed Description

template<typename ThermoEvaluator, typename CoeffType>
class Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >

Conductivity based on kinetic theory of mixtures approximations.

"with diffusion" model

Definition at line 44 of file kinetics_theory_thermal_conductivity.h.

Constructor & Destructor Documentation

template<typename ThermoEvaluator , typename CoeffType >
Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::KineticsTheoryThermalConductivity ( const ThermoEvaluator &  t,
CoeffType  Z_298K,
CoeffType  LJ_depth 
)
inline

Definition at line 124 of file kinetics_theory_thermal_conductivity.h.

125  : SpeciesConductivityBase<KineticsTheoryThermalConductivity<ThermoEvaluator,CoeffType> >(),
126  _thermo(t),
127  _rot(Z_298K,LJ_depth),
128  five_over_two(CoeffType(5)/CoeffType(2)),
129  five_over_three(CoeffType(5)/CoeffType(3)),
130  two_over_pi(2/Constants::pi<CoeffType>()),
131  one(1)
132  {}
template<typename ThermoEvaluator , typename CoeffType >
Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::KineticsTheoryThermalConductivity ( const ThermoEvaluator &  t,
const std::vector< CoeffType > &  coeffs 
)
inline

Definition at line 136 of file kinetics_theory_thermal_conductivity.h.

137  :SpeciesConductivityBase<KineticsTheoryThermalConductivity<ThermoEvaluator,CoeffType> >(),
138  _thermo(t),
139  _rot(coeffs[0],coeffs[1]),
140  five_over_two(CoeffType(5)/CoeffType(2)),
141  five_over_three(CoeffType(5)/CoeffType(3)),
142  two_over_pi(2/Constants::pi<CoeffType>()),
143  one(1)
144  {}
template<typename ThermoEvaluator , typename CoeffType >
Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::~KineticsTheoryThermalConductivity ( )
inline

Definition at line 157 of file kinetics_theory_thermal_conductivity.h.

158  {
159  return;
160  }

Member Function Documentation

template<typename ThermoEvaluator , typename CoeffType >
template<typename StateType >
const Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::A ( const StateType &  rho_times_self_diff_over_mu) const
private
template<typename ThermoEvaluator , typename CoeffType >
template<typename StateType >
const Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::ANTIOCH_AUTO ( StateType  )
protected
template<typename ThermoEvaluator , typename CoeffType >
const const StateType const StateType& rho_times_self_diff_over_mu const Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::ANTIOCH_AUTOFUNC ( StateType  ,
_rot(T)+two_over_pi *(five_over_three *this->_thermo.cv_rot_over_R(s)+rho_times_self_diff_over_mu)   
)
private

never ever use it

template<typename ThermoEvaluator , typename CoeffType >
mu* this _thermo Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::cv_trans ( ) -> _thermo.cv_rot_over_R(s) / this->_thermo.cv_trans_over_R(s) * this->A(rho * Dss / mu) / this->B(s, T, rho * Dss / mu))) template <typename StateType> rot( const unsigned int s, const StateType& mu, const StateType & T, const StateType & rho, const StateType & Dss) const ANTIOCH_AUTOFUNC(StateType, rho * Dss * this->_thermo.cv_rot(s) * (one + two_over_pi * this->A(rho * Dss / mu) / this->B(s, T, rho * Dss / mu))) template <typename StateType> vib( const unsigned int s, const StateType& mu, const StateType & T, const StateType & rho, const StateType & Dss) const const ThermoEvaluator& thermo() const
inline
template<typename ThermoEvaluator , typename CoeffType >
template<typename StateType >
Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::op_no_diff_impl ( const unsigned int  s,
const StateType &  mu,
const StateType &  T 
) const
protected

Definition at line 179 of file kinetics_theory_thermal_conductivity.h.

References antioch_error, and Antioch::trans().

180  {
181  // This is a "with diffusion" model so any attempts
182  // at calling the "no diffusion" method should error.
183  antioch_error();
184 
185  /*The following is dummy*/
186  return trans(s,mu,T,mu,mu);
187  }
#define antioch_error()
trans(const unsigned int s, const StateType &mu, const StateType &T, const StateType &rho, const StateType &Dss) const ANTIOCH_AUTOFUNC(StateType
Antioch::SpeciesConductivityBase< KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType > >::operator() ( const unsigned int  s,
const StateType &  mu,
const StateType &  T 
) const
inherited

Compute species conductivity, without species diffusion.

template<typename ThermoEvaluator , typename CoeffType >
void Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::reset_coeffs ( const std::vector< CoeffType > &  coeffs)
inline

Definition at line 148 of file kinetics_theory_thermal_conductivity.h.

References antioch_assert_equal_to.

149  {
150  antioch_assert_equal_to(coeffs.size(),2);
151 
152  _rot.reset_coeffs(coeffs[0],coeffs[1]);
153  }
#define antioch_assert_equal_to(expr1, expr2)
template<typename ThermoEvaluator , typename CoeffType >
const RotationalRelaxation<CoeffType>& Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::rot ( ) const
inline

const ref to the rotational relaxation

Definition at line 75 of file kinetics_theory_thermal_conductivity.h.

References Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::_rot.

75 {return _rot;}
template<typename ThermoEvaluator , typename CoeffType >
template<typename StateType >
Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::trans ( const unsigned int  s,
const StateType &  mu,
const StateType &  T,
const StateType &  rho,
const StateType &  Dss 
) const

Friends And Related Function Documentation

template<typename ThermoEvaluator , typename CoeffType >
friend class SpeciesConductivityBase< KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType > >
friend

Friend the base class so we can make the implementation protected.

Definition at line 78 of file kinetics_theory_thermal_conductivity.h.

Member Data Documentation

template<typename ThermoEvaluator , typename CoeffType >
RotationalRelaxation<CoeffType> Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::_rot
private
template<typename ThermoEvaluator , typename CoeffType >
const ThermoEvaluator& Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::_thermo
protected
template<typename ThermoEvaluator , typename CoeffType >
const const StateType const StateType const StateType const StateType& Dss Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::const
protected

Definition at line 86 of file kinetics_theory_thermal_conductivity.h.

template<typename ThermoEvaluator , typename CoeffType >
const CoeffType Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::five_over_three
private

Definition at line 116 of file kinetics_theory_thermal_conductivity.h.

template<typename ThermoEvaluator , typename CoeffType >
const CoeffType Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::five_over_two
private

Definition at line 115 of file kinetics_theory_thermal_conductivity.h.

template<typename ThermoEvaluator , typename CoeffType >
const const StateType& Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::mu_s
protected

Definition at line 86 of file kinetics_theory_thermal_conductivity.h.

template<typename ThermoEvaluator , typename CoeffType >
const CoeffType Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::one
private

Definition at line 118 of file kinetics_theory_thermal_conductivity.h.

template<typename ThermoEvaluator , typename CoeffType >
const const StateType const StateType const StateType& Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::rho_s
protected

Definition at line 86 of file kinetics_theory_thermal_conductivity.h.

template<typename ThermoEvaluator , typename CoeffType >
const const StateType const StateType& Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::T
protected

Definition at line 86 of file kinetics_theory_thermal_conductivity.h.

template<typename ThermoEvaluator , typename CoeffType >
const const StateType& Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::T
private

Definition at line 103 of file kinetics_theory_thermal_conductivity.h.

template<typename ThermoEvaluator , typename CoeffType >
const CoeffType Antioch::KineticsTheoryThermalConductivity< ThermoEvaluator, CoeffType >::two_over_pi
private

Definition at line 117 of file kinetics_theory_thermal_conductivity.h.


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

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