www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PorousFlowPorosityHMBiotModulus Class Reference

This Matrial evolves porosity so that the PorousFlow equations match the standard equations of poroelasticity theory with a constant BiotModulus. More...

#include <PorousFlowPorosityHMBiotModulus.h>

Inheritance diagram for PorousFlowPorosityHMBiotModulus:
[legend]

Public Member Functions

 PorousFlowPorosityHMBiotModulus (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpProperties () override
 
virtual Real atNegInfinityQp () const override
 Returns "a" at the quadpoint (porosity = a + (b - a) * exp(decay)) More...
 
virtual Real datNegInfinityQp (unsigned pvar) const override
 d(a)/d(PorousFlow variable pvar) More...
 
virtual Real atZeroQp () const override
 Returns "b" at the quadpoint (porosity = a + (b - a) * exp(decay)) More...
 
virtual Real datZeroQp (unsigned pvar) const override
 d(a)/d(PorousFlow variable pvar) More...
 
virtual Real decayQp () const override
 Returns "decay" at the quadpoint (porosity = a + (b - a) * exp(decay)) More...
 
virtual Real ddecayQp_dvar (unsigned pvar) const override
 d(decay)/d(PorousFlow variable pvar) More...
 
virtual RealGradient ddecayQp_dgradvar (unsigned pvar) const override
 d(decay)/d(grad(PorousFlow variable pvar)) More...
 
virtual void initQpStatefulProperties () override
 

Protected Attributes

const MaterialProperty< Real > & _porosity_old
 Old value of porosity. More...
 
const Real _biot_modulus
 Constant biot modulus. More...
 
const Real _fluid_bulk_modulus
 Constant fluid bulk modulus. More...
 
const MaterialProperty< Real > & _pf_old
 Old value of effective fluid pressure. More...
 
const MaterialProperty< Real > & _vol_strain_qp_old
 Old value of total volumetric strain. More...
 
const MaterialProperty< Real > & _vol_strain_rate_qp
 Volumetric strain rate. More...
 
const MaterialProperty< std::vector< RealGradient > > & _dvol_strain_rate_qp_dvar
 d(volumetric strain rate)/d(PorousFlow variable) More...
 
const bool _mechanical
 Porosity is a function of volumetric strain. More...
 
const bool _fluid
 Porosity is a function of effective porepressure. More...
 
const bool _thermal
 Porosity is a function of temperature. More...
 
const bool _chemical
 Porosity is a function of chemistry. More...
 
const VariableValue & _phi0
 Porosity at zero strain and zero porepressure and zero temperature. More...
 
const Real _biot
 Biot coefficient. More...
 
const Real _exp_coeff
 Thermal expansion coefficient of the solid porous skeleton. More...
 
const Real _solid_bulk
 Drained bulk modulus of the porous skeleton. More...
 
const Real _coeff
 Short-hand number (biot-1)/solid_bulk. More...
 
const VariableValue & _t_reference
 Reference temperature. More...
 
const VariableValue & _p_reference
 Reference porepressure. More...
 
const unsigned _num_c_ref
 Number of reference mineral concentrations provided by user. More...
 
std::vector< const VariableValue * > _c_reference
 Reference mineral concentrations. More...
 
const unsigned _num_initial_c
 Number of reference mineral concentrations provided by user. More...
 
std::vector< const VariableValue * > _initial_c
 Reference mineral concentrations. More...
 
std::vector< Real > _c_weights
 Weights for the mineral concentrations. More...
 
const MaterialProperty< Real > *const _vol_strain_qp
 Strain (first const means we never want to dereference and change the value, second means we'll always be pointing to the same address after initialization (like a reference)) More...
 
const MaterialProperty< std::vector< RealGradient > > *const _dvol_strain_qp_dvar
 d(strain)/(dvar) (first const means we never want to dereference and change the value, second means we'll always be pointing to the same address after initialization (like a reference)) More...
 
const MaterialProperty< Real > *const _pf
 Effective porepressure at the quadpoints or nodes. More...
 
const MaterialProperty< std::vector< Real > > *const _dpf_dvar
 d(effective porepressure)/(d porflow variable) More...
 
const MaterialProperty< Real > *const _temperature
 Temperature at the quadpoints or nodes. More...
 
const MaterialProperty< std::vector< Real > > *const _dtemperature_dvar
 d(temperature)/(d porflow variable) More...
 
const MaterialProperty< std::vector< Real > > *const _mineral_conc_old
 Old value of mineral concentration at the quadpoints or nodes. More...
 
const MaterialProperty< std::vector< Real > > *const _reaction_rate
 Reaction rate of mineralisation. More...
 
const MaterialProperty< std::vector< std::vector< Real > > > *const _dreaction_rate_dvar
 d(reaction_rate_conc)/d(porflow variable) More...
 
const unsigned int _aq_ph
 Aqueous phase number. More...
 
const MaterialProperty< std::vector< Real > > *const _saturation
 Saturation. More...
 
const MaterialProperty< std::vector< std::vector< Real > > > *const _dsaturation_dvar
 d(saturation)/d(PorousFlow var) More...
 
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...
 

Detailed Description

This Matrial evolves porosity so that the PorousFlow equations match the standard equations of poroelasticity theory with a constant BiotModulus.

Even though a constant BiotModulus is not strictly correct, many analytical solutions of poroelasticity theory assume this, so PorousFlowPorosityHMBiotModulus is useful for comparing with those solutions. Otherwise it shouldn't generally be used because PorousFlowPorosity is physically more correct.

Definition at line 29 of file PorousFlowPorosityHMBiotModulus.h.

Constructor & Destructor Documentation

◆ PorousFlowPorosityHMBiotModulus()

PorousFlowPorosityHMBiotModulus::PorousFlowPorosityHMBiotModulus ( const InputParameters &  parameters)

Definition at line 36 of file PorousFlowPorosityHMBiotModulus.C.

37  : PorousFlowPorosity(parameters),
38  _porosity_old(_nodal_material ? getMaterialPropertyOld<Real>("PorousFlow_porosity_nodal")
39  : getMaterialPropertyOld<Real>("PorousFlow_porosity_qp")),
40  _biot_modulus(getParam<Real>("constant_biot_modulus")),
41  _fluid_bulk_modulus(getParam<Real>("constant_fluid_bulk_modulus")),
42  _pf_old(_nodal_material
43  ? getMaterialPropertyOld<Real>("PorousFlow_effective_fluid_pressure_nodal")
44  : getMaterialPropertyOld<Real>("PorousFlow_effective_fluid_pressure_qp")),
45  _vol_strain_qp_old(getMaterialPropertyOld<Real>("PorousFlow_total_volumetric_strain_qp")),
46  _vol_strain_rate_qp(getMaterialProperty<Real>("PorousFlow_volumetric_strain_rate_qp")),
47  _dvol_strain_rate_qp_dvar(getMaterialProperty<std::vector<RealGradient>>(
48  "dPorousFlow_volumetric_strain_rate_qp_dvar"))
49 {
50 }
const MaterialProperty< Real > & _porosity_old
Old value of porosity.
const MaterialProperty< Real > & _pf_old
Old value of effective fluid pressure.
const Real _fluid_bulk_modulus
Constant fluid bulk modulus.
const MaterialProperty< Real > & _vol_strain_qp_old
Old value of total volumetric strain.
const MaterialProperty< std::vector< RealGradient > > & _dvol_strain_rate_qp_dvar
d(volumetric strain rate)/d(PorousFlow variable)
const MaterialProperty< Real > & _vol_strain_rate_qp
Volumetric strain rate.
PorousFlowPorosity(const InputParameters &parameters)
const Real _biot_modulus
Constant biot modulus.

Member Function Documentation

◆ atNegInfinityQp()

Real PorousFlowPorosity::atNegInfinityQp ( ) const
overrideprotectedvirtualinherited

Returns "a" at the quadpoint (porosity = a + (b - a) * exp(decay))

Implements PorousFlowPorosityExponentialBase.

Definition at line 176 of file PorousFlowPorosity.C.

177 {
178  /*
179  *
180  * Note the use of the OLD value of porosity here.
181  * This strategy, which breaks the cyclic dependency between porosity
182  * and mineral concentration, is used in
183  * Kernel: PorousFlowPreDis
184  * Material: PorousFlowPorosity
185  * Material: PorousFlowAqueousPreDisChemistry
186  * Material: PorousFlowAqueousPreDisMineral
187  *
188  */
189  Real result = _biot;
190  if (_chemical)
191  {
192  if (_t_step == 0 && !_app.isRestarting())
193  for (unsigned i = 0; i < _num_c_ref; ++i)
194  result -= _c_weights[i] * (*_initial_c[i])[_qp];
195  else
196  for (unsigned i = 0; i < _num_c_ref; ++i)
197  result -= _c_weights[i] * ((*_mineral_conc_old)[_qp][i] + _dt * _porosity_old[_qp] *
198  (*_saturation)[_qp][_aq_ph] *
199  (*_reaction_rate)[_qp][i]);
200  }
201  return result;
202 }
const Real _biot
Biot coefficient.
const MaterialProperty< std::vector< Real > > *const _mineral_conc_old
Old value of mineral concentration at the quadpoints or nodes.
std::vector< Real > _c_weights
Weights for the mineral concentrations.
const bool _chemical
Porosity is a function of chemistry.
const unsigned _num_c_ref
Number of reference mineral concentrations provided by user.
const unsigned int _aq_ph
Aqueous phase number.
std::vector< const VariableValue * > _initial_c
Reference mineral concentrations.
const MaterialProperty< Real > & _porosity_old
Old value of porosity.

◆ atZeroQp()

Real PorousFlowPorosity::atZeroQp ( ) const
overrideprotectedvirtualinherited

Returns "b" at the quadpoint (porosity = a + (b - a) * exp(decay))

Implements PorousFlowPorosityExponentialBase.

Definition at line 217 of file PorousFlowPorosity.C.

218 {
219  // note the [0] below: _phi0 is a constant monomial and we use [0] regardless of _nodal_material
220  Real result = _phi0[0];
221  if (_chemical)
222  {
223  if (_t_step == 0 && !_app.isRestarting())
224  for (unsigned i = 0; i < _num_c_ref; ++i)
225  result -= _c_weights[i] * ((*_initial_c[i])[_qp] - (*_c_reference[i])[_qp]);
226  else
227  for (unsigned i = 0; i < _num_c_ref; ++i)
228  result -= _c_weights[i] * ((*_mineral_conc_old)[_qp][i] +
229  _dt * _porosity_old[_qp] * (*_saturation)[_qp][_aq_ph] *
230  (*_reaction_rate)[_qp][i] -
231  (*_c_reference[i])[_qp]);
232  }
233  return result;
234 }
const VariableValue & _phi0
Porosity at zero strain and zero porepressure and zero temperature.
const MaterialProperty< std::vector< Real > > *const _mineral_conc_old
Old value of mineral concentration at the quadpoints or nodes.
std::vector< Real > _c_weights
Weights for the mineral concentrations.
const bool _chemical
Porosity is a function of chemistry.
const unsigned _num_c_ref
Number of reference mineral concentrations provided by user.
const unsigned int _aq_ph
Aqueous phase number.
std::vector< const VariableValue * > _initial_c
Reference mineral concentrations.
std::vector< const VariableValue * > _c_reference
Reference mineral concentrations.
const MaterialProperty< Real > & _porosity_old
Old value of porosity.

◆ computeQpProperties()

void PorousFlowPorosityHMBiotModulus::computeQpProperties ( )
overrideprotectedvirtual

Reimplemented from PorousFlowPorosityExponentialBase.

Definition at line 53 of file PorousFlowPorosityHMBiotModulus.C.

54 {
55  // Note that in the following _strain[_qp] is evaluated at q quadpoint
56  // So _porosity_nodal[_qp], which should be the nodal value of porosity
57  // actually uses the strain at a quadpoint. This
58  // is OK for LINEAR elements, as strain is constant over the element anyway.
59 
60  const unsigned qp_to_use =
61  (_nodal_material && (_bnd || _strain_at_nearest_qp) ? nearestQP(_qp) : _qp);
62 
63  const Real denom = 1.0 + _vol_strain_rate_qp[qp_to_use] * _dt;
64  _porosity[_qp] =
65  (_porosity_old[_qp] * std::exp(-((*_pf)[_qp] - _pf_old[_qp]) / _fluid_bulk_modulus) +
66  ((*_pf)[_qp] - _pf_old[_qp]) / _biot_modulus +
67  _biot * ((*_vol_strain_qp)[qp_to_use] - _vol_strain_qp_old[qp_to_use])) /
68  denom;
69 
70  _dporosity_dvar[_qp].resize(_num_var);
71  for (unsigned int v = 0; v < _num_var; ++v)
72  _dporosity_dvar[_qp][v] =
73  (*_dpf_dvar)[_qp][v] *
74  (-_porosity_old[_qp] * std::exp(-((*_pf)[_qp] - _pf_old[_qp]) / _fluid_bulk_modulus) /
76  1.0 / _biot_modulus) /
77  denom;
78 
79  _dporosity_dgradvar[_qp].resize(_num_var);
80  for (unsigned int v = 0; v < _num_var; ++v)
81  _dporosity_dgradvar[_qp][v] =
82  _biot * (*_dvol_strain_qp_dvar)[qp_to_use][v] / denom -
83  _porosity[_qp] / denom * _dvol_strain_rate_qp_dvar[qp_to_use][v] * _dt;
84 }
const MaterialProperty< Real > & _porosity_old
Old value of porosity.
const Real _biot
Biot coefficient.
const MaterialProperty< Real > & _pf_old
Old value of effective fluid pressure.
const bool _strain_at_nearest_qp
When calculating nodal porosity, use the strain at the nearest quadpoint to the node.
MaterialProperty< std::vector< Real > > & _dporosity_dvar
d(porosity)/d(PorousFlow variable)
MaterialProperty< std::vector< RealGradient > > & _dporosity_dgradvar
d(porosity)/d(grad PorousFlow variable)
const Real _fluid_bulk_modulus
Constant fluid bulk modulus.
const MaterialProperty< Real > *const _pf
Effective porepressure at the quadpoints or nodes.
const MaterialProperty< std::vector< Real > > *const _dpf_dvar
d(effective porepressure)/(d porflow variable)
const MaterialProperty< Real > & _vol_strain_qp_old
Old value of total volumetric strain.
const MaterialProperty< std::vector< RealGradient > > & _dvol_strain_rate_qp_dvar
d(volumetric strain rate)/d(PorousFlow variable)
MaterialProperty< Real > & _porosity
Computed porosity at the nodes or quadpoints.
const unsigned int _num_var
Number of PorousFlow variables.
const MaterialProperty< Real > & _vol_strain_rate_qp
Volumetric strain rate.
const Real _biot_modulus
Constant biot modulus.
const MaterialProperty< std::vector< RealGradient > > *const _dvol_strain_qp_dvar
d(strain)/(dvar) (first const means we never want to dereference and change the value, second means we&#39;ll always be pointing to the same address after initialization (like a reference))
const MaterialProperty< Real > *const _vol_strain_qp
Strain (first const means we never want to dereference and change the value, second means we&#39;ll alway...

◆ datNegInfinityQp()

Real PorousFlowPorosity::datNegInfinityQp ( unsigned  pvar) const
overrideprotectedvirtualinherited

d(a)/d(PorousFlow variable pvar)

Implements PorousFlowPorosityExponentialBase.

Definition at line 205 of file PorousFlowPorosity.C.

206 {
207  Real result = 0.0;
208  if (_chemical && (_t_step >= 1 || _app.isRestarting()))
209  for (unsigned i = 0; i < _num_c_ref; ++i)
210  result -= _c_weights[i] * _dt * _porosity_old[_qp] *
211  ((*_saturation)[_qp][_aq_ph] * (*_dreaction_rate_dvar)[_qp][i][pvar] +
212  (*_dsaturation_dvar)[_qp][_aq_ph][pvar] * (*_reaction_rate)[_qp][i]);
213  return result;
214 }
const MaterialProperty< std::vector< Real > > *const _saturation
Saturation.
std::vector< Real > _c_weights
Weights for the mineral concentrations.
const bool _chemical
Porosity is a function of chemistry.
const unsigned _num_c_ref
Number of reference mineral concentrations provided by user.
const unsigned int _aq_ph
Aqueous phase number.
const MaterialProperty< Real > & _porosity_old
Old value of porosity.

◆ datZeroQp()

Real PorousFlowPorosity::datZeroQp ( unsigned  pvar) const
overrideprotectedvirtualinherited

d(a)/d(PorousFlow variable pvar)

Implements PorousFlowPorosityExponentialBase.

Definition at line 237 of file PorousFlowPorosity.C.

238 {
239  Real result = 0.0;
240  if (_chemical && (_t_step >= 1 || _app.isRestarting()))
241  for (unsigned i = 0; i < _num_c_ref; ++i)
242  result -= _c_weights[i] * _dt * _porosity_old[_qp] *
243  ((*_saturation)[_qp][_aq_ph] * (*_dreaction_rate_dvar)[_qp][i][pvar] +
244  (*_dsaturation_dvar)[_qp][_aq_ph][pvar] * (*_reaction_rate)[_qp][i]);
245  return result;
246 }
const MaterialProperty< std::vector< Real > > *const _saturation
Saturation.
std::vector< Real > _c_weights
Weights for the mineral concentrations.
const bool _chemical
Porosity is a function of chemistry.
const unsigned _num_c_ref
Number of reference mineral concentrations provided by user.
const unsigned int _aq_ph
Aqueous phase number.
const MaterialProperty< Real > & _porosity_old
Old value of porosity.

◆ ddecayQp_dgradvar()

RealGradient PorousFlowPorosity::ddecayQp_dgradvar ( unsigned  pvar) const
overrideprotectedvirtualinherited

d(decay)/d(grad(PorousFlow variable pvar))

Implements PorousFlowPorosityExponentialBase.

Definition at line 288 of file PorousFlowPorosity.C.

289 {
290  RealGradient result;
291  if (_mechanical)
292  {
293  const unsigned qp_to_use =
294  (_nodal_material && (_bnd || _strain_at_nearest_qp) ? nearestQP(_qp) : _qp);
295  result += -(*_dvol_strain_qp_dvar)[qp_to_use][pvar];
296  }
297  return result;
298 }
const bool _strain_at_nearest_qp
When calculating nodal porosity, use the strain at the nearest quadpoint to the node.
const bool _mechanical
Porosity is a function of volumetric strain.

◆ ddecayQp_dvar()

Real PorousFlowPorosity::ddecayQp_dvar ( unsigned  pvar) const
overrideprotectedvirtualinherited

d(decay)/d(PorousFlow variable pvar)

Implements PorousFlowPorosityExponentialBase.

Definition at line 274 of file PorousFlowPorosity.C.

275 {
276  Real result = 0.0;
277 
278  if (_thermal)
279  result += _exp_coeff * (*_dtemperature_dvar)[_qp][pvar];
280 
281  if (_fluid)
282  result += _coeff * (*_dpf_dvar)[_qp][pvar];
283 
284  return result;
285 }
const Real _coeff
Short-hand number (biot-1)/solid_bulk.
const bool _thermal
Porosity is a function of temperature.
const Real _exp_coeff
Thermal expansion coefficient of the solid porous skeleton.
const bool _fluid
Porosity is a function of effective porepressure.

◆ decayQp()

Real PorousFlowPorosity::decayQp ( ) const
overrideprotectedvirtualinherited

Returns "decay" at the quadpoint (porosity = a + (b - a) * exp(decay))

Implements PorousFlowPorosityExponentialBase.

Definition at line 249 of file PorousFlowPorosity.C.

250 {
251  Real result = 0.0;
252 
253  if (_thermal)
254  result += _exp_coeff * ((*_temperature)[_qp] - _t_reference[_qp]);
255 
256  if (_fluid)
257  result += _coeff * ((*_pf)[_qp] - _p_reference[_qp]);
258 
259  if (_mechanical)
260  {
261  // Note that in the following _strain[_qp] is evaluated at q quadpoint
262  // So _porosity_nodal[_qp], which should be the nodal value of porosity
263  // actually uses the strain at a quadpoint. This
264  // is OK for LINEAR elements, as strain is constant over the element anyway.
265  const unsigned qp_to_use =
266  (_nodal_material && (_bnd || _strain_at_nearest_qp) ? nearestQP(_qp) : _qp);
267  result += -(*_vol_strain_qp)[qp_to_use];
268  }
269 
270  return result;
271 }
const Real _coeff
Short-hand number (biot-1)/solid_bulk.
const VariableValue & _t_reference
Reference temperature.
const bool _strain_at_nearest_qp
When calculating nodal porosity, use the strain at the nearest quadpoint to the node.
const bool _thermal
Porosity is a function of temperature.
const Real _exp_coeff
Thermal expansion coefficient of the solid porous skeleton.
const VariableValue & _p_reference
Reference porepressure.
const bool _fluid
Porosity is a function of effective porepressure.
const bool _mechanical
Porosity is a function of volumetric strain.

◆ initQpStatefulProperties()

void PorousFlowPorosityExponentialBase::initQpStatefulProperties ( )
overrideprotectedvirtualinherited

Definition at line 44 of file PorousFlowPorosityExponentialBase.C.

45 {
46  const Real a = atNegInfinityQp();
47  const Real b = atZeroQp();
48  mooseAssert(a > b, "PorousFlowPorosityExponentialBase a must be larger than b");
49  const Real decay = decayQp();
50 
51  if (decay <= 0.0 || !_ensure_positive)
52  _porosity[_qp] = a + (b - a) * std::exp(decay);
53  else
54  {
55  const Real c = std::log(a / (a - b));
56  const Real expx = std::exp(-decay / c);
57  _porosity[_qp] = a + (b - a) * std::exp(c * (1.0 - expx));
58  }
59 }
const bool _ensure_positive
for decayQp() > 0, porosity can be negative when using porosity = a + (b - a) * exp(decay).
virtual Real atZeroQp() const =0
Returns "b" at the quadpoint (porosity = a + (b - a) * exp(decay))
virtual Real decayQp() const =0
Returns "decay" at the quadpoint (porosity = a + (b - a) * exp(decay))
MaterialProperty< Real > & _porosity
Computed porosity at the nodes or quadpoints.
virtual Real atNegInfinityQp() const =0
Returns "a" at the quadpoint (porosity = a + (b - a) * exp(decay))

Member Data Documentation

◆ _aq_ph

const unsigned int PorousFlowPorosity::_aq_ph
protectedinherited

◆ _biot

const Real PorousFlowPorosity::_biot
protectedinherited

Biot coefficient.

Definition at line 56 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::atNegInfinityQp(), and computeQpProperties().

◆ _biot_modulus

const Real PorousFlowPorosityHMBiotModulus::_biot_modulus
protected

Constant biot modulus.

Definition at line 41 of file PorousFlowPorosityHMBiotModulus.h.

Referenced by computeQpProperties().

◆ _c_reference

std::vector<const VariableValue *> PorousFlowPorosity::_c_reference
protectedinherited

Reference mineral concentrations.

Definition at line 77 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::atZeroQp(), and PorousFlowPorosity::PorousFlowPorosity().

◆ _c_weights

std::vector<Real> PorousFlowPorosity::_c_weights
protectedinherited

◆ _chemical

const bool PorousFlowPorosity::_chemical
protectedinherited

◆ _coeff

const Real PorousFlowPorosity::_coeff
protectedinherited

Short-hand number (biot-1)/solid_bulk.

Definition at line 65 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::ddecayQp_dvar(), and PorousFlowPorosity::decayQp().

◆ _dpf_dvar

const MaterialProperty<std::vector<Real> >* const PorousFlowPorosity::_dpf_dvar
protectedinherited

d(effective porepressure)/(d porflow variable)

Definition at line 101 of file PorousFlowPorosity.h.

Referenced by computeQpProperties().

◆ _dporosity_dgradvar

MaterialProperty<std::vector<RealGradient> >& PorousFlowPorosityBase::_dporosity_dgradvar
protectedinherited

◆ _dporosity_dvar

MaterialProperty<std::vector<Real> >& PorousFlowPorosityBase::_dporosity_dvar
protectedinherited

◆ _dreaction_rate_dvar

const MaterialProperty<std::vector<std::vector<Real> > >* const PorousFlowPorosity::_dreaction_rate_dvar
protectedinherited

d(reaction_rate_conc)/d(porflow variable)

Definition at line 116 of file PorousFlowPorosity.h.

◆ _dsaturation_dvar

const MaterialProperty<std::vector<std::vector<Real> > >* const PorousFlowPorosity::_dsaturation_dvar
protectedinherited

d(saturation)/d(PorousFlow var)

Definition at line 125 of file PorousFlowPorosity.h.

◆ _dtemperature_dvar

const MaterialProperty<std::vector<Real> >* const PorousFlowPorosity::_dtemperature_dvar
protectedinherited

d(temperature)/(d porflow variable)

Definition at line 107 of file PorousFlowPorosity.h.

◆ _dvol_strain_qp_dvar

const MaterialProperty<std::vector<RealGradient> >* const PorousFlowPorosity::_dvol_strain_qp_dvar
protectedinherited

d(strain)/(dvar) (first const means we never want to dereference and change the value, second means we'll always be pointing to the same address after initialization (like a reference))

Definition at line 95 of file PorousFlowPorosity.h.

Referenced by computeQpProperties().

◆ _dvol_strain_rate_qp_dvar

const MaterialProperty<std::vector<RealGradient> >& PorousFlowPorosityHMBiotModulus::_dvol_strain_rate_qp_dvar
protected

d(volumetric strain rate)/d(PorousFlow variable)

Definition at line 56 of file PorousFlowPorosityHMBiotModulus.h.

Referenced by computeQpProperties().

◆ _ensure_positive

const bool PorousFlowPorosityExponentialBase::_ensure_positive
protectedinherited

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 77 of file PorousFlowPorosityExponentialBase.h.

Referenced by PorousFlowPorosityExponentialBase::computeQpProperties(), and PorousFlowPorosityExponentialBase::initQpStatefulProperties().

◆ _exp_coeff

const Real PorousFlowPorosity::_exp_coeff
protectedinherited

Thermal expansion coefficient of the solid porous skeleton.

Definition at line 59 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::ddecayQp_dvar(), and PorousFlowPorosity::decayQp().

◆ _fluid

const bool PorousFlowPorosity::_fluid
protectedinherited

Porosity is a function of effective porepressure.

Definition at line 44 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::ddecayQp_dvar(), PorousFlowPorosity::decayQp(), and PorousFlowPorosity::PorousFlowPorosity().

◆ _fluid_bulk_modulus

const Real PorousFlowPorosityHMBiotModulus::_fluid_bulk_modulus
protected

Constant fluid bulk modulus.

Definition at line 44 of file PorousFlowPorosityHMBiotModulus.h.

Referenced by computeQpProperties().

◆ _initial_c

std::vector<const VariableValue *> PorousFlowPorosity::_initial_c
protectedinherited

Reference mineral concentrations.

Definition at line 83 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::atNegInfinityQp(), PorousFlowPorosity::atZeroQp(), and PorousFlowPorosity::PorousFlowPorosity().

◆ _mechanical

const bool PorousFlowPorosity::_mechanical
protectedinherited

Porosity is a function of volumetric strain.

Definition at line 41 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::ddecayQp_dgradvar(), and PorousFlowPorosity::decayQp().

◆ _mineral_conc_old

const MaterialProperty<std::vector<Real> >* const PorousFlowPorosity::_mineral_conc_old
protectedinherited

Old value of mineral concentration at the quadpoints or nodes.

Definition at line 110 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::atNegInfinityQp(), and PorousFlowPorosity::atZeroQp().

◆ _num_c_ref

const unsigned PorousFlowPorosity::_num_c_ref
protectedinherited

◆ _num_components

const unsigned int PorousFlowMaterialVectorBase::_num_components
protectedinherited

◆ _num_initial_c

const unsigned PorousFlowPorosity::_num_initial_c
protectedinherited

Number of reference mineral concentrations provided by user.

Definition at line 80 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::PorousFlowPorosity().

◆ _num_phases

const unsigned int PorousFlowMaterialVectorBase::_num_phases
protectedinherited

◆ _num_var

const unsigned int PorousFlowMaterialVectorBase::_num_var
protectedinherited

◆ _p_reference

const VariableValue& PorousFlowPorosity::_p_reference
protectedinherited

Reference porepressure.

Definition at line 71 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::decayQp().

◆ _pf

const MaterialProperty<Real>* const PorousFlowPorosity::_pf
protectedinherited

Effective porepressure at the quadpoints or nodes.

Definition at line 98 of file PorousFlowPorosity.h.

Referenced by computeQpProperties().

◆ _pf_old

const MaterialProperty<Real>& PorousFlowPorosityHMBiotModulus::_pf_old
protected

Old value of effective fluid pressure.

Definition at line 47 of file PorousFlowPorosityHMBiotModulus.h.

Referenced by computeQpProperties().

◆ _phi0

const VariableValue& PorousFlowPorosity::_phi0
protectedinherited

Porosity at zero strain and zero porepressure and zero temperature.

Definition at line 53 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::atZeroQp().

◆ _porosity

MaterialProperty<Real>& PorousFlowPorosityBase::_porosity
protectedinherited

◆ _porosity_old

const MaterialProperty<Real>& PorousFlowPorosityHMBiotModulus::_porosity_old
protected

Old value of porosity.

Definition at line 38 of file PorousFlowPorosityHMBiotModulus.h.

Referenced by computeQpProperties().

◆ _reaction_rate

const MaterialProperty<std::vector<Real> >* const PorousFlowPorosity::_reaction_rate
protectedinherited

Reaction rate of mineralisation.

Definition at line 113 of file PorousFlowPorosity.h.

◆ _saturation

const MaterialProperty<std::vector<Real> >* const PorousFlowPorosity::_saturation
protectedinherited

Saturation.

Definition at line 122 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::datNegInfinityQp(), and PorousFlowPorosity::datZeroQp().

◆ _solid_bulk

const Real PorousFlowPorosity::_solid_bulk
protectedinherited

Drained bulk modulus of the porous skeleton.

Definition at line 62 of file PorousFlowPorosity.h.

◆ _strain_at_nearest_qp

const bool PorousFlowPorosityExponentialBase::_strain_at_nearest_qp
protectedinherited

When calculating nodal porosity, use the strain at the nearest quadpoint to the node.

Definition at line 68 of file PorousFlowPorosityExponentialBase.h.

Referenced by computeQpProperties(), PorousFlowPorosity::ddecayQp_dgradvar(), and PorousFlowPorosity::decayQp().

◆ _t_reference

const VariableValue& PorousFlowPorosity::_t_reference
protectedinherited

Reference temperature.

Definition at line 68 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::decayQp().

◆ _temperature

const MaterialProperty<Real>* const PorousFlowPorosity::_temperature
protectedinherited

Temperature at the quadpoints or nodes.

Definition at line 104 of file PorousFlowPorosity.h.

◆ _thermal

const bool PorousFlowPorosity::_thermal
protectedinherited

Porosity is a function of temperature.

Definition at line 47 of file PorousFlowPorosity.h.

Referenced by PorousFlowPorosity::ddecayQp_dvar(), PorousFlowPorosity::decayQp(), and PorousFlowPorosity::PorousFlowPorosity().

◆ _vol_strain_qp

const MaterialProperty<Real>* const PorousFlowPorosity::_vol_strain_qp
protectedinherited

Strain (first const means we never want to dereference and change the value, second means we'll always be pointing to the same address after initialization (like a reference))

Definition at line 92 of file PorousFlowPorosity.h.

Referenced by computeQpProperties().

◆ _vol_strain_qp_old

const MaterialProperty<Real>& PorousFlowPorosityHMBiotModulus::_vol_strain_qp_old
protected

Old value of total volumetric strain.

Definition at line 50 of file PorousFlowPorosityHMBiotModulus.h.

Referenced by computeQpProperties().

◆ _vol_strain_rate_qp

const MaterialProperty<Real>& PorousFlowPorosityHMBiotModulus::_vol_strain_rate_qp
protected

Volumetric strain rate.

Definition at line 53 of file PorousFlowPorosityHMBiotModulus.h.

Referenced by computeQpProperties().


The documentation for this class was generated from the following files: