18 params.
set<Real>(
"initial") = 0.0;
19 params.
set<Real>(
"final") = 0.0;
20 params.
set<Real>(
"duration") = 0.0;
22 "Imposes a time-varying essential boundary condition $u=g(t)$, where $g(t)$ "
23 "varies from an given initial value at time $t=0$ to a given final value over a specified "
30 _initial(getParam<Real>(
"initial")),
31 _final(getParam<Real>(
"final")),
32 _duration(getParam<Real>(
"duration"))
registerMooseObject("MooseApp", SinDirichletBC)
virtual const OutputTools< Real >::VariableValue & value()
The value of the variable this object is operating on.
Base class for deriving any boundary condition that works at nodes.
const VariableValue & _u
Value of the unknown variable this BC is acting on.
static InputParameters validParams()
const unsigned int _qp
Pseudo-"quadrature point" index (Always zero for the current node)
A spatially-constant, time-varying NodalBC whose imposed value g(t) varies sinusoidally with time acc...
SinDirichletBC(const InputParameters ¶meters)
static InputParameters validParams()
virtual Real computeQpResidual() override