GRINS-0.6.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-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 #ifndef GRINS_BOUSSINESQ_BUOYANCY_BASE_H
27 #define GRINS_BOUSSINESQ_BUOYANCY_BASE_H
28 
29 // GRINS
30 #include "grins/physics.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 
48  virtual void init_variables( libMesh::FEMSystem* system );
49 
50  protected:
51 
54 
56  libMesh::Number _rho_ref;
57 
59  libMesh::Number _T_ref;
60 
62  libMesh::Number _beta_T;
63 
65  libMesh::Point _g;
66 
68  unsigned int _dim;
69 
70  private:
71 
73 
74  };
75 
76 } // end namespace GRINS
77 #endif // GRINS_BOUSSINESQ_BUOYANCY_BASE_H
libMesh::Point _g
Gravitational vector.
virtual void init_variables(libMesh::FEMSystem *system)
Initialization of BoussinesqBuoyancy variables.
Physics abstract base class. Defines API for physics to be added to MultiphysicsSystem.
Definition: physics.h:106
unsigned int _dim
Physical dimension of problem.
GRINS namespace.
libMesh::Number _T_ref
reference temperature
PrimitiveFlowFEVariables _flow_vars
libMesh::Number _beta_T
coefficient of thermal expansion
libMesh::Number _rho_ref
reference density
PrimitiveTempFEVariables _temp_vars

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