www.mooseframework.org
INSPressurePoisson.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 INSPRESSUREPOISSON_H
8 #define INSPRESSUREPOISSON_H
9 
10 #include "Kernel.h"
11 
12 // Forward Declarations
13 class INSPressurePoisson;
14 
15 template <>
16 InputParameters validParams<INSPressurePoisson>();
17 
25 class INSPressurePoisson : public Kernel
26 {
27 public:
28  INSPressurePoisson(const InputParameters & parameters);
29 
30  virtual ~INSPressurePoisson() {}
31 
32 protected:
33  virtual Real computeQpResidual();
34  virtual Real computeQpJacobian();
35  virtual Real computeQpOffDiagJacobian(unsigned jvar);
36 
37  // Gradients of the accleration vector, 'a'
38  const VariableGradient & _grad_a1;
39  const VariableGradient & _grad_a2;
40  const VariableGradient & _grad_a3;
41 
42  // Variable numberings
43  unsigned _a1_var_number;
44  unsigned _a2_var_number;
45  unsigned _a3_var_number;
46 
47  // Material properties
48  const MaterialProperty<Real> & _rho;
49 };
50 
51 #endif // INSPRESSUREPOISSON_H
const VariableGradient & _grad_a3
virtual Real computeQpResidual()
This class computes the pressure Poisson solve which is part of the "split" scheme used for solving t...
virtual Real computeQpOffDiagJacobian(unsigned jvar)
INSPressurePoisson(const InputParameters &parameters)
const VariableGradient & _grad_a2
InputParameters validParams< INSPressurePoisson >()
const MaterialProperty< Real > & _rho
virtual Real computeQpJacobian()
const VariableGradient & _grad_a1