www.mooseframework.org
PorousFlow2PhasePS_VG.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef POROUSFLOW2PHASEPS_VG_H
9 #define POROUSFLOW2PHASEPS_VG_H
10 
11 #include "PorousFlow2PhasePS.h"
12 
13 // Forward Declarations
15 
16 template <>
17 InputParameters validParams<PorousFlow2PhasePS_VG>();
18 
24 {
25 public:
26  PorousFlow2PhasePS_VG(const InputParameters & parameters);
27 
28 protected:
29  virtual Real capillaryPressure(Real seff) const override;
30  virtual Real dCapillaryPressure_dS(Real seff) const override;
31  virtual Real d2CapillaryPressure_dS2(Real seff) const override;
32 
34  const Real _m;
36  const Real _pc_max;
38  const Real _p0;
40  const Real _alpha;
41 };
42 
43 #endif // POROUSFLOW2PHASEPS_VG_H
InputParameters validParams< PorousFlow2PhasePS_VG >()
Material designed to calculate fluid-phase porepressures and saturations at nodes and qps using a spe...
Calculates porepressure and saturation at the nodes and qps using a van Genuchten capillary pressure ...
const Real _m
van Genuchten exponent m
const Real _pc_max
Maximum capillary pressure (Pa). Note: must be <= 0.
virtual Real capillaryPressure(Real seff) const override
Capillary pressure as a function of saturation.
virtual Real d2CapillaryPressure_dS2(Real seff) const override
Second derivative of capillary pressure wrt to saturation.
const Real _alpha
van Genuchten alpha = 1/p0
PorousFlow2PhasePS_VG(const InputParameters &parameters)
virtual Real dCapillaryPressure_dS(Real seff) const override
Derivative of capillary pressure wrt to saturation.
const Real _p0
van Genuchten capillary pressure coefficient (inverse of alpha)