www.mooseframework.org
INSChorinPressurePoisson.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 INSCHORINPRESSUREPOISSON_H
8 #define INSCHORINPRESSUREPOISSON_H
9 
10 #include "Kernel.h"
11 
12 // Forward Declarations
14 
15 template <>
17 
23 class INSChorinPressurePoisson : public Kernel
24 {
25 public:
26  INSChorinPressurePoisson(const InputParameters & parameters);
27 
29 
30 protected:
31  virtual Real computeQpResidual();
32  virtual Real computeQpJacobian();
33  virtual Real computeQpOffDiagJacobian(unsigned jvar);
34 
35  // Gradients of the "star" velocity
36  const VariableGradient & _grad_u_star;
37  const VariableGradient & _grad_v_star;
38  const VariableGradient & _grad_w_star;
39 
40  // Variable numberings
44 
45  // Material properties
46  const MaterialProperty<Real> & _rho;
47 };
48 
49 #endif // INSCHORINPRESSUREPOISSON_H
virtual Real computeQpOffDiagJacobian(unsigned jvar)
This class computes the pressure Poisson solve which is part of the "split" scheme used for solving t...
const VariableGradient & _grad_v_star
const MaterialProperty< Real > & _rho
const VariableGradient & _grad_u_star
const VariableGradient & _grad_w_star
INSChorinPressurePoisson(const InputParameters &parameters)
InputParameters validParams< INSChorinPressurePoisson >()