GRINS-0.8.0
physics_factory_helper.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_PHYSICS_FACTORY_HELPER_H
26 #define GRINS_PHYSICS_FACTORY_HELPER_H
27 
28 // C++
29 #include <string>
30 
31 // libMesh
32 class GetPot;
33 
34 namespace GRINS
35 {
36 
39  {
40  public:
43 
45  static void parse_viscosity_model( const GetPot& input,
46  const std::string& physics,
47  std::string& model );
48 
50  static void parse_conductivity_model( const GetPot& input,
51  const std::string& physics,
52  std::string& model );
53 
55  static void parse_specific_heat_model( const GetPot& input,
56  const std::string& physics,
57  std::string& model );
58 
60  static void parse_turb_viscosity_model( const GetPot& input,
61  const std::string& physics,
62  std::string& model );
63 
65  static void parse_stress_strain_model( const GetPot& input,
66  const std::string& physics,
67  std::string& model,
68  std::string& strain_energy );
69 
71  static void parse_thermochemistry_model( const GetPot& input,
72  const std::string& physics,
73  std::string& model );
74 
75  static void parse_antioch_models( const GetPot& input,
76  const std::string& physics,
77  std::string& transport_model,
78  std::string& thermo_model,
79  std::string& viscosity_model,
80  std::string& conductivity_model,
81  std::string& diffusivity_model );
82 
83  private:
84 
85  static void deprecated_visc_model_parsing( bool have_viscosity_model,
86  bool have_material,
87  const GetPot& input,
88  const std::string& physics,
89  std::string& model );
90 
91  };
92 
93 } // end namespace GRINS
94 
95 #endif // GRINS_PHYSICS_FACTORY_HELPER_H
static void parse_viscosity_model(const GetPot &input, const std::string &physics, std::string &model)
Determine viscosity model based on given physics name.
static void parse_thermochemistry_model(const GetPot &input, const std::string &physics, std::string &model)
Determine thermochemistry model type.
static void parse_antioch_models(const GetPot &input, const std::string &physics, std::string &transport_model, std::string &thermo_model, std::string &viscosity_model, std::string &conductivity_model, std::string &diffusivity_model)
Helper functions for PhysicsFactory.
GRINS namespace.
static void parse_conductivity_model(const GetPot &input, const std::string &physics, std::string &model)
Determine conductivity model based on given physics name.
static void deprecated_visc_model_parsing(bool have_viscosity_model, bool have_material, const GetPot &input, const std::string &physics, std::string &model)
static void parse_stress_strain_model(const GetPot &input, const std::string &physics, std::string &model, std::string &strain_energy)
Determine stress-strain law used by solid mechanics classes.
static void parse_specific_heat_model(const GetPot &input, const std::string &physics, std::string &model)
Determine specific heat model based on given physics name.
static void parse_turb_viscosity_model(const GetPot &input, const std::string &physics, std::string &model)
Determine viscosity model used by turblence classes.

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