Opm::PvtPropertiesIncompFromDeck Class Reference

#include <PvtPropertiesIncompFromDeck.hpp>

Public Member Functions

 PvtPropertiesIncompFromDeck ()
 Default constructor. More...
 
void init (Opm::DeckConstPtr deck)
 Initialize from deck. More...
 
int numPhases () const
 Number of active phases. More...
 
const double * surfaceDensities () const
 
const double * reservoirDensities () const
 
const double * viscosity () const
 Viscosities. More...
 

Detailed Description

Class collecting pvt properties for 2 phases, reading from eclipse input (keywords DENSITY, PVTW, PVCDO).

All phases are incompressible and have constant viscosities. NOTE: This class is intentionally similar to BlackoilPvtProperties.

Constructor & Destructor Documentation

Opm::PvtPropertiesIncompFromDeck::PvtPropertiesIncompFromDeck ( )

Default constructor.

Member Function Documentation

void Opm::PvtPropertiesIncompFromDeck::init ( Opm::DeckConstPtr  deck)

Initialize from deck.

int Opm::PvtPropertiesIncompFromDeck::numPhases ( ) const

Number of active phases.

const double* Opm::PvtPropertiesIncompFromDeck::reservoirDensities ( ) const

Densities of stock components at reservoir conditions. Note: a reasonable question to ask is why there can be different densities at surface and reservoir conditions, when the phases are assumed incompressible. The answer is that even if we approximate the phases as being incompressible during simulation, the density difference between surface and reservoir may be larger. For accurate reporting and using data given in terms of surface values, we need to handle this difference.

Returns
Array of size numPhases().
const double* Opm::PvtPropertiesIncompFromDeck::surfaceDensities ( ) const

Densities of stock components at surface conditions.

Returns
Array of size numPhases().
const double* Opm::PvtPropertiesIncompFromDeck::viscosity ( ) const

Viscosities.


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