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)
57 RealVectorValue velocity;
66 RealVectorValue velocity;
67 unsigned int component = 0;
registerMooseObject("SolidMechanicsApp", DashpotBC)
void ErrorVector unsigned int
Implements a simple constant Dashpot BC where grad(u)=value on the boundary.
const VariableValue & _disp_z_dot
unsigned int _component
Component of the velocity vector.
const VariableValue & _disp_x_dot
virtual Real computeQpResidual()
virtual Real computeQpJacobian()
DashpotBC(const InputParameters ¶meters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
static InputParameters validParams()
const VariableValue & _disp_y_dot
static InputParameters validParams()
const VariablePhiValue & _phi
const MooseArray< Point > & _normals
const VariableTestValue & _test