GRINS-0.8.0
boussinesq_buoyancy_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 
26 #ifndef GRINS_BOUSSINESQ_BUOYANCY_BASE_H
27 #define GRINS_BOUSSINESQ_BUOYANCY_BASE_H
28 
29 // GRINS
30 #include "grins/physics.h"
32 #include "grins/single_variable.h"
33 
34 // libMesh
35 #include "libmesh/point.h"
36 
37 namespace GRINS
38 {
40  {
41  public:
42 
43  BoussinesqBuoyancyBase( const std::string& physics_name, const GetPot& input );
44 
46 
47  protected:
48 
50  void read_property( const GetPot& input,
51  const std::string& old_option,
52  const std::string& property,
53  libMesh::Real& value );
54 
56  void no_input_warning( const GetPot& input,
57  const std::string& old_option,
58  const std::string& material,
59  const std::string& property );
60 
64 
66  libMesh::Number _rho;
67 
69  libMesh::Number _T_ref;
70 
72  libMesh::Number _beta_T;
73 
75  libMesh::Point _g;
76 
77  private:
78 
80 
81  };
82 
83 } // end namespace GRINS
84 #endif // GRINS_BOUSSINESQ_BUOYANCY_BASE_H
void read_property(const GetPot &input, const std::string &old_option, const std::string &property, libMesh::Real &value)
Helper function for parsing/maintaing backward compatibility.
libMesh::Point _g
Gravitational vector.
const PressureFEVariable & _press_var
const VelocityVariable & _flow_vars
Physics abstract base class. Defines API for physics to be added to MultiphysicsSystem.
Definition: physics.h:106
GRINS namespace.
libMesh::Number _T_ref
reference temperature
void no_input_warning(const GetPot &input, const std::string &old_option, const std::string &material, const std::string &property)
Helper function for parsing/maintaing backward compatibility.
const PrimitiveTempFEVariables & _temp_vars
libMesh::Number _beta_T
coefficient of thermal expansion

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