18 RealVectorValue g(0, 0, 0);
19 params.
addParam<RealVectorValue>(
"gravity", g,
"Gravity vector (default is (0, 0, 0))");
21 "Darcy flux: - cond * (Grad P - rho * g) where cond is the hydraulic conductivity, P is "
22 "fluid pressure, rho is fluid density and g is gravity");
28 _cond(getMaterialProperty<Real>(
"conductivity")),
29 _gravity(getParam<RealVectorValue>(
"gravity")),
30 _density(getDefaultMaterialProperty<Real>(
"density"))
43 return _grad_test[_i][_qp] *
_cond[_qp] * _grad_phi[_j][_qp];
registerMooseObject("ChemicalReactionsApp", DarcyFluxPressure)
Darcy flux: - cond * (Grad P - rho * g) where cond is the hydraulic conductivity, P is fluid pressure...
DarcyFluxPressure(const InputParameters ¶meters)
virtual Real computeQpJacobian() override
const RealVectorValue _gravity
Gravity.
static InputParameters validParams()
virtual Real computeQpResidual() override
const MaterialProperty< Real > & _density
Fluid density.
const MaterialProperty< Real > & _cond
Hydraulic conductivity.
static InputParameters validParams()