GRINS-0.8.0
reacting_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_REACTING_LOW_MACH_NAVIER_STOKES_STAB_BASE_H
26 #define GRINS_REACTING_LOW_MACH_NAVIER_STOKES_STAB_BASE_H
27 
28 //GRINS
31 
33 namespace GRINS
34 {
36  template<typename Mixture, typename Evaluator>
38  {
39 
40  public:
41 
42  ReactingLowMachNavierStokesStabilizationBase( const GRINS::PhysicsName& physics_name, const GetPot& input,
43  libMesh::UniquePtr<Mixture> & gas_mix);
44 
46 
48  virtual void init_context( AssemblyContext& context );
49 
50  void compute_res_steady( AssemblyContext& context,
51  unsigned int qp,
52  libMesh::Real& RP_s,
53  libMesh::RealGradient& RM_s,
54  libMesh::Real& RE_s,
55  std::vector<libMesh::Real>& Rs_s );
56 
58  unsigned int qp,
59  libMesh::Real& RP_t,
60  libMesh::RealGradient& RM_t,
61  libMesh::Real& RE_t,
62  std::vector<libMesh::Real>& Rs_t );
63 
64  protected:
65 
67 
68  private:
69 
71 
72  };
73 
74 } // end namespace GRINS
75 
76 #endif // GRINS_REACTING_LOW_MACH_NAVIER_STOKES_STAB_BASE_H
GRINS namespace.
Adds VMS-based stabilization to LowMachNavierStokes physics class.
std::string PhysicsName
void compute_res_steady(AssemblyContext &context, unsigned int qp, libMesh::Real &RP_s, libMesh::RealGradient &RM_s, libMesh::Real &RE_s, std::vector< libMesh::Real > &Rs_s)
void compute_res_transient(AssemblyContext &context, unsigned int qp, libMesh::Real &RP_t, libMesh::RealGradient &RM_t, libMesh::Real &RE_t, std::vector< libMesh::Real > &Rs_t)
virtual void init_context(AssemblyContext &context)
Initialize context for added physics variables.

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