24 "Adds $-Bi \\cdot p_s \\cdot \\nabla \\Psi_c$, where the subscript $c$ is the component.");
27 "The gradient direction (0 for x, 1 for y and 2 for z)");
33 _coefficient(getMaterialProperty<
Real>(
"biot_coefficient")),
34 _porepressure(coupledValue(
"porepressure")),
35 _porepressure_var_num(coupled(
"porepressure")),
36 _component(getParam<unsigned
int>(
"component"))
39 mooseError(
"PoroMechanicsCoupling: component should not be greater than the mesh dimension\n");
static InputParameters validParams()
unsigned int _component
An integer corresponding to the direction this kernel acts in.
static InputParameters validParams()
unsigned int number() const
PoroMechanicsCoupling(const InputParameters ¶meters)
const VariableValue & _porepressure
registerMooseObject("SolidMechanicsApp", PoroMechanicsCoupling)
virtual unsigned int dimension() const
virtual Real computeQpResidual()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableTestGradient & _grad_test
void mooseError(Args &&... args) const
unsigned int _porepressure_var_num
const MaterialProperty< Real > & _coefficient
Biot coefficient.
const VariablePhiValue & _phi
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
void ErrorVector unsigned int
virtual Real computeQpJacobian()
PoroMechanicsCoupling computes -coefficient*porepressure*grad_test[component].