26 #ifndef GRINS_ANTIOCH_CONSTANT_TRANSPORT_EVALUATOR_H
27 #define GRINS_ANTIOCH_CONSTANT_TRANSPORT_EVALUATOR_H
29 #include "grins_config.h"
31 #ifdef GRINS_HAVE_ANTIOCH
38 #include "libmesh/libmesh_common.h"
41 #include "antioch/wilke_evaluator.h"
53 template<
typename KineticsThermoCurveFit,
typename Thermo,
typename Conductivity>
67 libMesh::Real
mu(
const libMesh::Real ,
69 const std::vector<libMesh::Real>& )
72 libMesh::Real
k(
const libMesh::Real T,
74 const std::vector<libMesh::Real>& Y )
77 const libMesh::Real
cp = this->
cp( T, T, Y );
82 const libMesh::Real rho,
83 const libMesh::Real
cp,
84 const std::vector<libMesh::Real>& ,
85 libMesh::Real &
mu, libMesh::Real &
k,
86 std::vector<libMesh::Real> & D )
90 std::fill( D.begin(), D.end(),
_diffusivity.D(rho,cp,k) );
95 const libMesh::Real
_mu;
99 const Antioch::ConstantLewisDiffusivity<libMesh::Real> &
_diffusivity;
109 #endif // GRINS_HAVE_ANTIOCH
111 #endif // GRINS_ANTIOCH_CONSTANT_TRANSPORT_EVALUATOR_H
Wrapper class for evaluating chemistry and thermo properties using Antioch.
Wrapper class for evaluating constant transport properties, including Antioch::ConstantLewisDiffusivi...
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)
const Conductivity & _conductivity
libMesh::Real mu(const libMesh::Real, const libMesh::Real, const std::vector< libMesh::Real > &)
AntiochConstantTransportEvaluator(const AntiochConstantTransportMixture< KineticsThermoCurveFit, Conductivity > &mixture)
libMesh::Real cp(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
const Antioch::ConstantLewisDiffusivity< libMesh::Real > & _diffusivity
virtual ~AntiochConstantTransportEvaluator()
Wrapper class for storing state for constant transport properties, including Antioch::ConstantLewisDi...
AntiochConstantTransportEvaluator()
libMesh::Real k(const libMesh::Real T, const libMesh::Real, const std::vector< libMesh::Real > &Y)