www.mooseframework.org
INSChorinCorrector.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Kernel.h"
13 
14 // Forward Declarations
15 
20 class INSChorinCorrector : public Kernel
21 {
22 public:
24 
26 
27  virtual ~INSChorinCorrector() {}
28 
29 protected:
30  virtual Real computeQpResidual();
31  virtual Real computeQpJacobian();
32  virtual Real computeQpOffDiagJacobian(unsigned jvar);
33 
34  // "Star" velocity components
38 
39  // Pressure gradients
41 
42  // Variable numberings
46  unsigned _p_var_number;
47 
48  // Parameters
49  unsigned _component;
50 
51  // Material properties
53 };
OutputTools< Real >::VariableGradient VariableGradient
const VariableValue & _v_vel_star
const VariableGradient & _grad_p
virtual Real computeQpOffDiagJacobian(unsigned jvar)
INSChorinCorrector(const InputParameters &parameters)
This class computes the "Chorin" Corrector equation in fully-discrete (both time and space) form...
OutputTools< Real >::VariableValue VariableValue
virtual Real computeQpJacobian()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableValue & _w_vel_star
virtual Real computeQpResidual()
const VariableValue & _u_vel_star
const InputParameters & parameters() const
static InputParameters validParams()
const MaterialProperty< Real > & _rho