Opm Namespace Reference

Namespaces

 Elasticity
 

Classes

class  RelPermUpscaleHelper
 Helper class for relperm upscaling applications. More...
 
class  SinglePhaseUpscaler
 A class for doing single phase (permeability) upscaling. More...
 
class  SteadyStateUpscaler
 A class for doing steady state upscaling. More...
 
class  SteadyStateUpscalerImplicit
 A class for doing steady state upscaling. More...
 
class  SteadyStateUpscalerManager
 
class  SteadyStateUpscalerManagerImplicit
 
class  UpscalerBase
 A base class for upscaling. More...
 

Typedefs

typedef SimulatorTraits
< Isotropic, Explicit > 
UpscalingTraitsBasic
 
typedef SimulatorTraits
< Anisotropic, Explicit > 
UpscalingTraitsAnisoRelperm
 

Functions

void addNonStandardUpscalingKeywords (Opm::ParserPtr parser)
 This function registers the non-standard keywords used by opm-upscaling in a parser object. More...
 
double getVoigtValue (const SinglePhaseUpscaler::permtensor_t &K, int voigt_idx)
 Get value from tensor. More...
 
void setVoigtValue (SinglePhaseUpscaler::permtensor_t &K, int voigt_idx, double val)
 Set value in tensor. More...
 
static double calc_frac_flow (std::map< int, double > &frac_flow_by_bid, const BCs &bcond, const ResProp &res_prop, GridInterface::CellIterator c, CellIterator::FaceIterator f)
 
template<class Istream >
void readControl (Istream &is, std::vector< double > &saturations, Opm::SparseTable< double > &all_pdrops)
 Reads saturation and pressure drop data from an input stream. More...
 
template<class Ostream >
void writeControl (Ostream &os, const std::vector< double > &saturations, const Opm::SparseTable< double > &all_pdrops)
 Writes saturation and pressure drop data to an output stream. More...
 
template<class Ostream , class Tensor >
void writeRelPerm (Ostream &os, const Tensor &K, double sat, double pdrop)
 
template<class Ostream , class Tensor >
void writeRelPerm (Ostream &os, const Tensor &K, double sat, double pdrop, bool success)
 

Typedef Documentation

typedef SimulatorTraits<Anisotropic, Explicit> Opm::UpscalingTraitsAnisoRelperm
typedef SimulatorTraits<Isotropic, Explicit> Opm::UpscalingTraitsBasic

Function Documentation

void Opm::addNonStandardUpscalingKeywords ( Opm::ParserPtr  parser)
inline

This function registers the non-standard keywords used by opm-upscaling in a parser object.

The name of this function is intentionally long and awkward. This is to discourage its use unless it is really necessary!

static double Opm::calc_frac_flow ( std::map< int, double > &  frac_flow_by_bid,
const BCs &  bcond,
const ResProp &  res_prop,
GridInterface::CellIterator  c,
CellIterator::FaceIterator  f 
)
inlinestatic
double Opm::getVoigtValue ( const SinglePhaseUpscaler::permtensor_t &  K,
int  voigt_idx 
)

Get value from tensor.

Parameters
[in]KThe tensor to extract the value from
[in]voigt_idxThe voigt index for value to extract (0..8)
Returns
The requested value
template<class Istream >
void Opm::readControl ( Istream &  is,
std::vector< double > &  saturations,
Opm::SparseTable< double > &  all_pdrops 
)

Reads saturation and pressure drop data from an input stream.

References Opm::Elasticity::j.

Referenced by Opm::SteadyStateUpscalerManager< Traits >::upscale(), and Opm::SteadyStateUpscalerManagerImplicit< Upscaler >::upscale().

void Opm::setVoigtValue ( SinglePhaseUpscaler::permtensor_t &  K,
int  voigt_idx,
double  val 
)

Set value in tensor.

Parameters
[out]KThe tensor to set value in
[in]voigt_idxThe voigt index for value to set (0..8)
[in]valValue to set in tensor
template<class Ostream >
void Opm::writeControl ( Ostream &  os,
const std::vector< double > &  saturations,
const Opm::SparseTable< double > &  all_pdrops 
)

Writes saturation and pressure drop data to an output stream.

References Opm::Elasticity::j.

template<class Ostream , class Tensor >
void Opm::writeRelPerm ( Ostream &  os,
const Tensor &  K,
double  sat,
double  pdrop 
)
template<class Ostream , class Tensor >
void Opm::writeRelPerm ( Ostream &  os,
const Tensor &  K,
double  sat,
double  pdrop,
bool  success 
)