21 InputParameters params = validParams<Kernel>();
22 params.addRequiredParam<
unsigned int>(
"component",
23 "An integer corresponding to the direction "
24 "the variable this kernel acts in. (0 for r, "
26 params.addCoupledVar(
"disp_r",
"The r displacement");
28 params.addCoupledVar(
"temp",
"The temperature");
30 params.addParam<Real>(
"zeta", 0.0,
"Stiffness dependent damping parameter for Rayleigh damping");
31 params.addParam<Real>(
"alpha", 0.0,
"alpha parameter for HHT time integration");
32 params.addParam<std::string>(
33 "appended_property_name",
"",
"Name appended to material properties to make them unique");
34 params.addParam<
bool>(
"volumetric_locking_correction",
36 "Set to false to turn off volumetric locking correction");
38 params.set<
bool>(
"use_displaced_mesh") =
true;
45 _stress(getMaterialProperty<
SymmTensor>(
"stress")),
47 _d_stress_dT(getMaterialProperty<
SymmTensor>(
"d_stress_dT")),
48 _component(getParam<unsigned int>(
"component")),
49 _temp_coupled(isCoupled(
"temp")),
50 _temp_var(_temp_coupled ? coupled(
"temp") : 0)
52 mooseDeprecated(
name(),
": StressDivergenceRSpherical is deprecated. \
53 The solid_mechanics module will be removed from MOOSE on July 31, 2020. \
54 Please update your input files to utilize the tensor_mechanics equivalents of \
55 models based on solid_mechanics. A detailed migration guide that was developed \
56 for BISON, but which is generally applicable to any MOOSE model is available at: \
57 https://mooseframework.org/bison/tutorials/mechanics_conversion/overview.html");
66 div = _grad_test[_i][_qp](0) *
_stress[_qp].xx() +
67 _test[_i][_qp] / _q_point[_qp](0) *
_stress[_qp].yy() +
68 _test[_i][_qp] / _q_point[_qp](0) *
_stress[_qp].zz();
80 test.
xx() = _grad_test[_i][_qp](0);
81 test.
yy() = _test[_i][_qp] / _q_point[_qp](0);
82 test.
zz() = test.
yy();
83 phi.
xx() = _grad_phi[_j][_qp](0);
84 phi.
yy() = _phi[_j][_qp] / _q_point[_qp](0);
104 test.
xx() = _grad_test[_i][_qp](0);
105 test.
yy() = _test[_i][_qp] / _q_point[_qp](0);
106 test.
zz() = test.
yy();
107 return _d_stress_dT[_qp].doubleContraction(test) * _phi[_j][_qp];