GRINS-0.8.0
antioch_mixture_averaged_transport_evaluator.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // GRINS - General Reacting Incompressible Navier-Stokes
5 //
6 // Copyright (C) 2014-2017 Paul T. Bauman, Roy H. Stogner
7 // Copyright (C) 2010-2013 The PECOS Development Team
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the Version 2.1 GNU Lesser General
11 // Public License as published by the Free Software Foundation.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
21 // Boston, MA 02110-1301 USA
22 //
23 //-----------------------------------------------------------------------el-
24 
25 
26 #ifndef GRINS_ANTIOCH_WILKE_TRANSPORT_EVALUATOR_H
27 #define GRINS_ANTIOCH_WILKE_TRANSPORT_EVALUATOR_H
28 
29 #include "grins_config.h"
30 
31 #ifdef GRINS_HAVE_ANTIOCH
32 
33 // GRINS
36 
37 // libMesh
38 #include "libmesh/libmesh_common.h"
39 
40 // Antioch
41 #include "antioch/mixture_averaged_transport_evaluator.h"
42 
43 namespace GRINS
44 {
46 
53  template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
54  class AntiochMixtureAveragedTransportEvaluator : public AntiochEvaluator<Antioch::CEACurveFit<libMesh::Real>,Thermo>
55  {
56  public:
57 
59 
61 
62  libMesh::Real mu( const libMesh::Real T,
63  const libMesh::Real P,
64  const std::vector<libMesh::Real>& Y );
65 
66  libMesh::Real k( const libMesh::Real T,
67  const libMesh::Real P,
68  const std::vector<libMesh::Real>& Y );
69 
70  void mu_and_k_and_D( const libMesh::Real T,
71  const libMesh::Real rho,
72  const libMesh::Real cp,
73  const std::vector<libMesh::Real>& Y,
74  libMesh::Real& mu, libMesh::Real& k,
75  std::vector<libMesh::Real>& D );
76 
77 
78  protected:
79 
80  libMesh::UniquePtr<Antioch::MixtureAveragedTransportEvaluator<Diffusivity,Viscosity,Conductivity,libMesh::Real> > _wilke_evaluator;
81 
82  const Antioch::MixtureDiffusion<Diffusivity,libMesh::Real>& _diffusivity;
83 
84  private:
85 
87 
88  };
89 
90 } // end namespace GRINS
91 
92 #endif // GRINS_HAVE_ANTIOCH
93 
94 #endif // GRINS_ANTIOCH_WILKE_TRANSPORT_EVALUATOR_H
Wrapper class for evaluating chemistry and thermo properties using Antioch.
libMesh::Real mu(const libMesh::Real T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
Wrapper class for storing state for computing Wilke transport properties using Antioch.
libMesh::UniquePtr< Antioch::MixtureAveragedTransportEvaluator< Diffusivity, Viscosity, Conductivity, libMesh::Real > > _wilke_evaluator
Wrapper class for evaluating Wilke transport properties using Antioch.
GRINS namespace.
libMesh::Real cp(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
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)
libMesh::Real k(const libMesh::Real T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
const Antioch::MixtureDiffusion< Diffusivity, libMesh::Real > & _diffusivity

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