GRINS-0.7.0
antioch_constant_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-2016 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_CONSTANT_TRANSPORT_EVALUATOR_H
27 #define GRINS_ANTIOCH_CONSTANT_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/wilke_evaluator.h"
42 
43 namespace GRINS
44 {
46 
53  template<typename Thermo, typename Conductivity>
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  protected:
78 
79  const libMesh::Real _mu;
80 
81  const Conductivity& _conductivity;
82 
83  const Antioch::ConstantLewisDiffusivity<libMesh::Real>& _diffusivity;
84 
85  private:
86 
88 
89  };
90 
91 } // end namespace GRINS
92 
93 #endif // GRINS_HAVE_ANTIOCH
94 
95 #endif // GRINS_ANTIOCH_CONSTANT_TRANSPORT_EVALUATOR_H
libMesh::Real cp(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
Wrapper class for evaluating chemistry and thermo properties using Antioch.
Wrapper class for evaluating constant transport properties, including Antioch::ConstantLewisDiffusivi...
libMesh::Real k(const libMesh::Real T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
libMesh::Real mu(const libMesh::Real T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
GRINS namespace.
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)
Wrapper class for storing state for constant transport properties, including Antioch::ConstantLewisDi...
const Antioch::ConstantLewisDiffusivity< libMesh::Real > & _diffusivity

Generated on Thu Jun 2 2016 21:52:28 for GRINS-0.7.0 by  doxygen 1.8.10