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"))
registerMooseObject("SolidMechanicsApp", WaveSpeed)
static InputParameters validParams()
This material computes the wave speed for dynamic simulations using the Young's modulus (or equivalen...
virtual void computeQpProperties()
WaveSpeed(const InputParameters ¶meters)
static InputParameters validParams()
MaterialProperty< Real > & _wave_speed
The wave speed material generated here.
const MaterialProperty< Real > & _effective_stiffness
Effective stiffness of element: function of material properties and element size.
const MaterialProperty< Real > & _material_density
Density of the material.