19 "Corrects the convective derivative for situations in which the fluid mesh is dynamic.");
23 params.
addParam<MaterialPropertyName>(
"rho_name",
"rho",
"The name of the density");
25 "supg",
false,
"Whether to perform SUPG stabilization of the momentum residuals");
31 _disp_x_dot(coupledDot(
"disp_x")),
32 _d_disp_x_dot(coupledDotDu(
"disp_x")),
33 _disp_x_id(coupled(
"disp_x")),
34 _disp_y_dot(isCoupled(
"disp_y") ? coupledDot(
"disp_y") : _zero),
35 _d_disp_y_dot(isCoupled(
"disp_y") ? coupledDotDu(
"disp_y") : _zero),
36 _disp_y_id(coupled(
"disp_y")),
37 _disp_z_dot(isCoupled(
"disp_z") ? coupledDot(
"disp_z") : _zero),
38 _d_disp_z_dot(isCoupled(
"disp_z") ? coupledDotDu(
"disp_z") : _zero),
39 _disp_z_id(coupled(
"disp_z")),
40 _rho(getMaterialProperty<
Real>(
"rho_name")),
41 _supg(getParam<bool>(
"supg"))
50 paramError(
"variable",
"The variable must match one of the velocity variables.");
97 mooseAssert(jvar !=
_var.
number(),
"Making sure I understand how old hand-coded Jacobians work.");
const VariableValue & _disp_z_dot
const unsigned int _disp_y_id
const VariableGradient & _grad_u
virtual Real computeQpResidual() override
This class computes strong and weak components of the INS governing equations.
unsigned int number() const
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
static InputParameters validParams()
static const std::string component
const VariablePhiGradient & _grad_phi
RealVectorValue relativeVelocity() const
Compute the velocity.
virtual Real computeQpJacobian() override
virtual Real dTauDUComp(unsigned comp)
ConvectedMesh(const InputParameters ¶meters)
Real strongResidual()
Compute the strong residual, e.g.
const unsigned int _disp_x_id
const bool _supg
Whether this kernel should include Streamline-Upwind Petrov-Galerkin stabilization.
Real computePGVelocityJacobian(unsigned short component)
Compute the Jacobian of the Petrov-Galerkin stabilization addition with respect to the provided veloc...
const unsigned int _disp_z_id
const VariableValue & _disp_x_dot
static InputParameters validParams()
const VariableValue & _d_disp_y_dot
unsigned _w_vel_var_number
const VariableValue & _d_disp_z_dot
const VariableTestValue & _test
const VariableValue & _d_disp_x_dot
unsigned short _component
The velocity component this kernel is acting on.
registerMooseObject("FsiApp", ConvectedMesh)
void paramError(const std::string ¶m, Args... args) const
unsigned _u_vel_var_number
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableTestGradient & _grad_test
const MaterialProperty< Real > & _rho
unsigned _v_vel_var_number
const VariableValue & _disp_y_dot
const VariablePhiValue & _phi
This calculates the time derivative for a coupled variable.