My Project
|
Public Member Functions | |
SegmentState (int num_phases, const WellSegments &segments) | |
double | pressure_drop (std::size_t index) const |
bool | empty () const |
void | scale_pressure (double bhp) |
const std::vector< int > & | segment_number () const |
std::size_t | size () const |
template<class Serializer > | |
void | serializeOp (Serializer &serializer) |
bool | operator== (const SegmentState &) const |
Static Public Member Functions | |
static SegmentState | serializationTestObject () |
Public Attributes | |
std::vector< double > | rates |
std::vector< double > | dissolved_gas_rate |
std::vector< double > | vaporized_oil_rate |
std::vector< double > | phase_resv_rates |
Segment condition volume flow rates through segment (per phase) | |
std::vector< double > | phase_velocity |
Segment condition flow velocity through segment (per phase) | |
std::vector< double > | phase_holdup |
Segment condition holdup fractions through segment (per phase) | |
std::vector< double > | phase_viscosity |
Segment condition phase viscosities. | |
std::vector< double > | phase_density |
Segment condition phase densities. | |
std::vector< double > | pressure |
std::vector< double > | pressure_drop_friction |
std::vector< double > | pressure_drop_hydrostatic |
std::vector< double > | pressure_drop_accel |
std::vector<double> Opm::SegmentState::phase_density |
Segment condition phase densities.
elements per segment, with the two additional elements being fluid mixture densities. Fluid mixture densities are calculated with and without ICD-related flowing phase fraction exponents, respectively. Mixture density without flowing phase fraction exponents is stored at offset num_phases
, and mixture density with flowing phase fraction exponents is stored at offset
.
In other words, the phase and mixture densities are stored as
[{ p0, p1, ..., (np - 1), mixture, mixture_with_exponents }, { p0, p1, ..., (np - 1), mixture, mixture_with_exponents }, ... { p0, p1, ..., (np - 1), mixture, mixture_with_exponents }]