20 params.
addClassDescription(
"Compute the kinetic energy of continuum-based finite elements");
22 "X component of the velocity from the Newmark integration scheme");
24 "Y component of the velocity from the Newmark integration scheme");
26 "Z component of the velocity from the Newmark integration scheme");
28 params.
addParam<MaterialPropertyName>(
"density",
30 "Name of material property or a constant real number " 31 "defining the density of the continuum material.");
32 params.
addParam<std::string>(
"base_name",
"Mechanical property base name");
39 _base_name(isParamValid(
"base_name") ? getParam<
std::string>(
"base_name") +
"_" :
""),
40 _density(getGenericMaterialProperty<
Real, is_ad>(_base_name +
"density")),
41 _vel_x(coupledValue(
"newmark_velocity_x")),
42 _vel_y(coupledValue(
"newmark_velocity_y")),
43 _vel_z(coupledValue(
"newmark_velocity_z"))
53 (_vel_x[_qp] * _vel_x[_qp] + _vel_y[_qp] * _vel_y[_qp] + _vel_z[_qp] * _vel_z[_qp]));
54 return kinetic_energy;
virtual Real computeValue()
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("SolidMechanicsApp", KineticEnergyAux)
static InputParameters validParams()
KineticEnergyAuxTempl(const InputParameters ¶meters)