www.mooseframework.org
AddNavierStokesKernelsAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef ADDNAVIERSTOKESKERNELSACTION_H
8 #define ADDNAVIERSTOKESKERNELSACTION_H
9 
10 #include "NSAction.h"
11 
13 
14 template <>
16 
28 {
29 public:
30  AddNavierStokesKernelsAction(InputParameters parameters);
32 
33  virtual void act();
34 
35 protected:
36  // Helper function that sets the parameters which are common to all NSKernels.
37  void setCommonParams(InputParameters & params);
38 
39  // Couple the appropriate number (depending on the _dim) of velocity/momentum
40  // components into a Kernel.
41  void coupleVelocities(InputParameters & params);
42  void coupleMomentums(InputParameters & params);
43 
44  // Helper functions that add various inviscid flux Kernels.
45  void addNSMassInviscidFlux();
46  void addNSMomentumInviscidFlux(unsigned int component);
48 
49  // Helper functions that add SUPG Kernels
50  void addNSSUPGMass();
51  void addNSSUPGMomentum(unsigned int component);
52  void addNSSUPGEnergy();
53 
54  // Helper functions that add AuxKernels
55  void addPressureOrTemperatureAux(const std::string & kernel_type);
56  void addNSVelocityAux(unsigned int component);
57  void addNSEnthalpyAux();
58  void addNSMachAux();
61 
62  // Name of the FluidProperties object to pass on to Kernels
63  UserObjectName _fp_name;
64 };
65 
66 #endif
void coupleMomentums(InputParameters &params)
AddNavierStokesKernelsAction(InputParameters parameters)
void addNSMomentumInviscidFlux(unsigned int component)
void addPressureOrTemperatureAux(const std::string &kernel_type)
void setCommonParams(InputParameters &params)
Real component(const SymmTensor &symm_tensor, unsigned int index)
void addNSSUPGMomentum(unsigned int component)
InputParameters validParams< AddNavierStokesKernelsAction >()
This class allows us to have a section of the input file like the following which automatically adds ...
void addNSVelocityAux(unsigned int component)
This is a base Action class for the Navier-Stokes module which is responsible for building lists of n...
Definition: NSAction.h:23
void coupleVelocities(InputParameters &params)