Opm::WellDensitySegmented Class Reference

A class giving a well model, by which we mean a way to compute the pressure deltas of each perforation and the bottom-hole pressure. More...

#include <WellDensitySegmented.hpp>

List of all members.

Static Public Member Functions

static std::vector< double > computeConnectionDensities (const Wells &wells, const PhaseUsage &phase_usage, const std::vector< double > &perfComponentRates, const std::vector< double > &b_perf, const std::vector< double > &rsmax_perf, const std::vector< double > &rvmax_perf, const std::vector< double > &surf_dens_perf)
 Compute well segment densities Notation: N = number of perforations, C = number of components.
static std::vector< double > computeConnectionDensities (const Wells &wells, const WellStateFullyImplicitBlackoilSolvent &wstate, const PhaseUsage &phase_usage, const std::vector< double > &b_perf, const std::vector< double > &rsmax_perf, const std::vector< double > &rvmax_perf, const std::vector< double > &surf_dens_perf)
 Compute well segment densities for solvent model Notation: N = number of perforations, P = number of phases.
static std::vector< double > computeConnectionPressureDelta (const Wells &wells, const std::vector< double > &z_perf, const std::vector< double > &dens_perf, const double gravity)
 Compute pressure deltas.

Detailed Description

A class giving a well model, by which we mean a way to compute the pressure deltas of each perforation and the bottom-hole pressure.

This class contains an explicit model, that uses a different density for each well segment, that is between each pair of perforations.


Member Function Documentation

std::vector< double > Opm::WellDensitySegmented::computeConnectionDensities ( const Wells &  wells,
const WellStateFullyImplicitBlackoilSolvent wstate,
const PhaseUsage &  phase_usage,
const std::vector< double > &  b_perf,
const std::vector< double > &  rsmax_perf,
const std::vector< double > &  rvmax_perf,
const std::vector< double > &  surf_dens_perf 
) [static]

Compute well segment densities for solvent model Notation: N = number of perforations, P = number of phases.

Parameters:
[in] wells struct with static well info
[in] wstate dynamic well solution information, perfRates() and solventFraction() is used
[in] phase_usage specifies which phases are active and not
[in] b_perf inverse ('little b') formation volume factor, size NP, P values per perforation
[in] rsmax_perf saturation point for rs (gas in oil) at each perforation, size N
[in] rvmax_perf saturation point for rv (oil in gas) at each perforation, size N
[in] surf_dens surface densities for active components, size NP, P values per perforation
std::vector< double > Opm::WellDensitySegmented::computeConnectionDensities ( const Wells &  wells,
const PhaseUsage &  phase_usage,
const std::vector< double > &  perfComponentRates,
const std::vector< double > &  b_perf,
const std::vector< double > &  rsmax_perf,
const std::vector< double > &  rvmax_perf,
const std::vector< double > &  surf_dens_perf 
) [static]

Compute well segment densities Notation: N = number of perforations, C = number of components.

Parameters:
[in] wells struct with static well info
[in] well_rates well rates for actiev components, size NC, P values per perforation
[in] phase_usage specifies which phases are active and not
[in] b_perf inverse ('little b') formation volume factor, size NC, P values per perforation
[in] rsmax_perf saturation point for rs (gas in oil) at each perforation, size N
[in] rvmax_perf saturation point for rv (oil in gas) at each perforation, size N
[in] surf_dens surface densities for active components, size NC, C values per perforation
std::vector< double > Opm::WellDensitySegmented::computeConnectionPressureDelta ( const Wells &  wells,
const std::vector< double > &  z_perf,
const std::vector< double > &  dens_perf,
const double  gravity 
) [static]

Compute pressure deltas.

Notation: N = number of perforations

Parameters:
[in] wells struct with static well info
[in] z_perf depth values for each perforation, size N
[in] dens_perf densities for each perforation, size N (typically computed using computeConnectionDensities)
[in] gravity gravity acceleration constant

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

Generated on 26 Mar 2018 by  doxygen 1.6.1