www.mooseframework.org
Static Public Member Functions | List of all members
RichardsSeffRSC Class Reference

Rogers-Stallybrass-Clements version of effective saturation as a function of CAPILLARY pressure. More...

#include <RichardsSeffRSC.h>

Static Public Member Functions

static Real seff (Real pc, Real shift, Real scale)
 effective saturation as a function of capillary pressure More...
 
static Real dseff (Real pc, Real shift, Real scale)
 derivative of effective saturation wrt capillary pressure More...
 
static Real d2seff (Real pc, Real shift, Real scale)
 2nd derivative of effective saturation wrt capillary pressure More...
 

Detailed Description

Rogers-Stallybrass-Clements version of effective saturation as a function of CAPILLARY pressure.

valid for residual saturations = 0, and viscosityOil = 2*viscosityWater. (the "2" is important here!). C Rogers, MP Stallybrass and DL Clements "On two phase filtration under gravity and with boundary infiltration: application of a Backlund transformation" Nonlinear Analysis Theory Methods and Applications 7 (1983) 785–799.

Definition at line 21 of file RichardsSeffRSC.h.

Member Function Documentation

Real RichardsSeffRSC::d2seff ( Real  pc,
Real  shift,
Real  scale 
)
static

2nd derivative of effective saturation wrt capillary pressure

Parameters
pccapillary pressure
shiftRSC's shift parameter
scaleRSC's scale parameter

Definition at line 35 of file RichardsSeffRSC.C.

Referenced by RichardsSeff1RSC::d2seff(), RichardsSeff2waterRSC::d2seff(), and RichardsSeff2gasRSC::d2seff().

36 {
37  Real x = (pc - shift) / scale;
38  Real ex = std::exp(x);
39  return (0.75 * ex * ex * std::pow(1 + ex, -2.5) - 0.5 * ex * std::pow(1 + ex, -1.5)) / scale /
40  scale;
41 }
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
Real RichardsSeffRSC::dseff ( Real  pc,
Real  shift,
Real  scale 
)
static

derivative of effective saturation wrt capillary pressure

Parameters
pccapillary pressure
shiftRSC's shift parameter
scaleRSC's scale parameter

Definition at line 27 of file RichardsSeffRSC.C.

Referenced by RichardsSeff1RSC::dseff(), RichardsSeff2waterRSC::dseff(), and RichardsSeff2gasRSC::dseff().

28 {
29  Real x = (pc - shift) / scale;
30  Real ex = std::exp(x);
31  return -0.5 * ex * std::pow(1 + ex, -1.5) / scale;
32 }
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
Real RichardsSeffRSC::seff ( Real  pc,
Real  shift,
Real  scale 
)
static

effective saturation as a function of capillary pressure

Parameters
pccapillary pressure
shiftRSC's shift parameter
scaleRSC's scale parameter

Definition at line 19 of file RichardsSeffRSC.C.

Referenced by RichardsSeff1RSC::seff(), RichardsSeff2waterRSC::seff(), and RichardsSeff2gasRSC::seff().

20 {
21  Real x = (pc - shift) / scale;
22  Real ex = std::exp(x);
23  return std::pow(1 + ex, -0.5);
24 }
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)

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