Opm::PinchProcessor< Grid > Class Template Reference

#include <PinchProcessor.hpp>

Public Member Functions

 PinchProcessor (const double minpvValue, const double thickness, const PinchMode::ModeEnum transMode, const PinchMode::ModeEnum multzMode)
 Create a Pinch processor. More...
 
void process (const Grid &grid, const std::vector< double > &htrans, const std::vector< int > &actnum, const std::vector< double > &multz, const std::vector< double > &pv, NNC &nnc)
 

Constructor & Destructor Documentation

template<class Grid >
Opm::PinchProcessor< Grid >::PinchProcessor ( const double  minpvValue,
const double  thickness,
const PinchMode::ModeEnum  transMode,
const PinchMode::ModeEnum  multzMode 
)
inline

Create a Pinch processor.

Parameters
[in]minpvValuevalue in MINPV keyword
[in]thicknessitem 2 in PINCH keyword
[in]transModeitem 4 in PINCH keyword
[in]multzModeitem 5 in PINCH keyword

Member Function Documentation

template<class Grid >
void Opm::PinchProcessor< Grid >::process ( const Grid &  grid,
const std::vector< double > &  htrans,
const std::vector< int > &  actnum,
const std::vector< double > &  multz,
const std::vector< double > &  pv,
NNC &  nnc 
)
inline

Generate NNCs for cells which pv is less than MINPV.

Parameters
[in]Gridcpgrid or unstructured grid
[in]htranshalf cell transmissibility, size is number of cellfaces.
[in]multzZ+ transmissibility multiplier for all active cells
[in]pvpore volume for all the cartesian cells
[in]nncnon-neighbor connection class Algorithm:
  1. Mark all the cells which pv less than minpvValue.
  2. Find out proper pinchouts column and associate top and bottom cells.
  3. Compute transmissibility for nncs.
  4. Apply multz due to different multz options.

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