Opm::DerivedGeology Class Reference

Class containing static geological properties that are derived from grid and petrophysical properties: More...

#include <GeoProps.hpp>

Public Types

typedef Eigen::ArrayXd Vector
 

Public Member Functions

template<class Props , class Grid >
 DerivedGeology (const Grid &grid, const Props &props, const EclipseState &eclState, const bool use_local_perm, const double *grav=0)
 Construct contained derived geological properties from grid and property information. More...
 
template<class Props , class Grid >
void update (const Grid &grid, const Props &props, const EclipseState &eclState, const double *grav)
 compute the all geological properties at a given report step
 
const Vector & poreVolume () const
 
const Vector & transmissibility () const
 
const Vector & gravityPotential () const
 
const Vector & z () const
 
const double * gravity () const
 
Vector & poreVolume ()
 
Vector & transmissibility ()
 
const NNC & nnc () const
 
const NNC & nonCartesianConnections () const
 
template<class Grid >
data::Solution simProps (const Grid &grid) const
 Most properties are loaded by the parser, and managed by the EclipseState class in the opm-parser. More...
 
template<class GridType >
void minPvFillProps_ (const GridType &grid, const EclipseState &eclState, std::vector< double > &ntg)
 
template<class GridType >
void pinchProcess_ (const GridType &grid, const Opm::EclipseState &eclState, const Vector &htrans, int numCells)
 
template<class GridType >
void multiplyHalfIntersections_ (const GridType &grid, const EclipseState &eclState, const std::vector< double > &ntg, Vector &halfIntersectTransmissibility, std::vector< double > &intersectionTransMult)
 
template<class GridType >
void tpfa_loc_trans_compute_ (const GridType &grid, const EclipseGrid &eclGrid, const double *perm, Vector &hTrans)
 

Detailed Description

Class containing static geological properties that are derived from grid and petrophysical properties:

  • pore volume
  • transmissibilities
  • gravity potentials

Constructor & Destructor Documentation

◆ DerivedGeology()

template<class Props , class Grid >
Opm::DerivedGeology::DerivedGeology ( const Grid &  grid,
const Props &  props,
const EclipseState &  eclState,
const bool  use_local_perm,
const double *  grav = 0 
)
inline

Construct contained derived geological properties from grid and property information.

Member Function Documentation

◆ simProps()

template<class Grid >
data::Solution Opm::DerivedGeology::simProps ( const Grid &  grid) const
inline

Most properties are loaded by the parser, and managed by the EclipseState class in the opm-parser.

However - some properties must be calculated by the simulator, the purpose of this method is to calculate these properties in a form suitable for output. Currently the transmissibility is the only property calculated this way:

The grid properties TRANX, TRANY and TRANZ are initialized in a form suitable for writing to the INIT file. These properties should be interpreted with a 'the-grid-is-nearly-cartesian' mindset:

TRANX[i,j,k] = T on face between cells (i,j,k) and (i+1,j ,k ) TRANY[i,j,k] = T on face between cells (i,j,k) and (i ,j+1,k ) TRANZ[i,j,k] = T on face between cells (i,j,k) and (i ,j ,k+1)

If the grid structure has no resemblance to a cartesian grid the whole TRAN keyword is quite meaningless.


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