Base material designed to calculate fluid phase porepressure and saturation for the two-phase situation assuming phase porepressures as the nonlinear variables. More...
#include <PorousFlow2PhasePP.h>
Public Member Functions | |
PorousFlow2PhasePP (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual void | initQpStatefulProperties () override |
virtual void | computeQpProperties () override |
Real | buildQpPPSS () |
Assemble std::vectors of porepressure and saturation at the nodes and quadpoints, and return the capillary pressure. More... | |
Protected Attributes | |
const VariableValue & | _phase0_porepressure |
Nodal or quadpoint value of porepressure of the zero phase (eg, the water phase) More... | |
const VariableGradient & | _phase0_gradp_qp |
Gradient(phase0_porepressure) at the qps. More... | |
const unsigned int | _phase0_porepressure_varnum |
Moose variable number of the phase0 porepressure. More... | |
const unsigned int | _p0var |
PorousFlow variable number of the phase0 porepressure. More... | |
const VariableValue & | _phase1_porepressure |
Nodal or quadpoint value of porepressure of the one phase (eg, the gas phase) More... | |
const VariableGradient & | _phase1_gradp_qp |
Gradient(phase1_porepressure) at the qps. More... | |
const unsigned int | _phase1_porepressure_varnum |
Moose variable number of the phase1 porepressure. More... | |
const unsigned int | _p1var |
PorousFlow variable number of the phase1 porepressure. More... | |
const PorousFlowCapillaryPressure & | _pc_uo |
Capillary pressure UserObject. More... | |
const unsigned int | _num_phases |
Number of phases. More... | |
const unsigned int | _num_components |
Number of components. More... | |
const unsigned int | _num_pf_vars |
Number of PorousFlow variables. More... | |
MaterialProperty< std::vector< Real > > & | _porepressure |
Computed nodal or quadpoint values of porepressure of the phases. More... | |
MaterialProperty< std::vector< std::vector< Real > > > & | _dporepressure_dvar |
d(porepressure)/d(PorousFlow variable) More... | |
MaterialProperty< std::vector< RealGradient > > *const | _gradp_qp |
Grad(p) at the quadpoints. More... | |
MaterialProperty< std::vector< std::vector< Real > > > *const | _dgradp_qp_dgradv |
d(grad porepressure)/d(grad PorousFlow variable) at the quadpoints More... | |
MaterialProperty< std::vector< std::vector< RealGradient > > > *const | _dgradp_qp_dv |
d(grad porepressure)/d(PorousFlow variable) at the quadpoints More... | |
MaterialProperty< std::vector< Real > > & | _saturation |
Computed nodal or qp saturation of the phases. More... | |
MaterialProperty< std::vector< std::vector< Real > > > & | _dsaturation_dvar |
d(saturation)/d(PorousFlow variable) More... | |
MaterialProperty< std::vector< RealGradient > > *const | _grads_qp |
Grad(s) at the quadpoints. More... | |
MaterialProperty< std::vector< std::vector< Real > > > *const | _dgrads_qp_dgradv |
d(grad saturation)/d(grad PorousFlow variable) at the quadpoints More... | |
MaterialProperty< std::vector< std::vector< RealGradient > > > *const | _dgrads_qp_dv |
d(grad saturation)/d(PorousFlow variable) at the quadpoints More... | |
Base material designed to calculate fluid phase porepressure and saturation for the two-phase situation assuming phase porepressures as the nonlinear variables.
Definition at line 24 of file PorousFlow2PhasePP.h.
PorousFlow2PhasePP::PorousFlow2PhasePP | ( | const InputParameters & | parameters | ) |
Definition at line 34 of file PorousFlow2PhasePP.C.
|
protected |
Assemble std::vectors of porepressure and saturation at the nodes and quadpoints, and return the capillary pressure.
Definition at line 132 of file PorousFlow2PhasePP.C.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from PorousFlowVariableBase.
Definition at line 62 of file PorousFlow2PhasePP.C.
|
protectedinherited |
d(grad porepressure)/d(grad PorousFlow variable) at the quadpoints
Definition at line 53 of file PorousFlowVariableBase.h.
Referenced by PorousFlowFluidStateSingleComponent::computeQpProperties(), and PorousFlowFluidState::computeQpProperties().
|
protectedinherited |
d(grad porepressure)/d(PorousFlow variable) at the quadpoints
Definition at line 56 of file PorousFlowVariableBase.h.
|
protectedinherited |
d(grad saturation)/d(grad PorousFlow variable) at the quadpoints
Definition at line 68 of file PorousFlowVariableBase.h.
|
protectedinherited |
d(grad saturation)/d(PorousFlow variable) at the quadpoints
Definition at line 71 of file PorousFlowVariableBase.h.
|
protectedinherited |
d(porepressure)/d(PorousFlow variable)
Definition at line 47 of file PorousFlowVariableBase.h.
Referenced by PorousFlow1PhaseFullySaturated::computeQpProperties(), computeQpProperties(), PorousFlowVariableBase::computeQpProperties(), PorousFlow1PhaseMD_Gaussian::computeQpProperties(), PorousFlow1PhaseP::computeQpProperties(), PorousFlow2PhasePS::computeQpProperties(), PorousFlowFluidStateSingleComponent::computeQpProperties(), and PorousFlowFluidState::computeQpProperties().
|
protectedinherited |
d(saturation)/d(PorousFlow variable)
Definition at line 62 of file PorousFlowVariableBase.h.
Referenced by computeQpProperties(), PorousFlowVariableBase::computeQpProperties(), PorousFlow1PhaseMD_Gaussian::computeQpProperties(), PorousFlow1PhaseP::computeQpProperties(), PorousFlow2PhasePS::computeQpProperties(), PorousFlowFluidStateSingleComponent::computeQpProperties(), and PorousFlowFluidState::computeQpProperties().
|
protectedinherited |
Grad(p) at the quadpoints.
Definition at line 50 of file PorousFlowVariableBase.h.
|
protectedinherited |
Grad(s) at the quadpoints.
Definition at line 65 of file PorousFlowVariableBase.h.
|
protectedinherited |
Number of components.
Definition at line 38 of file PorousFlowVariableBase.h.
Referenced by PorousFlowFluidStateSingleComponent::computeQpProperties(), PorousFlowFluidState::computeQpProperties(), PorousFlowFluidState::initQpStatefulProperties(), PorousFlowFluidState::PorousFlowFluidState(), PorousFlowFluidStateSingleComponent::PorousFlowFluidStateSingleComponent(), PorousFlowFluidStateSingleComponent::setMaterialVectorSize(), and PorousFlowFluidState::setMaterialVectorSize().
|
protectedinherited |
Number of PorousFlow variables.
Definition at line 41 of file PorousFlowVariableBase.h.
Referenced by PorousFlowVariableBase::computeQpProperties(), PorousFlowFluidStateSingleComponent::setMaterialVectorSize(), and PorousFlowFluidState::setMaterialVectorSize().
|
protectedinherited |
Number of phases.
Definition at line 35 of file PorousFlowVariableBase.h.
Referenced by PorousFlowVariableBase::computeQpProperties(), PorousFlow2PhasePS::computeQpProperties(), PorousFlowFluidStateSingleComponent::computeQpProperties(), PorousFlowFluidState::computeQpProperties(), PorousFlowVariableBase::initQpStatefulProperties(), PorousFlowFluidStateSingleComponent::initQpStatefulProperties(), PorousFlowFluidState::initQpStatefulProperties(), PorousFlow1PhaseFullySaturated::PorousFlow1PhaseFullySaturated(), PorousFlow1PhaseMD_Gaussian::PorousFlow1PhaseMD_Gaussian(), PorousFlow1PhaseP::PorousFlow1PhaseP(), PorousFlow2PhasePP(), PorousFlowFluidState::PorousFlowFluidState(), PorousFlowFluidStateSingleComponent::PorousFlowFluidStateSingleComponent(), PorousFlowFluidStateSingleComponent::setMaterialVectorSize(), and PorousFlowFluidState::setMaterialVectorSize().
|
protected |
PorousFlow variable number of the phase0 porepressure.
Definition at line 46 of file PorousFlow2PhasePP.h.
Referenced by computeQpProperties().
|
protected |
PorousFlow variable number of the phase1 porepressure.
Definition at line 54 of file PorousFlow2PhasePP.h.
Referenced by computeQpProperties().
|
protected |
Capillary pressure UserObject.
Definition at line 56 of file PorousFlow2PhasePP.h.
Referenced by buildQpPPSS(), and computeQpProperties().
|
protected |
Gradient(phase0_porepressure) at the qps.
Definition at line 42 of file PorousFlow2PhasePP.h.
Referenced by computeQpProperties().
|
protected |
Nodal or quadpoint value of porepressure of the zero phase (eg, the water phase)
Definition at line 40 of file PorousFlow2PhasePP.h.
Referenced by buildQpPPSS().
|
protected |
Moose variable number of the phase0 porepressure.
Definition at line 44 of file PorousFlow2PhasePP.h.
Referenced by computeQpProperties().
|
protected |
Gradient(phase1_porepressure) at the qps.
Definition at line 50 of file PorousFlow2PhasePP.h.
Referenced by computeQpProperties().
|
protected |
Nodal or quadpoint value of porepressure of the one phase (eg, the gas phase)
Definition at line 48 of file PorousFlow2PhasePP.h.
Referenced by buildQpPPSS().
|
protected |
Moose variable number of the phase1 porepressure.
Definition at line 52 of file PorousFlow2PhasePP.h.
Referenced by computeQpProperties().
|
protectedinherited |
Computed nodal or quadpoint values of porepressure of the phases.
Definition at line 44 of file PorousFlowVariableBase.h.
Referenced by PorousFlow1PhaseMD_Gaussian::buildPS(), PorousFlow2PhasePS::buildQpPPSS(), PorousFlow1PhaseFullySaturated::buildQpPPSS(), PorousFlow1PhaseP::buildQpPPSS(), buildQpPPSS(), PorousFlow1PhaseMD_Gaussian::computeQpProperties(), PorousFlowVariableBase::computeQpProperties(), PorousFlowFluidStateSingleComponent::computeQpProperties(), PorousFlowFluidState::computeQpProperties(), PorousFlowVariableBase::initQpStatefulProperties(), PorousFlowFluidStateSingleComponent::initQpStatefulProperties(), and PorousFlowFluidState::initQpStatefulProperties().
|
protectedinherited |
Computed nodal or qp saturation of the phases.
Definition at line 59 of file PorousFlowVariableBase.h.
Referenced by PorousFlow1PhaseMD_Gaussian::buildPS(), PorousFlow2PhasePS::buildQpPPSS(), PorousFlow1PhaseFullySaturated::buildQpPPSS(), PorousFlow1PhaseP::buildQpPPSS(), buildQpPPSS(), PorousFlow1PhaseMD_Gaussian::computeQpProperties(), PorousFlowVariableBase::computeQpProperties(), PorousFlowFluidStateSingleComponent::computeQpProperties(), PorousFlowFluidState::computeQpProperties(), PorousFlowVariableBase::initQpStatefulProperties(), PorousFlowFluidStateSingleComponent::initQpStatefulProperties(), and PorousFlowFluidState::initQpStatefulProperties().