www.mooseframework.org
PorousFlow2PhasePP_RSC.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 POROUSFLOW2PHASEPP_RSC_H
9 #define POROUSFLOW2PHASEPP_RSC_H
10 
11 #include "PorousFlow2PhasePP.h"
13 
14 // Forward Declarations
16 
17 template <>
18 InputParameters validParams<PorousFlow2PhasePP_RSC>();
19 
26 {
27 public:
28  PorousFlow2PhasePP_RSC(const InputParameters & parameters);
29 
30 protected:
31  Real effectiveSaturation(Real pressure) const override;
32 
33  Real dEffectiveSaturation_dP(Real pressure) const override;
34 
35  Real d2EffectiveSaturation_dP2(Real pressure) const override;
36 
38  const Real _oil_viscosity;
39 
41  const Real _scale_ratio;
42 
44  const Real _shift;
45 
47  const Real _scale;
48 };
49 
50 #endif // POROUSFLOW2PHASEPP_RSC_H
Real dEffectiveSaturation_dP(Real pressure) const override
Derivative of effective saturation wrt to p.
Real d2EffectiveSaturation_dP2(Real pressure) const override
Second derivative of effective saturation wrt to porepressure.
const Real _scale
scale = 0.25 * scale_ratio * oil_viscosity
InputParameters validParams< PorousFlow2PhasePP_RSC >()
Real effectiveSaturation(Real pressure) const override
Effective saturation as a function of porepressure (a negative quantity).
const Real _scale_ratio
scale ratio: porosity/permeability/beta^2, where beta is chosen by the user
const Real _oil_viscosity
oil viscosity (which must be twice the water viscocity in this formulation)
PorousFlow2PhasePP_RSC(const InputParameters &parameters)
const std::string pressure
Definition: NS.h:24
Base material designed to calculate fluid phase porepressure and saturation for the two-phase situati...
const Real _shift
shift. seff_water = 1/Sqrt(1 + Exp((Pc - shift)/scale)), where scale = 0.25 * scale_ratio * oil_visco...
Material designed to calculate 2-phase porepressures and saturations at nodes and quadpoints assuming...