GRINS-0.8.0
catalytic_wall_neumann_bc_old_style_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_OLD_STYLE_FACTORY_BASE_H
26 #define GRINS_CATALYTIC_WALL_NEUMANN_BC_OLD_STYLE_FACTORY_BASE_H
27 
28 // GRINS
31 
32 namespace GRINS
33 {
34 
35  template<typename ImplType>
38  {
39  public:
40 
41  CatalyticWallNeumannBCOldStyleFactoryBase( const std::string& bc_type_name )
42  : NeumannBCOldStyleFactoryAbstract(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 ) const;
60 
61  libMesh::Real parse_thermo_pressure( const GetPot& input,
62  const std::string& material ) const;
63 
64  SharedPtr<CatalycityBase>
65  build_catalycity( const GetPot& input,
66  const std::string& section,
67  const std::string& reactant ) const;
68 
69  virtual std::string reactant_for_catalycity(const std::string& reaction) const =0;
70 
71  virtual std::string catalytic_wall_prefix_str() const =0;
72  };
73 } // end namespace GRINS
74 
75 #endif // GRINS_CATALYTIC_WALL_NEUMANN_BC_OLD_STYLE_FACTORY_BASE_H
libMesh::Real parse_thermo_pressure(const GetPot &input, const std::string &material) const
virtual std::string catalytic_wall_prefix_str() const =0
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.
SharedPtr< CatalycityBase > build_catalycity(const GetPot &input, const std::string &section, const std::string &reactant) const
GRINS namespace.
Factory helper class for building catalytic wall Neumann boundary conditions.
std::string parse_reaction(const GetPot &input, const std::string &section) const
Parse the reaction.
virtual std::string reactant_for_catalycity(const std::string &reaction) const =0
Interface with libMesh for solving Multiphysics problems.

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