19 "Model a dashpot boundary condition where the traction is proportional " 20 "to the normal velocity.");
22 "component",
"The displacement component corresponding the variable this BC acts on.");
24 params.
addCoupledVar(
"disp_y",
"Displacement in the y direction");
25 params.
addCoupledVar(
"disp_z",
"Displacement in the z direction");
27 params.
addParam<
Real>(
"coefficient", 1.0,
"The viscosity coefficient");
34 _component(getParam<unsigned
int>(
"component")),
35 _coefficient(getParam<
Real>(
"coefficient")),
36 _disp_x_var(coupled(
"disp_x")),
37 _disp_y_var(isCoupled(
"disp_y") ? coupled(
"disp_y") : 0),
38 _disp_z_var(isCoupled(
"disp_z") ? coupled(
"disp_z") : 0),
40 _disp_x_dot(coupledDot(
"disp_x")),
41 _disp_y_dot(isCoupled(
"disp_y") ? coupledDot(
"disp_y") : _zero),
42 _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