19 params.
addClassDescription(
"Prescribe acceleration on a given boundary in a given direction");
21 params.
addParam<
Real>(
"scale_factor", 1,
"Scale factor if function is given.");
22 params.
addParam<FunctionName>(
"function",
"1",
"Function describing the velocity.");
28 params.
set<
bool>(
"preset") =
true;
37 _scale_factor(parameters.
get<
Real>(
"scale_factor")),
38 _function(getFunction(
"function")),
39 _vel_old(coupledValueOld(
"velocity")),
40 _accel_old(coupledValueOld(
"acceleration")),
41 _beta(getParam<
Real>(
"beta"))
const Node *const & _current_node
const VariableValue & _u_old
const Function & _function
registerMooseObject("SolidMechanicsApp", PresetAcceleration)
const VariableValue & _vel_old
PresetAcceleration(const InputParameters ¶meters)
const VariableValue & _accel_old
static InputParameters validParams()
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpValue()
This class prescribes the acceleration on a given boundary in a given direction.
virtual Real value(Real t, const Point &p) const
const Elem & get(const ElemType type_in)