20 "The grad-div operator optionally scaled by a constant scalar coefficient."
21 "Weak form: $(\\nabla \\cdot \\vec{\\psi_i}, k \\nabla \\cdot \\vec{u})$.");
22 params.
addParam<Real>(
"coeff", 1.0,
"The constant coefficient");
28 _div_test(_var.divPhi()),
29 _div_phi(_assembly.divPhi(_var)),
30 _div_u(_is_implicit ? _var.divSln() : _var.divSlnOld()),
31 _coeff(getParam<Real>(
"coeff"))
registerMooseObject("MooseApp", DivDivField)
Weak form contribution corresponding to -grad(k*div(u))
DivDivField(const InputParameters ¶meters)
Real _coeff
scalar coefficient
static InputParameters validParams()
const VectorVariableDivergence & _div_u
div of the variable
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
const VectorVariableTestDivergence & _div_test
div of the test function
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
const VectorVariablePhiDivergence & _div_phi
div of the shape function
unsigned int _qp
The current quadrature point index.
unsigned int _j
current index for the shape function
unsigned int _i
current index for the test function
static InputParameters validParams()