GRINS-0.8.0
catalytic_wall_neumann_bc_factory_base.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 #ifndef GRINS_CATALYTIC_WALL_NEUMANN_BC_FACTORY_BASE_H
26 #define GRINS_CATALYTIC_WALL_NEUMANN_BC_FACTORY_BASE_H
27 
28 // GRINS
31 
32 namespace GRINS
33 {
34 
35  template<typename ImplType>
38  {
39  public:
40 
41  CatalyticWallNeumannBCFactoryBase( const std::string& bc_type_name )
42  : NeumannBCFactoryAbstract(bc_type_name),
44  {}
45 
47 
48  protected:
49 
50  virtual SharedPtr<NeumannBCAbstract>
51  build_neumann_func( const GetPot& input,
52  MultiphysicsSystem& system,
53  const FEVariablesBase& fe_var,
54  const std::string& section );
55 
57  std::string parse_reaction( const GetPot& input, const std::string& section ) const;
58 
59  std::string parse_thermochem_model( const GetPot& input,
60  const std::string& material ) const;
61 
62  libMesh::Real parse_thermo_pressure( const GetPot& input,
63  const std::string& material ) const;
64 
65  SharedPtr<CatalycityBase>
66  build_catalycity( const GetPot& input, const std::string& section ) const;
67  };
68 } // end namespace GRINS
69 
70 #endif // GRINS_CATALYTIC_WALL_NEUMANN_BC_FACTORY_BASE_H
std::string parse_reaction(const GetPot &input, const std::string &section) const
Parse the reaction.
libMesh::Real parse_thermo_pressure(const GetPot &input, const std::string &material) const
virtual SharedPtr< NeumannBCAbstract > build_neumann_func(const GetPot &input, MultiphysicsSystem &system, const FEVariablesBase &fe_var, const std::string &section)
Builds the NeumannBCAbstract object for Neumann boundary conditions.
GRINS namespace.
SharedPtr< CatalycityBase > build_catalycity(const GetPot &input, const std::string &section) const
Factory helper class for building catalytic wall Neumann boundary conditions.
Interface with libMesh for solving Multiphysics problems.
std::string parse_thermochem_model(const GetPot &input, const std::string &material) const

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