14 #include "MooseMesh.h"
15 #include "MooseVariable.h"
25 params.addClassDescription(
26 "Adds $-Bi \\cdot p_s \\cdot \\nabla \\Psi_c$, where the subscript $c$ is the component.");
27 params.addRequiredCoupledVar(
"porepressure",
"Pore pressure, $p_s$.");
28 params.addRequiredParam<
unsigned int>(
"component",
29 "The gradient direction (0 for x, 1 for y and 2 for z)");
35 _coefficient(getMaterialProperty<Real>(
"biot_coefficient")),
36 _porepressure(coupledValue(
"porepressure")),
37 _porepressure_var_num(coupled(
"porepressure")),
38 _component(getParam<unsigned int>(
"component"))
41 mooseError(
"PoroMechanicsCoupling: component should not be greater than the mesh dimension\n");