Internal class to manage the direct and derived quantities needed to formulate the fluid transport system.
More...
|
| | ModelParameterStorage (int nc, int totconn) |
| | Constructor. More...
|
| |
| double & | drho () |
| | Modifiable density difference. More...
|
| |
| double | drho () const |
| | Read-only density difference. More...
|
| |
| double * | mob (int c) |
| | Phase mobility in cell. More...
|
| |
| const double * | mob (int c) const |
| | Phase mobility in cell. More...
|
| |
| double * | dmob (int c) |
| | Diagonal elements of phase mobility derivative (Jacobian). More...
|
| |
| const double * | dmob (int c) const |
| | Diagonal elements of phase mobility derivative (Jacobian). More...
|
| |
| double * | porevol () |
| | Retrieve pore volumes for all cells. More...
|
| |
| double | porevol (int c) const |
| | Pore volume of single cell. More...
|
| |
| double & | dg (int i) |
| | Static gravity term associated to single half face. More...
|
| |
| double | dg (int i) const |
| | Static gravity term associated to single half face. More...
|
| |
| double & | ds (int c) |
| | Saturation change in particular cell. More...
|
| |
| double | ds (int c) const |
| | Saturation change in particular cell. More...
|
| |
| double & | pc (int c) |
| | Capillary pressure in particular cell. More...
|
| |
| double | pc (int c) const |
| | Capillary pressure in particular cell. More...
|
| |
| double & | dpc (int c) |
| | Derivative of capillary pressure with respect to saturation. More...
|
| |
| double | dpc (int c) const |
| | Derivative of capillary pressure with respect to saturation. More...
|
| |
| double & | trans (int f) |
| | Background (absolute) face transmissibility of particular face. More...
|
| |
| double | trans (int f) const |
| | Background (absolute) face transmissibility of particular face. More...
|
| |
Internal class to manage the direct and derived quantities needed to formulate the fluid transport system.
Note: This class elides off-diagonal elements of the phase mobility Jacobian,
. These elements are assumed to be strictly equal to zero. In other words, the relative permeability of phase
is assumed to depend only on the saturation of phase
. This convention allows storing only the two diagonals of the mobility Jacobian per grid cell.
The static gravity term is the scalar value
in which i is the half face index corresponding to the cell-face pair (f,c) and
is the absolute (bacground) two-point transmissibility of face f.
The fluid transport problem is formulated in terms of saturation changes,
, per cell. These changes are the primary degrees of freedom in this model.
Capillary pressures are defined by the fluid model, but usually correspond to
(e.g.,
).