Opm::PolymerPropsAd Class Reference

List of all members.

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
const std::vector< double > & shearViscosityReductionFactor () const
 \ return The viscosity reducation factor in the PLYSHLOG table
double plyshlogRefConc () const
 \ return The reference polymer concentration for PLYSHLOG table
bool hasPlyshlogRefSalinity () const
 \ return The flag indicating if reference salinity is specified in PLYSHLOG keyword
bool hasPlyshlogRefTemp () const
 \ return The flag indicating if reference temperature is specified in PLYSHLOG keyword
double plyshlogRefSalinity () const
 \ return The reference salinity in PLYSHLOG keyword
double plyshlogRefTemp () const
 \ return The reference temperature in PLYSHLOG keyword
double shrate () const
 \ return the value of SHRATE
double viscMult (double c) const
viscMult (const V &c) const
ADB viscMult (const ADB &c) const
 PolymerPropsAd (const PolymerProperties &polymer_props)
 Constructor wrapping a polymer props.
 ~PolymerPropsAd ()
 Destructor.
effectiveInvWaterVisc (const V &c, const V &mu_w) const
ADB effectiveInvWaterVisc (const ADB &c, const V &mu_w) const
ADB effectiveInvPolymerVisc (const ADB &c, const V &mu_w) const
polymerWaterVelocityRatio (const V &c) const
ADB polymerWaterVelocityRatio (const ADB &c) const
adsorption (const V &c, const V &cmax_cells) const
ADB adsorption (const ADB &c, const ADB &cmax_cells) const
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 Function Documentation

ADB Opm::PolymerPropsAd::adsorption ( const ADB c,
const ADB cmax_cells 
) const
Parameters:
[in] c Array of n polymer concentraion values.
[in] cmax_cells Array of n polymer concentraion values that the cell experienced.
Returns:
Array of n adsorption values.
V Opm::PolymerPropsAd::adsorption ( const V &  c,
const V &  cmax_cells 
) const
Parameters:
[in] c Array of n polymer concentraion values.
[in] cmax_cells Array of n polymer concentraion values that the cell experienced.
Returns:
Array of n adsorption values.
double Opm::PolymerPropsAd::cMax (  )  const
Returns:
The max concentration injected.
bool Opm::PolymerPropsAd::computeShearMultLog ( std::vector< double > &  water_vel,
std::vector< double > &  visc_mult,
std::vector< double > &  shear_mult 
) const
Parameters:
[in] water_vel Array of the n values of water velocity or shear rate.
[in] visc_mult Array of the n values of the viscosity multiplier from PLYVISC table. [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.
double Opm::PolymerPropsAd::deadPoreVol (  )  const
Returns:
The value of dead pore volume.
ADB Opm::PolymerPropsAd::effectiveInvPolymerVisc ( const ADB c,
const V &  mu_w 
) const
Parameters:
[in] c ADB of polymer concentraion values.
[in] mu_w Array of water viscosity values
Returns:
ADB of inverse effective polymer viscosity.
ADB Opm::PolymerPropsAd::effectiveInvWaterVisc ( const ADB c,
const V &  mu_w 
) const
Parameters:
[in] c ADB of polymer concentraion.
[in] mu_w Array of water viscosity value.
Returns:
ADB of inverse effective water viscosity.
V Opm::PolymerPropsAd::effectiveInvWaterVisc ( const V &  c,
const V &  mu_w 
) const
Parameters:
[in] c Array of n polymer concentraion values.
[in] mu_w Array of n water viscosity values.
Returns:
Array of inverse effective water viscosity.
ADB Opm::PolymerPropsAd::effectiveRelPerm ( const ADB c,
const ADB cmax_cells,
const ADB krw 
) const
Parameters:
[in] c Array of n polymer concentraion values.
[in] cmax_cells Array of n polymer concentraion values that the cell experienced.
[in] relperm Array of n relative water relperm values.
Returns:
Array of n adsorption values.
V Opm::PolymerPropsAd::effectiveRelPerm ( const V &  c,
const V &  cmax_cells,
const V &  relperm 
) const
Parameters:
[in] c Array of n polymer concentraion values.
[in] cmax_cells Array of n polymer concentraion values that the cell experienced.
[in] relperm Array of n relative water relperm values.
Returns:
Array of n adsorption values.
ADB Opm::PolymerPropsAd::polymerWaterVelocityRatio ( const ADB c  )  const
Parameters:
[in] c Array of n polymer concentraion values.
Returns:
Array of n mc values, here mc means m(c) * c.
V Opm::PolymerPropsAd::polymerWaterVelocityRatio ( const V &  c  )  const
Parameters:
[in] c Array of n polymer concentraion values.
Returns:
Array of n mc values, here mc means m(c) * c.
double Opm::PolymerPropsAd::rockDensity (  )  const
Returns:
Reference rock density.
ADB Opm::PolymerPropsAd::viscMult ( const ADB c  )  const
Parameters:
[in] c Array of n polymer concentraion values.
Returns:
Array of n viscosity multiplier from PLVISC table.

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

Generated on 26 Mar 2018 by  doxygen 1.6.1