13#include "metaphysicl/raw_type.h"
24 "Compute components of a rank-2 tensor in a spherical coordinate system");
26 "The rank two material tensor name");
28 "property_name",
"Name of the material property computed by this model");
29 MooseEnum sphericalTypes(
"HoopStress RadialStress");
31 "spherical_component", sphericalTypes,
"Type of spherical scalar output");
32 params.
addParam<Point>(
"spherical_center_point",
33 "Center point of the spherical coordinate system.");
41 _tensor(getGenericMaterialProperty<
RankTwoTensor, is_ad>(
"rank_two_tensor")),
42 _property(declareGenericProperty<Real, is_ad>(
"property_name")),
43 _spherical_component(getParam<
MooseEnum>(
"spherical_component")
45 _center(isParamValid(
"spherical_center_point") ? getParam<Point>(
"spherical_center_point")
61 Point 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()