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.");
registerMooseObject("FsiApp", ConvectedMesh)
This calculates the time derivative for a coupled variable.
ConvectedMesh(const InputParameters ¶meters)
const VariableValue & _disp_y_dot
const bool _supg
Whether this kernel should include Streamline-Upwind Petrov-Galerkin stabilization.
unsigned short _component
The velocity component this kernel is acting on.
const unsigned int _disp_y_id
virtual Real computeQpJacobian() override
const VariableValue & _disp_x_dot
const unsigned int _disp_z_id
const unsigned int _disp_x_id
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const VariableValue & _disp_z_dot
Real strongResidual()
Compute the strong residual, e.g.
const VariableValue & _d_disp_y_dot
const MaterialProperty< Real > & _rho
virtual Real computeQpResidual() override
const VariableValue & _d_disp_x_dot
static InputParameters validParams()
Real computePGVelocityJacobian(unsigned short component)
Compute the Jacobian of the Petrov-Galerkin stabilization addition with respect to the provided veloc...
const VariableValue & _d_disp_z_dot
This class computes strong and weak components of the INS governing equations.
unsigned _w_vel_var_number
static InputParameters validParams()
virtual Real dTauDUComp(unsigned comp)
unsigned _v_vel_var_number
unsigned _u_vel_var_number
RealVectorValue relativeVelocity() const
Compute the velocity.
const VariableGradient & _grad_u
const VariablePhiValue & _phi
const VariableTestValue & _test
const VariablePhiGradient & _grad_phi
const VariableTestGradient & _grad_test
void paramError(const std::string ¶m, Args... args) const
unsigned int number() const