A property class for incompressible two-phase flow.  
 More... 
#include <ReservoirPropertyCapillaryAnisotropicRelperm.hpp> 
 |  
| template<class MatrixType >  |  
| void  | phaseMobility (int phase_index, int cell_index, double saturation, MatrixType &phase_mob) const |  
|   | Anisotropic phase mobility.  More...
  |  
|   |  
| double  | fractionalFlow (int cell_index, double saturation) const |  
|   | Some approximation to a scalar fractional flow (of the first phase).  More...
  |  
|   |  
| void  | computeCflFactors () |  
|   |  
| void  | init (Opm::DeckConstPtr deck, const std::vector< int > &global_cell, const double perm_threshold=0.0, const std::string *rock_list_filename=0, const bool use_jfunction_scaling=true, const double sigma=1.0, const double theta=0.0) |  
|   | Initialize from a grdecl file.  More...
  |  
|   |  
| void  | init (const int num_cells, const double uniform_poro=0.2, const double uniform_perm=100.0 *Opm::prefix::milli *Opm::unit::darcy) |  
|   | Initialize a uniform reservoir.  More...
  |  
|   |  
| void  | setViscosities (double v1, double v2) |  
|   | Set viscosities of both faces.  More...
  |  
|   |  
| void  | setDensities (double d1, double d2) |  
|   | Set densitities of both faces.  More...
  |  
|   |  
| double  | viscosityFirstPhase () const |  
|   | Viscosity of first (water) phase.  More...
  |  
|   |  
| double  | viscositySecondPhase () const |  
|   | Viscosity of second (oil) phase.  More...
  |  
|   |  
| double  | densityFirstPhase () const |  
|   | Density of first (water) phase.  More...
  |  
|   |  
| double  | densitySecondPhase () const |  
|   | Density of second (oil) phase.  More...
  |  
|   |  
| double  | porosity (int cell_index) const |  
|   | Read-access to porosity.  More...
  |  
|   |  
| double  | ntg (int cell_index) const |  
|   | Read-access to ntg.  More...
  |  
|   |  
| double  | swcr (int cell_index) const |  
|   | Read-access to swcr.  More...
  |  
|   |  
| double  | sowcr (int cell_index) const |  
|   | Read-access to sowcr.  More...
  |  
|   |  
| PermTensor  | permeability (int cell_index) const |  
|   | Read-access to permeability.  More...
  |  
|   |  
| SharedPermTensor  | permeabilityModifiable (int cell_index) |  
|   | Read- and write-access to permeability. Use with caution.  More...
  |  
|   |  
| void  | phaseDensities (int, Vector &density) const |  
|   | Densities for both phases.  More...
  |  
|   |  
| double  | densityDifference () const |  
|   | Difference of densities.  More...
  |  
|   |  
| double  | cflFactor () const |  
|   | A factor useful in cfl computations.  More...
  |  
|   |  
| double  | cflFactorGravity () const |  
|   | A factor useful in gravity cfl computations.  More...
  |  
|   |  
| double  | cflFactorCapillary () const |  
|   | A factor useful in gravity cfl computations.  More...
  |  
|   |  
| double  | capillaryPressure (int cell_index, double saturation) const |  
|   | Capillary pressure.  More...
  |  
|   |  
| double  | capillaryPressureDeriv (int c, double s) const |  
|   | Derivative of Capillary pressure.  More...
  |  
|   |  
| double  | s_min (int c) const |  
|   |  
| double  | s_max (int c) const |  
|   |  
| double  | saturationFromCapillaryPressure (int cell_index, double cap_press) const |  
|   | Inverse of the capillary pressure function.  More...
  |  
|   |  
| void  | writeSintefLegacyFormat (const std::string &grid_prefix) const |  
|   | Write permeability and porosity in the Sintef legacy format.  More...
  |  
|   |  
 
template<int dim> 
class Opm::ReservoirPropertyCapillaryAnisotropicRelperm< dim > A property class for incompressible two-phase flow.  
- Template Parameters
 - 
  
    | dim | the dimension of the space, used for giving permeability tensors the right size.  |  
   
   
 
 
◆ Mobility
The (tensorial) mobility type.  
 
 
◆ MutablePermTensor
Tensor type to be used for holding copies of permeability tensors.  
 
 
◆ PermTensor
Tensor type for read-only access to permeability.  
 
 
◆ SharedPermTensor
Tensor type for read and write access to permeability.  
 
 
◆ anonymous enum
◆ asImpl()
◆ assignNTG()
◆ assignPermeability()
◆ assignPorosity()
◆ assignRockTable()
◆ assignSOWCR()
◆ assignSWCR()
◆ capillaryPressure()
Capillary pressure.  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
    | saturation | a saturation value.  |  
   
   
 
- Returns
 - capillary pressure at the given cell and saturation. 
  
 
 
◆ capillaryPressureDeriv()
Derivative of Capillary pressure.  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
    | saturation | a saturation value.  |  
   
   
 
- Returns
 - capillary pressure at the given cell and saturation. 
  
 
 
◆ cflFactor()
A factor useful in cfl computations.  
- Returns
 - the cfl factor. 
  
 
 
◆ cflFactorCapillary()
A factor useful in gravity cfl computations.  
- Returns
 - the capillary cfl factor. 
  
 
 
◆ cflFactorGravity()
A factor useful in gravity cfl computations.  
- Returns
 - the gravity cfl factor. 
  
 
 
◆ computeCflFactors()
◆ densityDifference()
◆ densityFirstPhase()
Density of first (water) phase.  
- Returns
 - the density value. 
  
 
 
◆ densitySecondPhase()
Density of second (oil) phase.  
- Returns
 - the density value. 
  
 
 
◆ fractionalFlow()
Some approximation to a scalar fractional flow (of the first phase).  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
    | saturation | a saturation value.  |  
   
   
 
- Returns
 - fractional flow value at the given cell and saturation. 
  
References Opm::TensorMobility< dim >::mob. 
 
 
◆ init() [1/2]
Initialize a uniform reservoir.  
- Parameters
 - 
  
    | num_cells | number of cells in the grid.  |  
    | uniform_poro | the uniform porosity.  |  
    | uniform_perm | the uniform (scalar) permeability.  |  
   
   
 
 
 
◆ init() [2/2]
Initialize from a grdecl file.  
- Parameters
 - 
  
    | deck | the deck holding the grdecl data.  |  
    | global_cell | the mapping from cell indices to the logical cartesian indices of the grdecl file.  |  
    | perm_threshold | lower threshold for permeability.  |  
    | rock_list_filename | if non-null, the referred string gives the filename for the rock list.  |  
    | use_jfunction_scaling | if true, use j-function scaling of capillary pressure, if applicable.  |  
    | sigma | interface tension for j-scaling, if applicable.  |  
    | theta | angle for j-scaling, if applicable.  |  
   
   
 
 
 
◆ ntg()
Read-access to ntg.  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
   
   
 
- Returns
 - ntg value of the cell. 
  
 
 
◆ permeability()
Read-access to permeability.  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
   
   
 
- Returns
 - permeability value of the cell. 
  
 
 
◆ permeabilityModifiable()
Read- and write-access to permeability. Use with caution.  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
   
   
 
- Returns
 - permeability value of the cell. 
  
 
 
◆ phaseDensities()
Densities for both phases.  
- Template Parameters
 - 
  
    | Vector | a class with size() and operator[].  |  
   
   
 
- Parameters
 - 
  
     | cell_index | index of a grid cell (not used).  |  
    | [out] | density | the phase densities. Expected to be of size 2 before (and after) the call.  |  
   
   
 
 
 
◆ phaseMobility()
template<int dim>  
template<class MatrixType >  
      
 
Anisotropic phase mobility.  
- Parameters
 - 
  
     | phase_index | phase for which to compute mobility.  |  
     | cell_index | index of a grid cell.  |  
     | saturation | a saturation value.  |  
    | [out] | phase_mob | anisotropic phase mobility tensor at the given cell and saturation.  |  
   
   
 
 
 
◆ porosity()
Read-access to porosity.  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
   
   
 
- Returns
 - porosity value of the cell. 
  
 
 
◆ readRocks()
◆ s_max()
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
   
   
 
- Returns
 - maximum saturation in given cell. 
  
 
 
◆ s_min()
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
   
   
 
- Returns
 - minimum saturation in given cell. 
  
 
 
◆ saturationFromCapillaryPressure()
Inverse of the capillary pressure function.  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
    | cap_press | a capillary pressure value.  |  
   
   
 
- Returns
 - the saturation at the given cell has the given capillary pressure. 
  
 
 
◆ setDensities()
Set densitities of both faces.  
- Parameters
 - 
  
    | d1 | the densitity of the first (water) phase.  |  
    | d2 | the densitity of the second (oil) phase.  |  
   
   
 
 
 
◆ setViscosities()
Set viscosities of both faces.  
- Parameters
 - 
  
    | v1 | the viscosity of the first (water) phase.  |  
    | v2 | the viscosity of the second (oil) phase.  |  
   
   
 
 
 
◆ sowcr()
Read-access to sowcr.  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
   
   
 
- Returns
 - sowcr value of the cell. 
  
 
 
◆ swcr()
Read-access to swcr.  
- Parameters
 - 
  
    | cell_index | index of a grid cell.  |  
   
   
 
- Returns
 - swcr value of the cell. 
  
 
 
◆ viscosityFirstPhase()
Viscosity of first (water) phase.  
- Returns
 - the viscosity value. 
  
 
 
◆ viscositySecondPhase()
Viscosity of second (oil) phase.  
- Returns
 - the viscosity value. 
  
 
 
◆ writeSintefLegacyFormat()
Write permeability and porosity in the Sintef legacy format.  
- Parameters
 - 
  
    | grid_prefix | the prefix of all files output by this function.  |  
   
   
 
 
 
◆ cell_to_rock_
◆ cfl_factor_
◆ cfl_factor_capillary_
◆ cfl_factor_gravity_
◆ density1_
◆ density2_
◆ ntg_
◆ permeability_
◆ permeability_kind_
◆ permfield_valid_
◆ porosity_
◆ rock_
◆ sowcr_
◆ swcr_
◆ viscosity1_
◆ viscosity2_
 The documentation for this class was generated from the following files: 
 
  
 
    
     |