GRINS-0.6.0
antioch_wilke_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_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/wilke_evaluator.h"
42 
43 namespace GRINS
44 {
46 
53  template<typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
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  boost::scoped_ptr<Antioch::WilkeEvaluator<Viscosity,Conductivity> > _wilke_evaluator;
85 
86  const Diffusivity& _diffusivity;
87 
88  private:
89 
91 
92  };
93 
94 } // end namespace GRINS
95 
96 #endif // GRINS_HAVE_ANTIOCH
97 
98 #endif // GRINS_ANTIOCH_WILKE_TRANSPORT_EVALUATOR_H
Wrapper class for evaluating chemistry and thermo properties using Antioch.
libMesh::Real mu(const CachedValues &cache, unsigned int qp)
void D(const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &D)
libMesh::Real cp(const CachedValues &cache, unsigned int qp)
GRINS namespace.
void mu_and_k(const CachedValues &cache, unsigned int qp, libMesh::Real &mu, libMesh::Real &k)
boost::scoped_ptr< Antioch::WilkeEvaluator< Viscosity, Conductivity > > _wilke_evaluator
libMesh::Real k(const CachedValues &cache, unsigned int qp)
Wrapper class for storing state for computing Wilke transport properties using Antioch.
Wrapper class for evaluating Wilke transport properties using Antioch.

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