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");
registerMooseObject("SolidMechanicsApp", PoroMechanicsCoupling)
void ErrorVector unsigned int
const VariablePhiValue & _phi
static InputParameters validParams()
const VariableTestGradient & _grad_test
void mooseError(Args &&... args) const
virtual unsigned int dimension() const
unsigned int number() const
PoroMechanicsCoupling computes -coefficient*porepressure*grad_test[component].
virtual Real computeQpResidual()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const MaterialProperty< Real > & _coefficient
Biot coefficient.
static InputParameters validParams()
PoroMechanicsCoupling(const InputParameters ¶meters)
unsigned int _porepressure_var_num
unsigned int _component
An integer corresponding to the direction this kernel acts in.
virtual Real computeQpJacobian()
const VariableValue & _porepressure