www.mooseframework.org
PorousFlow1PhaseP_VG.C
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 #include "PorousFlow1PhaseP_VG.h"
9 
10 template <>
11 InputParameters
13 {
14  InputParameters params = validParams<PorousFlow1PhaseP>();
15  params.addRequiredRangeCheckedParam<Real>(
16  "al", "al > 0", "van Genuchten parameter alpha. Must be positive");
17  params.addRequiredRangeCheckedParam<Real>(
18  "m",
19  "m > 0 & m < 1",
20  "van Genuchten exponent m. Must be between 0 and 1, and optimally should be set to > 0.5");
21  params.addClassDescription(
22  "This Material is used for the single-phase situation where porepressure is the primary "
23  "variable. Calculates the 1 porepressure and the 1 saturation in a 1-phase isothermal "
24  "situation, and derivatives of these with respect to the PorousFlowVariables. A van "
25  "Genuchten effective saturation (1 + (-al * p)^(1 / (1 - m)))^(-m) is assumed");
26  return params;
27 }
28 
29 PorousFlow1PhaseP_VG::PorousFlow1PhaseP_VG(const InputParameters & parameters)
30  : PorousFlow1PhaseP(parameters),
31 
32  _al(getParam<Real>("al")),
33  _m(getParam<Real>("m"))
34 {
35  mooseDeprecated("PorousFlow1PhaseP_VG is deprecated. Please use PorousFlow1PhaseP and a "
36  "PorousFlowCapillaryPressureVG UserObject instead");
37 }
38 
39 Real
41 {
43 }
44 
45 Real
47 {
49 }
50 
51 Real
53 {
55 }
const Real _al
van-Genuchten alpha parameter
PorousFlow1PhaseP_VG(const InputParameters &parameters)
InputParameters validParams< PorousFlow1PhaseP >()
Real dEffectiveSaturation_dP(Real pressure) const override
Derivative of effective saturation wrt to porepressure.
Real d2EffectiveSaturation_dP2(Real pressure) const override
Second derivative of effective saturation wrt to porepressure.
Base material designed to calculate fluid phase porepressure and saturation for the single-phase situ...
Real effectiveSaturation(Real pressure) const override
Effective saturation as a function of porepressure.
InputParameters validParams< PorousFlow1PhaseP_VG >()
Real effectiveSaturation(Real p, Real alpha, Real m)
Effective saturation as a function of porepressure.
const Real _m
van-Genuchten m parameter
const std::string pressure
Definition: NS.h:24
Real d2EffectiveSaturation(Real p, Real alpha, Real m)
Second derivative of effective saturation wrt porepressure.
Real dEffectiveSaturation(Real p, Real alpha, Real m)
Derivative of effective saturation wrt porepressure.