26 #include "grins_config.h"
28 #ifdef GRINS_HAVE_ANTIOCH
38 template<
typename KT,
typename T,
typename V,
typename C,
typename D>
40 (
const AntiochMixtureAveragedTransportMixture<KT,T,V,C,D> & mixture )
41 : AntiochEvaluator<KT,T>( mixture ),
42 _wilke_evaluator( new Antioch::MixtureAveragedTransportEvaluator<D,V,C,
libMesh::Real>(mixture.wilke_mixture(),
43 mixture.diffusivity(),
45 mixture.conductivity()) ),
46 _diffusivity( mixture.diffusivity() )
49 template<
typename KT,
typename Th,
typename V,
typename C,
typename D>
52 const std::vector<libMesh::Real>& Y )
54 return _wilke_evaluator->
mu( T, Y );
57 template<
typename KT,
typename Th,
typename V,
typename C,
typename D>
60 const std::vector<libMesh::Real>& )
66 template<
typename KT,
typename Th,
typename V,
typename C,
typename Diff>
68 const libMesh::Real rho,
69 const libMesh::Real cp,
70 const std::vector<libMesh::Real>& Y,
71 libMesh::Real& mu, libMesh::Real& k,
72 std::vector<libMesh::Real>& D )
74 typename Antioch::MixtureAveragedTransportEvaluator<Diff,V,C,libMesh::Real>::DiffusivityType diff_type =
75 Antioch::MixtureAveragedTransportEvaluator<Diff,V,C,libMesh::Real>::DiffusivityType::MASS_FLUX_MASS_FRACTION;
77 _wilke_evaluator->
mu_and_k_and_D( T, rho, cp, Y, mu, k, D, diff_type );
82 #endif // GRINS_HAVE_ANTIOCH
AntiochMixtureAveragedTransportEvaluator()
libMesh::Real mu(const libMesh::Real T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
Wrapper class for evaluating Wilke transport properties using Antioch.
void mu_and_k_and_D(const libMesh::Real T, const libMesh::Real rho, const libMesh::Real cp, const std::vector< libMesh::Real > &Y, libMesh::Real &mu, libMesh::Real &k, std::vector< libMesh::Real > &D)