GRINS-0.8.0
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity > Class Template Reference

Wrapper class for evaluating constant transport properties, including Antioch::ConstantLewisDiffusivity. More...

#include <antioch_constant_transport_evaluator.h>

Inheritance diagram for GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >:
Inheritance graph
[legend]
Collaboration diagram for GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >:
Collaboration graph
[legend]

Public Member Functions

 AntiochConstantTransportEvaluator (const AntiochConstantTransportMixture< KineticsThermoCurveFit, Conductivity > &mixture)
 
virtual ~AntiochConstantTransportEvaluator ()
 
libMesh::Real mu (const libMesh::Real, const libMesh::Real, const std::vector< libMesh::Real > &)
 
libMesh::Real k (const libMesh::Real T, const libMesh::Real, const std::vector< libMesh::Real > &Y)
 
void mu_and_k_and_D (const libMesh::Real, const libMesh::Real rho, const libMesh::Real cp, const std::vector< libMesh::Real > &, libMesh::Real &mu, libMesh::Real &k, std::vector< libMesh::Real > &D)
 
- Public Member Functions inherited from GRINS::AntiochEvaluator< KineticsThermoCurveFit, Thermo >
 AntiochEvaluator (const AntiochMixture< KineticsThermoCurveFit > &mixture)
 
virtual ~AntiochEvaluator ()
 
libMesh::Real M (unsigned int species) const
 
libMesh::Real M_mix (const std::vector< libMesh::Real > &mass_fractions) const
 
libMesh::Real R (unsigned int species) const
 
libMesh::Real R_mix (const std::vector< libMesh::Real > &mass_fractions) const
 
libMesh::Real X (unsigned int species, libMesh::Real M, libMesh::Real mass_fraction) const
 
void X (libMesh::Real M, const std::vector< libMesh::Real > &mass_fractions, std::vector< libMesh::Real > &mole_fractions) const
 
unsigned int species_index (const std::string &species_name) const
 
std::string species_name (unsigned int species_index) const
 
libMesh::Real cp (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
 
libMesh::Real cv (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
 
libMesh::Real h_s (const libMesh::Real &T, unsigned int species)
 
void omega_dot (const libMesh::Real &T, libMesh::Real rho, const std::vector< libMesh::Real > mass_fractions, std::vector< libMesh::Real > &omega_dot)
 
template<>
libMesh::Real cp (const libMesh::Real &T, const libMesh::Real, const std::vector< libMesh::Real > &Y)
 
template<>
libMesh::Real cv (const libMesh::Real &T, const libMesh::Real, const std::vector< libMesh::Real > &Y)
 
template<>
libMesh::Real h_s (const libMesh::Real &T, unsigned int species)
 
template<>
libMesh::Real cp (const libMesh::Real &T, const libMesh::Real, const std::vector< libMesh::Real > &Y)
 
template<>
libMesh::Real cv (const libMesh::Real &T, const libMesh::Real, const std::vector< libMesh::Real > &Y)
 
template<>
libMesh::Real h_s (const libMesh::Real &T, unsigned int species)
 

Protected Attributes

const libMesh::Real _mu
 
const Conductivity & _conductivity
 
const Antioch::ConstantLewisDiffusivity< libMesh::Real > & _diffusivity
 
- Protected Attributes inherited from GRINS::AntiochEvaluator< KineticsThermoCurveFit, Thermo >
const AntiochMixture< KineticsThermoCurveFit > & _chem
 
libMesh::UniquePtr< Thermo > _thermo
 Primary thermo object. More...
 
libMesh::UniquePtr< Antioch::NASAEvaluator< libMesh::Real, KineticsThermoCurveFit > > _nasa_evaluator
 For some Thermo types, we also need to cache a NASAEvaluator. More...
 
libMesh::UniquePtr< AntiochKinetics< KineticsThermoCurveFit > > _kinetics
 
libMesh::Real _clipped_T
 
const libMesh::Real _minimum_T
 
libMesh::UniquePtr< Antioch::TempCache< libMesh::Real > > _temp_cache
 

Private Member Functions

 AntiochConstantTransportEvaluator ()
 

Additional Inherited Members

- Protected Member Functions inherited from GRINS::AntiochEvaluator< KineticsThermoCurveFit, Thermo >
void check_and_reset_temp_cache (const libMesh::Real &T)
 Helper method for managing _temp_cache. More...
 
void build_thermo (const AntiochMixture< KineticsThermoCurveFit > &mixture)
 

Detailed Description

template<typename KineticsThermoCurveFit, typename Thermo, typename Conductivity>
class GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >

Wrapper class for evaluating constant transport properties, including Antioch::ConstantLewisDiffusivity.

This class is expected to be constructed after threads have been forked and will only live during the lifetime of the thread. By default, Antioch is working in SI units. Note that this documentation will always be built regardless if Antioch is included in the GRINS build or not. Check configure output to confirm that Antioch was included in the build.

Definition at line 54 of file antioch_constant_transport_evaluator.h.

Constructor & Destructor Documentation

template<typename KineticsThermoCurveFit , typename Thermo , typename Conductivity >
GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >::AntiochConstantTransportEvaluator ( const AntiochConstantTransportMixture< KineticsThermoCurveFit, Conductivity > &  mixture)
inline

Definition at line 58 of file antioch_constant_transport_evaluator.h.

59  : AntiochEvaluator<Antioch::CEACurveFit<libMesh::Real>,Thermo>( mixture ),
60  _mu( mixture.mu() ),
61  _conductivity( mixture.conductivity() ),
62  _diffusivity( mixture.diffusivity() )
63  {}
const Antioch::ConstantLewisDiffusivity< libMesh::Real > & _diffusivity
template<typename Thermo , typename Conductivity >
GRINS::AntiochConstantTransportEvaluator< Thermo, Conductivity >::~AntiochConstantTransportEvaluator ( )
inlinevirtual

Definition at line 65 of file antioch_constant_transport_evaluator.h.

65 {}
template<typename KineticsThermoCurveFit , typename Thermo , typename Conductivity >
GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >::AntiochConstantTransportEvaluator ( )
private

Member Function Documentation

template<typename Thermo , typename Conductivity >
libMesh::Real GRINS::AntiochConstantTransportEvaluator< Thermo, Conductivity >::k ( const libMesh::Real  T,
const libMesh::Real  ,
const std::vector< libMesh::Real > &  Y 
)
inline
template<typename Thermo , typename Conductivity >
libMesh::Real GRINS::AntiochConstantTransportEvaluator< Thermo, Conductivity >::mu ( const libMesh::Real  ,
const libMesh::Real  ,
const std::vector< libMesh::Real > &   
)
inline
template<typename Thermo , typename Conductivity >
void GRINS::AntiochConstantTransportEvaluator< Thermo, Conductivity >::mu_and_k_and_D ( const libMesh::Real  ,
const libMesh::Real  rho,
const libMesh::Real  cp,
const std::vector< libMesh::Real > &  ,
libMesh::Real &  mu,
libMesh::Real &  k,
std::vector< libMesh::Real > &  D 
)
inline

Definition at line 81 of file antioch_constant_transport_evaluator.h.

References GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >::_conductivity, GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >::_diffusivity, and GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >::_mu.

87  {
88  mu = _mu;
89  k = _conductivity( _mu, cp );
90  std::fill( D.begin(), D.end(), _diffusivity.D(rho,cp,k) );
91  }
libMesh::Real mu(const libMesh::Real, const libMesh::Real, const std::vector< libMesh::Real > &)
libMesh::Real cp(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
const Antioch::ConstantLewisDiffusivity< libMesh::Real > & _diffusivity
libMesh::Real k(const libMesh::Real T, const libMesh::Real, const std::vector< libMesh::Real > &Y)

Member Data Documentation

template<typename KineticsThermoCurveFit , typename Thermo , typename Conductivity >
const Conductivity& GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >::_conductivity
protected
template<typename KineticsThermoCurveFit , typename Thermo , typename Conductivity >
const Antioch::ConstantLewisDiffusivity<libMesh::Real>& GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >::_diffusivity
protected
template<typename KineticsThermoCurveFit , typename Thermo , typename Conductivity >
const libMesh::Real GRINS::AntiochConstantTransportEvaluator< KineticsThermoCurveFit, Thermo, Conductivity >::_mu
protected

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

Generated on Tue Dec 19 2017 12:47:29 for GRINS-0.8.0 by  doxygen 1.8.9.1