Material designed to calculate fluid-phase porepressure and saturation for the single-phase situation, assuming a Gaussian capillary suction function and assuming the independent variable is log(mass density) and assuming the fluid has a constant bulk modulus. More...
#include <PorousFlow1PhaseMD_Gaussian.h>
Public Member Functions | |
PorousFlow1PhaseMD_Gaussian (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual void | initQpStatefulProperties () override |
virtual void | computeQpProperties () override |
virtual void | buildPS () |
Protected Attributes | |
const Real | _al |
Gaussian parameter: saturation = exp(-(al*p)^2) More... | |
const Real | _al2 |
_al2 = al*al More... | |
const Real | _logdens0 |
Fluid density = _dens0*exp(P/_bulk) More... | |
const Real | _bulk |
Fluid density = _dens0*exp(P/_bulk) More... | |
const Real | _recip_bulk |
1/_bulk/_al More... | |
const Real | _recip_bulk2 |
(1/_bulk)^2 More... | |
const VariableValue & | _md_var |
Nodal or quadpoint value of mass-density of the fluid phase. More... | |
const VariableGradient & | _gradmd_qp_var |
Gradient(_mass-density at quadpoints) More... | |
const unsigned int | _md_varnum |
Moose variable number of the mass-density. More... | |
const unsigned int | _pvar |
PorousFlow variable number of the mass-density. 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... | |
Material designed to calculate fluid-phase porepressure and saturation for the single-phase situation, assuming a Gaussian capillary suction function and assuming the independent variable is log(mass density) and assuming the fluid has a constant bulk modulus.
Definition at line 25 of file PorousFlow1PhaseMD_Gaussian.h.
PorousFlow1PhaseMD_Gaussian::PorousFlow1PhaseMD_Gaussian | ( | const InputParameters & | parameters | ) |
Definition at line 38 of file PorousFlow1PhaseMD_Gaussian.C.
|
protectedvirtual |
Definition at line 139 of file PorousFlow1PhaseMD_Gaussian.C.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
overrideprotectedvirtual |
Reimplemented from PorousFlowVariableBase.
Definition at line 69 of file PorousFlow1PhaseMD_Gaussian.C.
|
overrideprotectedvirtual |
Reimplemented from PorousFlowVariableBase.
Definition at line 62 of file PorousFlow1PhaseMD_Gaussian.C.
|
protected |
Gaussian parameter: saturation = exp(-(al*p)^2)
Definition at line 35 of file PorousFlow1PhaseMD_Gaussian.h.
Referenced by buildPS(), and computeQpProperties().
|
protected |
_al2 = al*al
Definition at line 38 of file PorousFlow1PhaseMD_Gaussian.h.
Referenced by computeQpProperties().
|
protected |
Fluid density = _dens0*exp(P/_bulk)
Definition at line 44 of file PorousFlow1PhaseMD_Gaussian.h.
Referenced by buildPS(), and computeQpProperties().
|
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(), PorousFlow2PhasePP::computeQpProperties(), computeQpProperties(), PorousFlow1PhaseP::computeQpProperties(), PorousFlowVariableBase::computeQpProperties(), PorousFlow2PhasePS::computeQpProperties(), PorousFlowFluidStateSingleComponent::computeQpProperties(), and PorousFlowFluidState::computeQpProperties().
|
protectedinherited |
d(saturation)/d(PorousFlow variable)
Definition at line 62 of file PorousFlowVariableBase.h.
Referenced by PorousFlow2PhasePP::computeQpProperties(), PorousFlowVariableBase::computeQpProperties(), computeQpProperties(), PorousFlow1PhaseP::computeQpProperties(), PorousFlow2PhasePS::computeQpProperties(), PorousFlowFluidStateSingleComponent::computeQpProperties(), and PorousFlowFluidState::computeQpProperties().
|
protected |
Gradient(_mass-density at quadpoints)
Definition at line 56 of file PorousFlow1PhaseMD_Gaussian.h.
Referenced by 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.
|
protected |
Fluid density = _dens0*exp(P/_bulk)
Definition at line 41 of file PorousFlow1PhaseMD_Gaussian.h.
Referenced by buildPS(), and computeQpProperties().
|
protected |
Nodal or quadpoint value of mass-density of the fluid phase.
Definition at line 53 of file PorousFlow1PhaseMD_Gaussian.h.
Referenced by buildPS(), and computeQpProperties().
|
protected |
Moose variable number of the mass-density.
Definition at line 59 of file PorousFlow1PhaseMD_Gaussian.h.
Referenced by computeQpProperties().
|
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(), PorousFlow1PhaseP::PorousFlow1PhaseP(), PorousFlow2PhasePP::PorousFlow2PhasePP(), PorousFlowFluidState::PorousFlowFluidState(), PorousFlowFluidStateSingleComponent::PorousFlowFluidStateSingleComponent(), PorousFlowFluidStateSingleComponent::setMaterialVectorSize(), and PorousFlowFluidState::setMaterialVectorSize().
|
protectedinherited |
Computed nodal or quadpoint values of porepressure of the phases.
Definition at line 44 of file PorousFlowVariableBase.h.
Referenced by buildPS(), PorousFlow2PhasePS::buildQpPPSS(), PorousFlow1PhaseFullySaturated::buildQpPPSS(), PorousFlow1PhaseP::buildQpPPSS(), PorousFlow2PhasePP::buildQpPPSS(), computeQpProperties(), PorousFlowVariableBase::computeQpProperties(), PorousFlowFluidStateSingleComponent::computeQpProperties(), PorousFlowFluidState::computeQpProperties(), PorousFlowVariableBase::initQpStatefulProperties(), PorousFlowFluidStateSingleComponent::initQpStatefulProperties(), and PorousFlowFluidState::initQpStatefulProperties().
|
protected |
PorousFlow variable number of the mass-density.
Definition at line 62 of file PorousFlow1PhaseMD_Gaussian.h.
Referenced by computeQpProperties().
|
protected |
1/_bulk/_al
Definition at line 47 of file PorousFlow1PhaseMD_Gaussian.h.
Referenced by buildPS(), and computeQpProperties().
|
protected |
|
protectedinherited |
Computed nodal or qp saturation of the phases.
Definition at line 59 of file PorousFlowVariableBase.h.
Referenced by buildPS(), PorousFlow2PhasePS::buildQpPPSS(), PorousFlow1PhaseFullySaturated::buildQpPPSS(), PorousFlow1PhaseP::buildQpPPSS(), PorousFlow2PhasePP::buildQpPPSS(), computeQpProperties(), PorousFlowVariableBase::computeQpProperties(), PorousFlowFluidStateSingleComponent::computeQpProperties(), PorousFlowFluidState::computeQpProperties(), PorousFlowVariableBase::initQpStatefulProperties(), PorousFlowFluidStateSingleComponent::initQpStatefulProperties(), and PorousFlowFluidState::initQpStatefulProperties().