Opm::WellReport Class Reference

#include <miscUtilities.hpp>

Public Member Functions

void push (const IncompPropertiesInterface &props, const Wells &wells, const std::vector< double > &saturation, const double time, const std::vector< double > &well_bhp, const std::vector< double > &well_perfrates)
 
void push (const BlackoilPropertiesInterface &props, const Wells &wells, const std::vector< double > &p, const std::vector< double > &z, const std::vector< double > &s, const double time, const std::vector< double > &well_bhp, const std::vector< double > &well_perfrates)
 
void write (std::ostream &os) const
 

Detailed Description

Well reporting utility.

This class will store, for each call to push(), the following:

  • the time parameter that was passed to push()
  • for each well:
    • bottom hole pressure in bars
    • the well total rate in cubic meters per day
    • the water cut (water rate / total rate)

The method write() will write these data to a stream, as a matrix with time in the first column, bhp, rate and watercut of the first well in the second through fourth columns and so on.

Member Function Documentation

void Opm::WellReport::push ( const IncompPropertiesInterface props,
const Wells wells,
const std::vector< double > &  saturation,
const double  time,
const std::vector< double > &  well_bhp,
const std::vector< double > &  well_perfrates 
)

Add a report point.

Parameters
[in]propsfluid and rock properties
[in]wellswell configuration
[in]saturationsaturations by cell and phase
[in]timecurrent simulation time
[in]well_bhpbhp values of each well
[in]well_perfratestotal flow at each well perforation
void Opm::WellReport::push ( const BlackoilPropertiesInterface props,
const Wells wells,
const std::vector< double > &  p,
const std::vector< double > &  z,
const std::vector< double > &  s,
const double  time,
const std::vector< double > &  well_bhp,
const std::vector< double > &  well_perfrates 
)

Add a report point (compressible fluids).

Parameters
[in]propsfluid and rock properties
[in]wellswell configuration
[in]ppressure by cell
[in]zsurface volumes by cell and component
[in]ssaturations by cell and phase
[in]timecurrent simulation time
[in]well_bhpbhp values of each well
[in]well_perfratestotal flow at each well perforation
void Opm::WellReport::write ( std::ostream &  os) const

Write report to a stream.

Parameters
[in,out]osoutput stream

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