GRINS-0.6.0
catalytic_wall_base.C
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 // This class
28 
29 // GRINS
30 #include "grins/math_constants.h"
31 #include "grins/assembly_context.h"
32 #include "grins/cached_values.h"
33 
34 // libMesh
35 #include "libmesh/fem_system.h"
36 
37 namespace GRINS
38 {
39  template<typename Chemistry>
41  CatalycityBase& gamma,
42  const unsigned int reactant_species_idx )
43  : _chemistry(chemistry),
44  _gamma_s( gamma.clone() ),
45  _C( std::sqrt( chemistry.R(reactant_species_idx)/(GRINS::Constants::two_pi) ) ),
46  _is_axisymmetric(false)
47  {
48  return;
49  }
50 
51  template<typename Chemistry>
53  {
54  return;
55  }
56 
57  template<typename Chemistry>
58  void CatalyticWallBase<Chemistry>::init( const libMesh::FEMSystem& /*system*/ )
59  {
60  return;
61  }
62 
63  template<typename Chemistry>
65  {
66  this->_is_axisymmetric = is_axisymmetric;
67 
68  return;
69  }
70 
71 
72  template<typename Chemistry>
73  void CatalyticWallBase<Chemistry>::set_catalycity_params( const std::vector<libMesh::Real>& params )
74  {
75  _gamma_s->set_params( params );
76  return;
77  }
78 
79 } // end namespace GRINS
void set_catalycity_params(const std::vector< libMesh::Real > &params)
GRINS namespace.
CatalyticWallBase(const Chemistry &chem_mixture, CatalycityBase &gamma, const unsigned int reactant_species_idx)
virtual void init(const libMesh::FEMSystem &system)
const libMesh::Real two_pi
void set_axisymmetric(bool is_axisymmetric)

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