www.mooseframework.org
INSMass.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 INSMASS_H
8 #define INSMASS_H
9 
10 #include "INSBase.h"
11 
12 // Forward Declarations
13 class INSMass;
14 
15 template <>
16 InputParameters validParams<INSMass>();
17 
23 class INSMass : public INSBase
24 {
25 public:
26  INSMass(const InputParameters & parameters);
27 
28  virtual ~INSMass() {}
29 
30 protected:
31  virtual Real computeQpResidual();
32  virtual Real computeQpJacobian();
33  virtual Real computeQpOffDiagJacobian(unsigned jvar);
34 
35  virtual Real computeQpPGResidual();
36  virtual Real computeQpPGJacobian();
37  virtual Real computeQpPGOffDiagJacobian(unsigned comp);
38 
39  bool _pspg;
40  Function & _x_ffn;
41  Function & _y_ffn;
42  Function & _z_ffn;
43 };
44 
45 #endif // INSMASS_H
virtual ~INSMass()
Definition: INSMass.h:28
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Definition: INSMass.C:88
This class computes strong and weak components of the INS governing equations.
Definition: INSBase.h:22
virtual Real computeQpJacobian()
Definition: INSMass.C:69
This class computes the mass equation residual and Jacobian contributions for the incompressible Navi...
Definition: INSMass.h:23
virtual Real computeQpPGResidual()
Definition: INSMass.C:52
bool _pspg
Definition: INSMass.h:39
virtual Real computeQpPGJacobian()
Definition: INSMass.C:82
INSMass(const InputParameters &parameters)
Definition: INSMass.C:27
Function & _z_ffn
Definition: INSMass.h:42
Function & _x_ffn
Definition: INSMass.h:40
virtual Real computeQpResidual()
Definition: INSMass.C:38
Function & _y_ffn
Definition: INSMass.h:41
virtual Real computeQpPGOffDiagJacobian(unsigned comp)
Definition: INSMass.C:119
InputParameters validParams< INSMass >()
Definition: INSMass.C:12