Base class Material designed to provide the porosity. More...
#include <PorousFlowPorosityExponentialBase.h>
Public Member Functions | |
PorousFlowPorosityExponentialBase (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual void | initQpStatefulProperties () override |
virtual void | computeQpProperties () override |
virtual Real | atNegInfinityQp () const =0 |
Returns "a" at the quadpoint (porosity = a + (b - a) * exp(decay)) More... | |
virtual Real | datNegInfinityQp (unsigned pvar) const =0 |
d(a)/d(PorousFlow variable pvar) More... | |
virtual Real | atZeroQp () const =0 |
Returns "b" at the quadpoint (porosity = a + (b - a) * exp(decay)) More... | |
virtual Real | datZeroQp (unsigned pvar) const =0 |
d(a)/d(PorousFlow variable pvar) More... | |
virtual Real | decayQp () const =0 |
Returns "decay" at the quadpoint (porosity = a + (b - a) * exp(decay)) More... | |
virtual Real | ddecayQp_dvar (unsigned pvar) const =0 |
d(decay)/d(PorousFlow variable pvar) More... | |
virtual RealGradient | ddecayQp_dgradvar (unsigned pvar) const =0 |
d(decay)/d(grad(PorousFlow variable pvar)) More... | |
Protected Attributes | |
const bool | _strain_at_nearest_qp |
When calculating nodal porosity, use the strain at the nearest quadpoint to the node. More... | |
const bool | _ensure_positive |
for decayQp() > 0, porosity can be negative when using porosity = a + (b - a) * exp(decay). More... | |
MaterialProperty< Real > & | _porosity |
Computed porosity at the nodes or quadpoints. More... | |
MaterialProperty< std::vector< Real > > & | _dporosity_dvar |
d(porosity)/d(PorousFlow variable) More... | |
MaterialProperty< std::vector< RealGradient > > & | _dporosity_dgradvar |
d(porosity)/d(grad PorousFlow variable) More... | |
const unsigned int | _num_phases |
Number of phases. More... | |
const unsigned int | _num_components |
Number of fluid components. More... | |
const unsigned int | _num_var |
Number of PorousFlow variables. More... | |
Base class Material designed to provide the porosity.
In this class porosity = a + (b - a) * exp(decay) where a = atNegInfinityQp() b = atZeroQp() decay = decayQp() Since this expression can become negative for decay > 0, if ensure_positive = true then for decay > 0 the following expression is used instead: porosity = a + (b - a) * exp(c * (1 - Exp(- decay / c))) where c = log(a/(b-a)) This latter expression is C1 continuous at decay=0 with the former expression. It is monotonically decreasing with "decay" and is positive.
Definition at line 36 of file PorousFlowPorosityExponentialBase.h.
PorousFlowPorosityExponentialBase::PorousFlowPorosityExponentialBase | ( | const InputParameters & | parameters | ) |
Definition at line 35 of file PorousFlowPorosityExponentialBase.C.
|
protectedpure virtual |
Returns "a" at the quadpoint (porosity = a + (b - a) * exp(decay))
Implemented in PorousFlowPorosity.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedpure virtual |
Returns "b" at the quadpoint (porosity = a + (b - a) * exp(decay))
Implemented in PorousFlowPorosity.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
overrideprotectedvirtual |
Reimplemented in PorousFlowPorosityHMBiotModulus.
Definition at line 62 of file PorousFlowPorosityExponentialBase.C.
|
protectedpure virtual |
d(a)/d(PorousFlow variable pvar)
Implemented in PorousFlowPorosity.
Referenced by computeQpProperties().
|
protectedpure virtual |
d(a)/d(PorousFlow variable pvar)
Implemented in PorousFlowPorosity.
Referenced by computeQpProperties().
|
protectedpure virtual |
d(decay)/d(grad(PorousFlow variable pvar))
Implemented in PorousFlowPorosity.
Referenced by computeQpProperties().
|
protectedpure virtual |
d(decay)/d(PorousFlow variable pvar)
Implemented in PorousFlowPorosity.
Referenced by computeQpProperties().
|
protectedpure virtual |
Returns "decay" at the quadpoint (porosity = a + (b - a) * exp(decay))
Implemented in PorousFlowPorosity.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
overrideprotectedvirtual |
Definition at line 44 of file PorousFlowPorosityExponentialBase.C.
|
protectedinherited |
d(porosity)/d(grad PorousFlow variable)
Definition at line 35 of file PorousFlowPorosityBase.h.
Referenced by PorousFlowPorosityConst::computeQpProperties(), PorousFlowPorosityHMBiotModulus::computeQpProperties(), and computeQpProperties().
|
protectedinherited |
d(porosity)/d(PorousFlow variable)
Definition at line 32 of file PorousFlowPorosityBase.h.
Referenced by PorousFlowPorosityConst::computeQpProperties(), PorousFlowPorosityHMBiotModulus::computeQpProperties(), and computeQpProperties().
|
protected |
for decayQp() > 0, porosity can be negative when using porosity = a + (b - a) * exp(decay).
This expression is modified if ensure_positive = true to read porosity = a + (b - a) * exp(c * (1 - Exp(- decay / c))) where c = log(a/(b-a))
Definition at line 76 of file PorousFlowPorosityExponentialBase.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedinherited |
Number of fluid components.
Definition at line 33 of file PorousFlowMaterialVectorBase.h.
Referenced by PorousFlowDiffusivityBase::computeQpProperties(), PorousFlowMassFractionAqueousEquilibriumChemistry::computeQpProperties(), PorousFlowMassFraction::computeQpProperties(), PorousFlowAqueousPreDisChemistry::PorousFlowAqueousPreDisChemistry(), PorousFlowDiffusivityBase::PorousFlowDiffusivityBase(), and PorousFlowMassFraction::PorousFlowMassFraction().
|
protectedinherited |
Number of phases.
Definition at line 30 of file PorousFlowMaterialVectorBase.h.
Referenced by PorousFlowDiffusivityBase::computeQpProperties(), PorousFlowDiffusivityMillingtonQuirk::computeQpProperties(), PorousFlowEffectiveFluidPressure::computeQpProperties(), PorousFlowMassFraction::computeQpProperties(), PorousFlowJoiner::computeQpProperties(), PorousFlowEffectiveFluidPressure::initQpStatefulProperties(), PorousFlowJoiner::initQpStatefulProperties(), PorousFlowDiffusivityBase::PorousFlowDiffusivityBase(), PorousFlowDiffusivityConst::PorousFlowDiffusivityConst(), PorousFlowJoiner::PorousFlowJoiner(), PorousFlowMassFraction::PorousFlowMassFraction(), PorousFlowThermalConductivityFromPorosity::PorousFlowThermalConductivityFromPorosity(), PorousFlowThermalConductivityIdeal::PorousFlowThermalConductivityIdeal(), and PorousFlowTotalGravitationalDensityFullySaturatedFromPorosity::PorousFlowTotalGravitationalDensityFullySaturatedFromPorosity().
|
protectedinherited |
Number of PorousFlow variables.
Definition at line 36 of file PorousFlowMaterialVectorBase.h.
Referenced by PorousFlowDiffusivityBase::computeQpProperties(), PorousFlowPermeabilityConst::computeQpProperties(), PorousFlowVolumetricStrain::computeQpProperties(), PorousFlowDiffusivityMillingtonQuirk::computeQpProperties(), PorousFlowAqueousPreDisChemistry::computeQpProperties(), PorousFlowPorosityConst::computeQpProperties(), PorousFlowMassFractionAqueousEquilibriumChemistry::computeQpProperties(), PorousFlowThermalConductivityIdeal::computeQpProperties(), PorousFlowEffectiveFluidPressure::computeQpProperties(), PorousFlowPermeabilityTensorFromVar::computeQpProperties(), PorousFlowThermalConductivityFromPorosity::computeQpProperties(), PorousFlowMatrixInternalEnergy::computeQpProperties(), PorousFlowPorosityHMBiotModulus::computeQpProperties(), PorousFlowPermeabilityConstFromVar::computeQpProperties(), PorousFlowTotalGravitationalDensityFullySaturatedFromPorosity::computeQpProperties(), PorousFlowPermeabilityExponential::computeQpProperties(), PorousFlowPermeabilityKozenyCarman::computeQpProperties(), PorousFlowMassFraction::computeQpProperties(), PorousFlowJoiner::computeQpProperties(), computeQpProperties(), and PorousFlowAqueousPreDisChemistry::initQpStatefulProperties().
|
protectedinherited |
Computed porosity at the nodes or quadpoints.
Definition at line 29 of file PorousFlowPorosityBase.h.
Referenced by PorousFlowPorosityHMBiotModulus::computeQpProperties(), computeQpProperties(), PorousFlowPorosityConst::initQpStatefulProperties(), and initQpStatefulProperties().
|
protected |
When calculating nodal porosity, use the strain at the nearest quadpoint to the node.
Definition at line 67 of file PorousFlowPorosityExponentialBase.h.
Referenced by PorousFlowPorosityHMBiotModulus::computeQpProperties(), PorousFlowPorosity::ddecayQp_dgradvar(), and PorousFlowPorosity::decayQp().