19 "component",
"The displacement component corresponding the variable this BC acts on.");
21 params.
addCoupledVar(
"disp_y",
"Displacement in the y direction");
22 params.
addCoupledVar(
"disp_z",
"Displacement in the z direction");
24 params.
addParam<
Real>(
"coefficient", 1.0,
"The viscosity coefficient");
31 _component(getParam<unsigned
int>(
"component")),
32 _coefficient(getParam<
Real>(
"coefficient")),
33 _disp_x_var(coupled(
"disp_x")),
34 _disp_y_var(isCoupled(
"disp_y") ? coupled(
"disp_y") : 0),
35 _disp_z_var(isCoupled(
"disp_z") ? coupled(
"disp_z") : 0),
37 _disp_x_dot(coupledDot(
"disp_x")),
38 _disp_y_dot(isCoupled(
"disp_y") ? coupledDot(
"disp_y") : _zero),
39 _disp_z_dot(isCoupled(
"disp_z") ? coupledDot(
"disp_z") : _zero)
const VariableTestValue & _test
registerMooseObject("SolidMechanicsApp", DashpotBC)
const MooseArray< Point > & _normals
static const std::string component
unsigned int _component
Component of the velocity vector.
static InputParameters validParams()
static InputParameters validParams()
const VariablePhiValue & _phi
const VariableValue & _disp_y_dot
virtual Real computeQpJacobian()
Implements a simple constant Dashpot BC where grad(u)=value on the boundary.
DashpotBC(const InputParameters ¶meters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableValue & _disp_z_dot
static const std::string velocity
virtual Real computeQpResidual()
void ErrorVector unsigned int
const VariableValue & _disp_x_dot