opm/autodiff/RateConverter.hpp File Reference

Facility for converting component rates at surface conditions to phase (voidage) rates at reservoir conditions. More...

#include <opm/autodiff/BlackoilPropsAdFromDeck.hpp>
#include <opm/core/props/BlackoilPhases.hpp>
#include <opm/core/simulator/BlackoilState.hpp>
#include <opm/core/utility/RegionMapping.hpp>
#include <opm/core/linalg/ParallelIstlInformation.hpp>
#include <algorithm>
#include <cmath>
#include <memory>
#include <stdexcept>
#include <type_traits>
#include <unordered_map>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  Opm::RateConverter::Details::Select::RegionIDParameter< RegionID, bool >
struct  Opm::RateConverter::Details::Select::RegionIDParameter< RegionID, true >
struct  Opm::RateConverter::Details::AverageIncrementCalculator< is_parallel >
 Computes the temperature, pressure, and counter increment. More...
struct  Opm::RateConverter::Details::AverageIncrementCalculator< false >
class  Opm::RateConverter::Details::RegionAttributes< RegionId, Attributes >
 Provide mapping from Region IDs to user-specified collection of per-region attributes. More...
struct  Opm::RateConverter::Details::RegionAttributes< RegionId, Attributes >::Value
 Aggregate per-region attributes along with region's representative cell.
class  Opm::RateConverter::SurfaceToReservoirVoidage< FluidSystem, Region >
 Convert component rates at surface conditions to phase (voidage) rates at reservoir conditions. More...
struct  Opm::RateConverter::SurfaceToReservoirVoidage< FluidSystem, Region >::Attributes
 Derived property attributes for each active region.

Namespaces

namespace  Opm
 

This file contains a set of helper functions used by VFPProd / VFPInj.


namespace  Opm::RateConverter::Details
 

Convenience tools for implementing the rate conversion facility.


namespace  Opm::RateConverter::Details::PhaseUsed
 

Convenience functions for querying presence/absence of active phases.


namespace  Opm::RateConverter::Details::PhasePos
 

Convenience functions for querying numerical IDs ("positions") of active phases.


Functions

bool Opm::RateConverter::Details::PhaseUsed::water (const PhaseUsage &pu)
 Active water predicate.
bool Opm::RateConverter::Details::PhaseUsed::oil (const PhaseUsage &pu)
 Active oil predicate.
bool Opm::RateConverter::Details::PhaseUsed::gas (const PhaseUsage &pu)
 Active gas predicate.
int Opm::RateConverter::Details::PhasePos::water (const PhaseUsage &pu)
 Numerical ID of active water phase.
int Opm::RateConverter::Details::PhasePos::oil (const PhaseUsage &pu)
 Numerical ID of active oil phase.
int Opm::RateConverter::Details::PhasePos::gas (const PhaseUsage &pu)
 Numerical ID of active gas phase.

Detailed Description

Facility for converting component rates at surface conditions to phase (voidage) rates at reservoir conditions.

This uses the average hydrocarbon pressure to define fluid properties. The facility is intended to support Reservoir Voidage rates only ('RESV').


Generated on 26 Mar 2018 by  doxygen 1.6.1