21 params.
addClassDescription(
"This class computes the 'projection' part of the 'split' method for "
22 "solving incompressible Navier-Stokes.");
32 "0,1,2 depending on if we are solving the x,y,z component of the momentum equation");
35 params.
addParam<MaterialPropertyName>(
"rho_name",
"rho",
"density name");
44 _a1(coupledValue(
"a1")),
45 _a2(_mesh.dimension() >= 2 ? coupledValue(
"a2") : _zero),
46 _a3(_mesh.dimension() == 3 ? coupledValue(
"a3") : _zero),
49 _grad_p(coupledGradient(
NS::pressure)),
52 _a1_var_number(coupled(
"a1")),
53 _a2_var_number(_mesh.dimension() >= 2 ? coupled(
"a2") :
libMesh::invalid_uint),
54 _a3_var_number(_mesh.dimension() == 3 ? coupled(
"a3") :
libMesh::invalid_uint),
55 _p_var_number(coupled(
NS::pressure)),
58 _component(getParam<unsigned>(
"component")),
61 _rho(getMaterialProperty<Real>(
"rho_name"))
82 return symmetric_part + pressure_part;
registerMooseObject("NavierStokesApp", INSProjection)
This class computes the "projection" part of the "split" method for solving incompressible Navier-Sto...
const VariableGradient & _grad_p
virtual Real computeQpJacobian()
const MaterialProperty< Real > & _rho
const VariableValue & _a2
virtual Real computeQpOffDiagJacobian(unsigned jvar)
const VariableValue & _a3
INSProjection(const InputParameters ¶meters)
static InputParameters validParams()
const VariableValue & _a1
virtual Real computeQpResidual()
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...