22 "Compute components of a rank-2 tensor in a spherical coordinate system");
24 "The rank two material tensor name");
26 "property_name",
"Name of the material property computed by this model");
27 MooseEnum sphericalTypes(
"HoopStress RadialStress");
29 "spherical_component", sphericalTypes,
"Type of spherical scalar output");
30 params.
addParam<Point>(
"spherical_center_point",
31 "Center point of the spherical coordinate system.");
39 _tensor(getGenericMaterialProperty<
RankTwoTensor, is_ad>(
"rank_two_tensor")),
40 _property(declareGenericProperty<Real, is_ad>(
"property_name")),
41 _spherical_component(getParam<
MooseEnum>(
"spherical_component")
43 _center(isParamValid(
"spherical_center_point") ? getParam<Point>(
"spherical_center_point")
59 Point dummy_direction;
62 _tensor[_qp], _spherical_component, _center, _q_point[_qp], dummy_direction);
registerMooseObject("SolidMechanicsApp", RankTwoSphericalComponent)
static InputParameters validParams()
RankTwoSphericalComponent computes spherical scalar values from Rank-2 tensors.
RankTwoSphericalComponentTempl(const InputParameters ¶meters)
virtual void computeQpProperties() override
virtual void initQpStatefulProperties() override
static InputParameters validParams()