Well reporting utility. More...
#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) |
Add a report point. More... | |
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) |
Add a report point (compressible fluids). More... | |
void | write (std::ostream &os) const |
Write report to a stream. More... | |
Well reporting utility.
This class will store, for each call to push(), the following:
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.
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.
[in] | props | fluid and rock properties |
[in] | wells | well configuration |
[in] | saturation | saturations by cell and phase |
[in] | time | current simulation time |
[in] | well_bhp | bhp values of each well |
[in] | well_perfrates | total 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).
[in] | props | fluid and rock properties |
[in] | wells | well configuration |
[in] | p | pressure by cell |
[in] | z | surface volumes by cell and component |
[in] | s | saturations by cell and phase |
[in] | time | current simulation time |
[in] | well_bhp | bhp values of each well |
[in] | well_perfrates | total flow at each well perforation |
void Opm::WellReport::write | ( | std::ostream & | os | ) | const |
Write report to a stream.
[in,out] | os | output stream |