www.mooseframework.org
INSMomentumBase.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 INSMOMENTUMBASE_H
8 #define INSMOMENTUMBASE_H
9 
10 #include "INSBase.h"
11 
12 // Forward Declarations
13 class INSMomentumBase;
14 
15 template <>
16 InputParameters validParams<INSMomentumBase>();
17 
23 class INSMomentumBase : public INSBase
24 {
25 public:
26  INSMomentumBase(const InputParameters & parameters);
27 
28  virtual ~INSMomentumBase() {}
29 
30 protected:
31  virtual Real computeQpResidual();
32  virtual Real computeQpJacobian();
33  virtual Real computeQpOffDiagJacobian(unsigned jvar);
34  virtual Real computeQpResidualViscousPart() = 0;
35  virtual Real computeQpJacobianViscousPart() = 0;
36  virtual Real computeQpOffDiagJacobianViscousPart(unsigned jvar) = 0;
37 
38  virtual Real computeQpPGResidual();
39  virtual Real computeQpPGJacobian(unsigned comp);
40 
41  unsigned _component;
43  bool _supg;
44  Function & _ffn;
45 };
46 
47 #endif // INSMOMENTUMBASE_H
This class computes the momentum equation residual and Jacobian contributions for the incompressible ...
virtual Real computeQpResidualViscousPart()=0
This class computes strong and weak components of the INS governing equations.
Definition: INSBase.h:22
virtual Real computeQpPGResidual()
virtual Real computeQpResidual()
virtual Real computeQpJacobianViscousPart()=0
virtual Real computeQpOffDiagJacobianViscousPart(unsigned jvar)=0
virtual Real computeQpJacobian()
virtual ~INSMomentumBase()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
virtual Real computeQpPGJacobian(unsigned comp)
INSMomentumBase(const InputParameters &parameters)
InputParameters validParams< INSMomentumBase >()