GRINS-0.6.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-2015 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 CachedValues& cache, unsigned int qp );
63 
64  libMesh::Real k( const CachedValues& cache, unsigned int qp );
65 
66  void mu_and_k( const CachedValues& cache, unsigned int qp,
67  libMesh::Real& mu, libMesh::Real& k );
68 
69  void D( const CachedValues& cache, unsigned int qp,
70  std::vector<libMesh::Real>& D );
71 
72  libMesh::Real mu( const libMesh::Real T,
73  const std::vector<libMesh::Real>& Y );
74 
75  libMesh::Real k( const libMesh::Real T,
76  const std::vector<libMesh::Real>& Y );
77 
78  void D( const libMesh::Real rho, const libMesh::Real cp,
79  const libMesh::Real k,
80  std::vector<libMesh::Real>& D );
81 
82  protected:
83 
84  const libMesh::Real _mu;
85 
86  const Conductivity& _conductivity;
87 
88  const Antioch::ConstantLewisDiffusivity<libMesh::Real>& _diffusivity;
89 
90  private:
91 
93 
94  };
95 
96 } // end namespace GRINS
97 
98 #endif // GRINS_HAVE_ANTIOCH
99 
100 #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(const CachedValues &cache, unsigned int qp, libMesh::Real &mu, libMesh::Real &k)
libMesh::Real cp(const CachedValues &cache, unsigned int qp)
GRINS namespace.
libMesh::Real k(const CachedValues &cache, unsigned int qp)
Wrapper class for storing state for constant transport properties, including Antioch::ConstantLewisDi...
const Antioch::ConstantLewisDiffusivity< libMesh::Real > & _diffusivity
libMesh::Real mu(const CachedValues &cache, unsigned int qp)
void D(const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &D)

Generated on Mon Jun 22 2015 21:32:20 for GRINS-0.6.0 by  doxygen 1.8.9.1