21 InputParameters params = validParams<Kernel>();
22 params.addCoupledVar(
"disp_x",
"The x displacement");
23 params.addCoupledVar(
"disp_y",
"The y displacement");
24 params.addCoupledVar(
"temp",
"The temperature");
25 params.addParam<std::string>(
26 "appended_property_name",
"",
"Name appended to material properties to make them unique");
28 params.set<
bool>(
"use_displaced_mesh") =
true;
35 _stress(getMaterialProperty<
SymmTensor>(
"stress" +
36 getParam<std::string>(
"appended_property_name"))),
38 "Jacobian_mult" + getParam<std::string>(
"appended_property_name"))),
39 _d_stress_dT(getMaterialProperty<
SymmTensor>(
"d_stress_dT" +
40 getParam<std::string>(
"appended_property_name"))),
41 _xdisp_coupled(isCoupled(
"disp_x")),
42 _ydisp_coupled(isCoupled(
"disp_y")),
43 _temp_coupled(isCoupled(
"temp")),
44 _xdisp_var(_xdisp_coupled ? coupled(
"disp_x") : 0),
45 _ydisp_var(_ydisp_coupled ? coupled(
"disp_y") : 0),
46 _temp_var(_temp_coupled ? coupled(
"temp") : 0)
48 mooseDeprecated(
name(),
": OutOfPlaneStress is deprecated. \
49 The solid_mechanics module will be removed from MOOSE on July 31, 2020. \
50 Please update your input files to utilize the tensor_mechanics equivalents of \
51 models based on solid_mechanics. A detailed migration guide that was developed \
52 for BISON, but which is generally applicable to any MOOSE model is available at: \
53 https://mooseframework.org/bison/tutorials/mechanics_conversion/overview.html");
59 return _stress[_qp].component(2) * _test[_i][_qp];
66 return C33 * _test[_i][_qp] * _phi[_j][_qp];