Go to the documentation of this file.
19 params.addClassDescription(
"This class computes additional momentum equation residual and "
20 "Jacobian contributions for the incompressible Navier-Stokes momentum "
21 "equation in RZ (axisymmetric cylindrical) coordinates.");
33 const Real & r = _q_point[_qp](0);
43 const Real & r = _q_point[_qp](0);
44 RealVectorValue add_jac(0, 0, 0);
47 add_jac(0) = 2. *
_mu[_qp] * (_phi[_j][_qp] / (r * r) - _grad_phi[_j][_qp](0) / r);
48 add_jac(1) = -
_mu[_qp] / r * _grad_phi[_j][_qp](1);
51 add_jac(1) = -
_mu[_qp] * _grad_phi[_j][_qp](0) / r;
64 const Real r = _q_point[_qp](0);
67 res_base += 2. *
_mu[_qp] *
_u_vel[_qp] / (r * r) * _test[_i][_qp];
71 res_base += -
_p[_qp] / r * _test[_i][_qp];
86 const Real r = _q_point[_qp](0);
87 jac_base += 2. *
_mu[_qp] * _phi[_j][_qp] * _test[_i][_qp] / (r * r);
104 const Real r = _q_point[_qp](0);
105 jac_base += -_phi[_j][_qp] / r * _test[_i][_qp];
bool _integrate_p_by_parts
virtual Real computeQpResidual()
virtual RealVectorValue strongViscousTermTraction()
virtual Real computeQpJacobian()
const VariableGradient & _grad_u_vel
const VariableValue & _u_vel
virtual RealVectorValue dStrongViscDUCompTraction(unsigned comp)
const VariableGradient & _grad_v_vel
virtual Real computeQpOffDiagJacobian(unsigned jvar)
const MaterialProperty< Real > & _mu