19 params.
addClassDescription(
"Apply a body force vector to the coupled displacement component.");
21 "function",
"1",
"Function to scale the coupled body force vector property");
23 "hht_alpha", 0.0,
"alpha parameter required for HHT time integration scheme");
24 params.
addRequiredParam<MaterialPropertyName>(
"body_force",
"Force per unit volume vector");
33 _function(getFunction(
"function")),
34 _alpha(getParam<
Real>(
"hht_alpha"))
42 "The kernel variable needs to be one of the 'displacements' variables");
static InputParameters validParams()
MaterialVectorBodyForce applies a body force (force/volume) given as a vector material property...
const unsigned int invalid_uint
virtual Real computeQpResidual()
unsigned int number() const
const Function & _function
optional scaling function
MooseVariable * getVar(const std::string &var_name, unsigned int comp)
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
const VariableTestValue & _test
const MaterialProperty< RealVectorValue > & _body_force
coupled body force vector property
static InputParameters validParams()
void paramError(const std::string ¶m, Args... args) const
unsigned int coupledComponents(const std::string &var_name) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("SolidMechanicsApp", MaterialVectorBodyForce)
unsigned int _component
coordinate axis this Kernel acts on
virtual Real value(Real t, const Point &p) const
const MooseArray< Point > & _q_point
MaterialVectorBodyForce(const InputParameters ¶meters)