All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Opm::PvtPropertiesIncompFromDeck Class Reference

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

#include <PvtPropertiesIncompFromDeck.hpp>

Public Member Functions

 PvtPropertiesIncompFromDeck ()
 Default constructor.
 
void init (const EclipseState &, const Opm::Deck &deck)
 Initialize from deck.
 
int numPhases () const
 Number of active phases.
 
const double * surfaceDensities () const
 Densities of stock components at surface conditions. More...
 
const double * reservoirDensities () const
 Densities of stock components at reservoir conditions. More...
 
const double * viscosity () const
 Viscosities.
 

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.

Member Function Documentation

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().

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