This class computes the pressure Poisson solve which is part of the "split" scheme used for solving the incompressible Navier-Stokes equations.
More...
#include <INSChorinPressurePoisson.h>
This class computes the pressure Poisson solve which is part of the "split" scheme used for solving the incompressible Navier-Stokes equations.
Definition at line 25 of file INSChorinPressurePoisson.h.
◆ INSChorinPressurePoisson()
INSChorinPressurePoisson::INSChorinPressurePoisson |
( |
const InputParameters & |
parameters | ) |
|
◆ ~INSChorinPressurePoisson()
virtual INSChorinPressurePoisson::~INSChorinPressurePoisson |
( |
| ) |
|
|
inlinevirtual |
◆ computeQpJacobian()
Real INSChorinPressurePoisson::computeQpJacobian |
( |
| ) |
|
|
protectedvirtual |
◆ computeQpOffDiagJacobian()
Real INSChorinPressurePoisson::computeQpOffDiagJacobian |
( |
unsigned |
jvar | ) |
|
|
protectedvirtual |
Definition at line 75 of file INSChorinPressurePoisson.C.
78 return (
_rho[_qp] / _dt) * _grad_phi[_j][_qp](0) * _test[_i][_qp];
81 return (
_rho[_qp] / _dt) * _grad_phi[_j][_qp](1) * _test[_i][_qp];
84 return (
_rho[_qp] / _dt) * _grad_phi[_j][_qp](2) * _test[_i][_qp];
◆ computeQpResidual()
Real INSChorinPressurePoisson::computeQpResidual |
( |
| ) |
|
|
protectedvirtual |
Definition at line 54 of file INSChorinPressurePoisson.C.
57 Real laplacian_part = _grad_u[_qp] * _grad_test[_i][_qp];
60 Real div_part = (
_rho[_qp] / _dt) *
65 return laplacian_part + div_part;
◆ _grad_u_star
const VariableGradient& INSChorinPressurePoisson::_grad_u_star |
|
protected |
◆ _grad_v_star
const VariableGradient& INSChorinPressurePoisson::_grad_v_star |
|
protected |
◆ _grad_w_star
const VariableGradient& INSChorinPressurePoisson::_grad_w_star |
|
protected |
◆ _rho
const MaterialProperty<Real>& INSChorinPressurePoisson::_rho |
|
protected |
◆ _u_vel_star_var_number
unsigned INSChorinPressurePoisson::_u_vel_star_var_number |
|
protected |
◆ _v_vel_star_var_number
unsigned INSChorinPressurePoisson::_v_vel_star_var_number |
|
protected |
◆ _w_vel_star_var_number
unsigned INSChorinPressurePoisson::_w_vel_star_var_number |
|
protected |
The documentation for this class was generated from the following files: