GRINS-0.8.0
low_mach_navier_stokes_stab_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_LOW_MACH_NAVIER_STOKES_STAB_BASE_H
26 #define GRINS_LOW_MACH_NAVIER_STOKES_STAB_BASE_H
27 
28 //GRINS
31 
33 namespace GRINS
34 {
36  template<class Viscosity, class SpecificHeat, class ThermalConductivity>
37  class LowMachNavierStokesStabilizationBase : public LowMachNavierStokesBase<Viscosity,SpecificHeat,ThermalConductivity>
38  {
39 
40  public:
41 
42  LowMachNavierStokesStabilizationBase( const GRINS::PhysicsName& physics_name, const GetPot& input );
43 
45 
47  virtual void init_context( AssemblyContext& context );
48 
49  libMesh::Real compute_res_continuity_steady( AssemblyContext& context,
50  unsigned int qp ) const;
51 
52  libMesh::Real compute_res_continuity_transient( AssemblyContext& context,
53  unsigned int qp ) const;
54 
55  libMesh::RealGradient compute_res_momentum_steady( AssemblyContext& context,
56  unsigned int qp ) const;
57 
58  libMesh::RealGradient compute_res_momentum_transient( AssemblyContext& context,
59  unsigned int qp ) const;
60 
61  libMesh::Real compute_res_energy_steady( AssemblyContext& context,
62  unsigned int qp ) const;
63 
64  libMesh::Real compute_res_energy_transient( AssemblyContext& context,
65  unsigned int qp ) const;
66 
67  protected:
68 
70 
71  private:
72 
74 
75  };
76 
77 } // end namespace GRINS
78 
79 #endif // GRINS_LOW_MACH_NAVIER_STOKES_STAB_BASE_H
libMesh::RealGradient compute_res_momentum_transient(AssemblyContext &context, unsigned int qp) const
GRINS namespace.
libMesh::Real compute_res_energy_steady(AssemblyContext &context, unsigned int qp) const
std::string PhysicsName
Adds VMS-based stabilization to LowMachNavierStokes physics class.
libMesh::Real compute_res_energy_transient(AssemblyContext &context, unsigned int qp) const
Physics class for Incompressible Navier-Stokes.
virtual void init_context(AssemblyContext &context)
Initialize context for added physics variables.
libMesh::RealGradient compute_res_momentum_steady(AssemblyContext &context, unsigned int qp) const
libMesh::Real compute_res_continuity_steady(AssemblyContext &context, unsigned int qp) const
LowMachNavierStokesStabilizationHelper _stab_helper
libMesh::Real compute_res_continuity_transient(AssemblyContext &context, unsigned int qp) const

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