18 params.
addParam<
Real>(
"initial", 0.0,
"The initial value of the gradient on the boundary");
19 params.
addParam<
Real>(
"final", 0.0,
"The final value of the gradient on the boundary");
20 params.
addParam<
Real>(
"duration", 0.0,
"The duration of the ramp");
21 params.
addClassDescription(
"Imposes a time-varying flux boundary condition $\\frac{\\partial " 22 "u}{\\partial n}=g(t)$, where $g(t)$ " 23 "varies from an given initial value at time $t=0$ to a given final " 24 "value over a specified duration.");
30 _initial(getParam<
Real>(
"initial")),
31 _final(getParam<
Real>(
"final")),
32 _duration(getParam<
Real>(
"duration"))
registerMooseObject("MooseApp", SinNeumannBC)
const VariableTestValue & _test
test function values (in QPs)
CTSub CT_OPERATOR_BINARY CTMul CTCompareLess CTCompareGreater CTCompareEqual _arg template * sin(_arg) *_arg.template D< dtag >()) CT_SIMPLE_UNARY_FUNCTION(tan
virtual Real computeQpResidual() override
Method for computing the residual at quadrature points.
static InputParameters validParams()
unsigned int _i
i-th, j-th index for enumerating test and shape functions
unsigned int _qp
quadrature point index
static InputParameters validParams()
SinNeumannBC(const InputParameters ¶meters)
Base class for deriving any boundary condition of a integrated type.
virtual const OutputTools< Real >::VariableValue & value()
The value of the variable this object is operating on.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Implements a spatially-constant, time-varying flux boundary condition grad(u).n = g(t)...