23 "grad(effective fluid pressure)");
25 "PorousFlowDictator",
"The UserObject that holds the list of PorousFlow variable names.");
27 "biot_coefficient", 1,
"biot_coefficient>=0&biot_coefficient<=1",
"Biot coefficient");
29 "The component (0 for x, 1 for y and 2 for z) of grad(P)");
37 _coefficient(getParam<
Real>(
"biot_coefficient")),
38 _component(getParam<unsigned
int>(
"component")),
39 _pf(getMaterialProperty<
Real>(
"PorousFlow_effective_fluid_pressure_qp")),
41 getMaterialProperty<
std::vector<
Real>>(
"dPorousFlow_effective_fluid_pressure_qp_dvar")),
45 paramError(
"component",
"The component cannot be greater than the mesh dimension");
registerMooseObject("PorousFlowApp", PorousFlowEffectiveStressCoupling)
static InputParameters validParams()
bool notPorousFlowVariable(unsigned int moose_var_num) const
Returns true if moose_var_num is not a porous flow variabe.
unsigned int number() const
PorousFlowEffectiveStressCoupling computes -coefficient*effective_porepressure*grad_component(test) w...
virtual Real computeQpResidual() override
const MaterialProperty< Real > & _pf
Effective porepressure.
const Real _coefficient
Biot coefficient.
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const VariableTestValue & _test
virtual unsigned int dimension() const
virtual Real computeQpJacobian() override
void paramError(const std::string ¶m, Args... args) const
const PorousFlowDictator & _dictator
The PorousFlow dictator that holds global info about the simulation.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
const VariableTestGradient & _grad_test
unsigned int porousFlowVariableNum(unsigned int moose_var_num) const
The PorousFlow variable number.
const unsigned int _component
The spatial component.
const VariablePhiValue & _phi
PorousFlowEffectiveStressCoupling(const InputParameters ¶meters)
void ErrorVector unsigned int
static InputParameters validParams()
const MaterialProperty< std::vector< Real > > & _dpf_dvar
d(effective porepressure)/(d porflow variable)
const MooseArray< Point > & _q_point
const bool _rz
Whether an RZ coordinate system is being used.