22 "fully-discrete (both time and space) form.");
32 "0,1,2 depending on if we are solving the x,y,z component of the Corrector equation");
35 params.
addParam<MaterialPropertyName>(
"rho_name",
"rho",
"density name");
44 _u_vel_star(coupledValue(
"u_star")),
45 _v_vel_star(_mesh.dimension() >= 2 ? coupledValue(
"v_star") : _zero),
46 _w_vel_star(_mesh.dimension() == 3 ? coupledValue(
"w_star") : _zero),
49 _grad_p(coupledGradient(
NS::pressure)),
52 _u_vel_star_var_number(coupled(
"u_star")),
53 _v_vel_star_var_number(_mesh.dimension() >= 2 ? coupled(
"v_star") :
libMesh::invalid_uint),
54 _w_vel_star_var_number(_mesh.dimension() == 3 ? coupled(
"w_star") :
libMesh::invalid_uint),
55 _p_var_number(coupled(
NS::pressure)),
58 _component(getParam<unsigned>(
"component")),
61 _rho(getMaterialProperty<Real>(
"rho_name"))
77 return symmetric_part + pressure_part;
registerMooseObject("NavierStokesApp", INSChorinCorrector)
This class computes the "Chorin" Corrector equation in fully-discrete (both time and space) form.
unsigned _v_vel_star_var_number
const VariableGradient & _grad_p
virtual Real computeQpResidual()
const MaterialProperty< Real > & _rho
const VariableValue & _u_vel_star
const VariableValue & _w_vel_star
unsigned _u_vel_star_var_number
virtual Real computeQpJacobian()
unsigned _w_vel_star_var_number
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
const VariableValue & _v_vel_star
INSChorinCorrector(const InputParameters ¶meters)
const VariablePhiValue & _phi
const VariableTestValue & _test
static InputParameters validParams()
const VariablePhiGradient & _grad_phi
static const std::string pressure
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...