Go to the documentation of this file.
19 params.addRequiredCoupledVar(
"porepressure",
20 "Variable that represents the porepressure of the single phase");
21 params.addClassDescription(
"This Material is used for the fully saturated single-phase situation "
22 "where porepressure is the primary variable");
29 _porepressure_var(_nodal_material ? coupledDofValues(
"porepressure")
30 : coupledValue(
"porepressure")),
31 _gradp_qp_var(coupledGradient(
"porepressure")),
32 _porepressure_varnum(coupled(
"porepressure")),
33 _p_var_num(_dictator.isPorousFlowVariable(_porepressure_varnum)
34 ? _dictator.porousFlowVariableNum(_porepressure_varnum)
38 mooseError(
"The Dictator proclaims that the number of phases is ",
39 _dictator.numPhases(),
40 " whereas PorousFlow1PhaseFullySaturated can only be used for 1-phase simulations."
41 " Be aware that the Dictator has noted your mistake.");
68 (*_dgradp_qp_dgradv)[_qp][0][
_p_var_num] = 1.0;
virtual void computeQpProperties() override
registerMooseObject("PorousFlowApp", PorousFlow1PhaseFullySaturated)
virtual void computeQpProperties() override
const unsigned int _num_phases
Number of phases.
const VariableGradient & _gradp_qp_var
Gradient(_porepressure at quadpoints)
Base class for thermophysical variable materials, which assemble materials for primary variables such...
void buildQpPPSS()
Assemble std::vectors of porepressure, saturation and temperature at the quadpoints.
MaterialProperty< std::vector< Real > > & _porepressure
Computed nodal or quadpoint values of porepressure of the phases.
Base material designed to calculate fluid phase porepressure and saturation for the single-phase situ...
PorousFlow1PhaseFullySaturated(const InputParameters ¶meters)
MaterialProperty< std::vector< std::vector< Real > > > & _dporepressure_dvar
d(porepressure)/d(PorousFlow variable)
const VariableValue & _porepressure_var
Nodal or quadpoint value of porepressure of the fluid phase.
const unsigned int _porepressure_varnum
Moose variable number of the porepressure.
virtual void initQpStatefulProperties() override
InputParameters validParams< PorousFlow1PhaseFullySaturated >()
const unsigned int _p_var_num
The PorousFlow variable number of the porepressure.
virtual void initQpStatefulProperties() override
MaterialProperty< std::vector< Real > > & _saturation
Computed nodal or qp saturation of the phases.
InputParameters validParams< PorousFlowVariableBase >()