Opm::PolymerPropsAd Class Reference

#include <PolymerPropsAd.hpp>

Public Types

typedef AutoDiffBlock< double > ADB
 
typedef ADB::V V
 

Public Member Functions

double rockDensity () const
 
double deadPoreVol () const
 
double cMax () const
 
const std::vector< double > & shearWaterVelocity () const
 \ return The water velcoity or shear rate in the PLYSHLOG table More...
 
const std::vector< double > & shearViscosityReductionFactor () const
 \ return The viscosity reducation factor in the PLYSHLOG table More...
 
double plyshlogRefConc () const
 \ return The reference polymer concentration for PLYSHLOG table More...
 
bool hasPlyshlogRefSalinity () const
 \ return The flag indicating if reference salinity is specified in PLYSHLOG keyword More...
 
bool hasPlyshlogRefTemp () const
 \ return The flag indicating if reference temperature is specified in PLYSHLOG keyword More...
 
double plyshlogRefSalinity () const
 \ return The reference salinity in PLYSHLOG keyword More...
 
double plyshlogRefTemp () const
 \ return The reference temperature in PLYSHLOG keyword More...
 
double shrate () const
 \ return the value of SHRATE More...
 
double viscMult (double c) const
 
V viscMult (const V &c) const
 
 PolymerPropsAd (const PolymerProperties &polymer_props)
 Constructor wrapping a polymer props.
More...
 
 ~PolymerPropsAd ()
 Destructor. More...
 
V effectiveInvWaterVisc (const V &c, const double *visc) const
 
ADB effectiveInvWaterVisc (const ADB &c, const double *visc) const
 
V polymerWaterVelocityRatio (const V &c) const
 
ADB polymerWaterVelocityRatio (const ADB &c) const
 
V adsorption (const V &c, const V &cmax_cells) const
 
ADB adsorption (const ADB &c, const ADB &cmax_cells) const
 
V effectiveRelPerm (const V &c, const V &cmax_cells, const V &relperm) const
 
ADB effectiveRelPerm (const ADB &c, const ADB &cmax_cells, const ADB &krw) const
 
bool computeShearMultLog (std::vector< double > &water_vel, std::vector< double > &visc_mult, std::vector< double > &shear_mult) const
 

Member Typedef Documentation

◆ ADB

typedef AutoDiffBlock<double> Opm::PolymerPropsAd::ADB

◆ V

typedef ADB::V Opm::PolymerPropsAd::V

Constructor & Destructor Documentation

◆ PolymerPropsAd()

Opm::PolymerPropsAd::PolymerPropsAd ( const PolymerProperties polymer_props)

Constructor wrapping a polymer props.

Parameters
[in]cArray of n polymer concentraion values.
Returns
Array of n viscosity multiplier from PLVISC table.

◆ ~PolymerPropsAd()

Opm::PolymerPropsAd::~PolymerPropsAd ( )

Destructor.

Member Function Documentation

◆ adsorption() [1/2]

ADB Opm::PolymerPropsAd::adsorption ( const ADB c,
const ADB cmax_cells 
) const
Parameters
[in]cArray of n polymer concentraion values.
[in]cmax_cellsArray of n polymer concentraion values that the cell experienced.
Returns
Array of n adsorption values.

◆ adsorption() [2/2]

V Opm::PolymerPropsAd::adsorption ( const V c,
const V cmax_cells 
) const
Parameters
[in]cArray of n polymer concentraion values.
[in]cmax_cellsArray of n polymer concentraion values that the cell experienced.
Returns
Array of n adsorption values.

◆ cMax()

double Opm::PolymerPropsAd::cMax ( ) const
Returns
The max concentration injected.

◆ computeShearMultLog()

bool Opm::PolymerPropsAd::computeShearMultLog ( std::vector< double > &  water_vel,
std::vector< double > &  visc_mult,
std::vector< double > &  shear_mult 
) const
Parameters
[in]water_velArray of the n values of water velocity or shear rate.
[in]visc_multArray of the n values of the viscosity multiplier from PLYVISC table. \parma[out] shear_mult Array of the n values of calculated shear multiplier with PLYSHLOG keyword.
Returns
TRUE if the calculation of shear multiplier is sucessful, FALSE if the calculation of shear multplier is failed.

◆ deadPoreVol()

double Opm::PolymerPropsAd::deadPoreVol ( ) const
Returns
The value of dead pore volume.

◆ effectiveInvWaterVisc() [1/2]

ADB Opm::PolymerPropsAd::effectiveInvWaterVisc ( const ADB c,
const double *  visc 
) const
Parameters
[in]cArray of n polymer concentraion values.
[in]viscArray of 2 viscosity value
Returns
value of inverse effective water viscosity.

◆ effectiveInvWaterVisc() [2/2]

V Opm::PolymerPropsAd::effectiveInvWaterVisc ( const V c,
const double *  visc 
) const
Parameters
[in]cArray of n polymer concentraion values.
[in]viscArray of 2 viscosity value.
Returns
value of inverse effective water viscosity.

◆ effectiveRelPerm() [1/2]

ADB Opm::PolymerPropsAd::effectiveRelPerm ( const ADB c,
const ADB cmax_cells,
const ADB krw 
) const
Parameters
[in]cArray of n polymer concentraion values.
[in]cmax_cellsArray of n polymer concentraion values that the cell experienced.
[in]relpermArray of n relative water relperm values.
Returns
Array of n adsorption values.

◆ effectiveRelPerm() [2/2]

V Opm::PolymerPropsAd::effectiveRelPerm ( const V c,
const V cmax_cells,
const V relperm 
) const
Parameters
[in]cArray of n polymer concentraion values.
[in]cmax_cellsArray of n polymer concentraion values that the cell experienced.
[in]relpermArray of n relative water relperm values.
Returns
Array of n adsorption values.

◆ hasPlyshlogRefSalinity()

bool Opm::PolymerPropsAd::hasPlyshlogRefSalinity ( ) const

\ return The flag indicating if reference salinity is specified in PLYSHLOG keyword

◆ hasPlyshlogRefTemp()

bool Opm::PolymerPropsAd::hasPlyshlogRefTemp ( ) const

\ return The flag indicating if reference temperature is specified in PLYSHLOG keyword

◆ plyshlogRefConc()

double Opm::PolymerPropsAd::plyshlogRefConc ( ) const

\ return The reference polymer concentration for PLYSHLOG table

◆ plyshlogRefSalinity()

double Opm::PolymerPropsAd::plyshlogRefSalinity ( ) const

\ return The reference salinity in PLYSHLOG keyword

◆ plyshlogRefTemp()

double Opm::PolymerPropsAd::plyshlogRefTemp ( ) const

\ return The reference temperature in PLYSHLOG keyword

◆ polymerWaterVelocityRatio() [1/2]

ADB Opm::PolymerPropsAd::polymerWaterVelocityRatio ( const ADB c) const
Parameters
[in]cArray of n polymer concentraion values.
Returns
Array of n mc values, here mc means m(c) * c.

◆ polymerWaterVelocityRatio() [2/2]

V Opm::PolymerPropsAd::polymerWaterVelocityRatio ( const V c) const
Parameters
[in]cArray of n polymer concentraion values.
Returns
Array of n mc values, here mc means m(c) * c.

◆ rockDensity()

double Opm::PolymerPropsAd::rockDensity ( ) const
Returns
Reference rock density.

◆ shearViscosityReductionFactor()

const std::vector< double > & Opm::PolymerPropsAd::shearViscosityReductionFactor ( ) const

\ return The viscosity reducation factor in the PLYSHLOG table

◆ shearWaterVelocity()

const std::vector< double > & Opm::PolymerPropsAd::shearWaterVelocity ( ) const

\ return The water velcoity or shear rate in the PLYSHLOG table

◆ shrate()

double Opm::PolymerPropsAd::shrate ( ) const

\ return the value of SHRATE

◆ viscMult() [1/2]

V Opm::PolymerPropsAd::viscMult ( const V c) const

◆ viscMult() [2/2]

double Opm::PolymerPropsAd::viscMult ( double  c) const

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