#include <NewmarkVelAux.h>
Definition at line 19 of file NewmarkVelAux.h.
◆ NewmarkVelAux()
NewmarkVelAux::NewmarkVelAux |
( |
const InputParameters & |
parameters | ) |
|
Calcualtes velocity using Newmark time integration scheme.
Definition at line 26 of file NewmarkVelAux.C.
27 : AuxKernel(parameters),
29 _accel(coupledValue(
"acceleration")),
30 _gamma(getParam<Real>(
"gamma"))
◆ ~NewmarkVelAux()
virtual NewmarkVelAux::~NewmarkVelAux |
( |
| ) |
|
|
inlinevirtual |
◆ computeValue()
Real NewmarkVelAux::computeValue |
( |
| ) |
|
|
protectedvirtual |
Definition at line 35 of file NewmarkVelAux.C.
37 Real vel_old = _u_old[_qp];
39 mooseError(
"must run on a nodal variable");
◆ validParams()
InputParameters NewmarkVelAux::validParams |
( |
| ) |
|
|
static |
Definition at line 17 of file NewmarkVelAux.C.
20 params.addClassDescription(
"Calculates the current velocity using Newmark method.");
21 params.addRequiredCoupledVar(
"acceleration",
"acceleration variable");
22 params.addRequiredParam<Real>(
"gamma",
"gamma parameter for Newmark method");
◆ _accel
const VariableValue& NewmarkVelAux::_accel |
|
protected |
◆ _accel_old
const VariableValue& NewmarkVelAux::_accel_old |
|
protected |
◆ _gamma
Real NewmarkVelAux::_gamma |
|
protected |
The documentation for this class was generated from the following files: