12 #include "libmesh/utility.h" 24 params.
addClassDescription(
"Calculate the wave speed as $E / \\sqrt{\\rho}$ where $E$ is the " 25 "effective stiffness, and $\\rho$ is the material density.");
26 params.
addParam<std::string>(
"base_name",
27 "Optional parameter that allows the user to define " 28 "multiple mechanics material systems on the same " 29 "block, i.e. for multiple phases");
36 _wave_speed(declareProperty<
Real>(
"wave_speed")),
37 _material_density(getMaterialPropertyByName<
Real>(
"density")),
38 _effective_stiffness(getMaterialPropertyByName<
Real>(
"effective_stiffness"))
static InputParameters validParams()
registerMooseObject("SolidMechanicsApp", WaveSpeed)
const MaterialProperty< Real > & _effective_stiffness
Effective stiffness of element: function of material properties and element size. ...
This material computes the wave speed for dynamic simulations using the Young's modulus (or equivalen...
const MaterialProperty< Real > & _material_density
Density of the material.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
WaveSpeed(const InputParameters ¶meters)
MaterialProperty< Real > & _wave_speed
The wave speed material generated here.
virtual void computeQpProperties()