All Classes Namespaces Files Functions Variables Typedefs Enumerator Pages
Opm::SolventPropsAdFromDeck Class Reference

Public Types

typedef AutoDiffBlock< double > ADB
 
typedef ADB::V V
 
typedef std::vector< int > Cells
 

Public Member Functions

 SolventPropsAdFromDeck (const Deck &deck, const EclipseState &eclipseState, const int number_of_cells, const int *global_cell)
 
ADB bSolvent (const ADB &pg, const Cells &cells) const
 Solvent formation volume factor. More...
 
ADB muSolvent (const ADB &pg, const Cells &cells) const
 Solvent viscosity. More...
 
ADB gasRelPermMultiplier (const ADB &solventFraction, const Cells &cells) const
 Gas relPerm multipliers. More...
 
ADB solventRelPermMultiplier (const ADB &solventFraction, const Cells &cells) const
 Solvent relPerm multipliers. More...
 
ADB misicibleHydrocarbonWaterRelPerm (const ADB &Sn, const Cells &cells) const
 Miscible hydrocrabon relPerm wrt water. More...
 
ADB miscibleSolventGasRelPermMultiplier (const ADB &Ssg, const Cells &cells) const
 Miscible Solvent + Gas relPerm multiplier. More...
 
ADB miscibleOilRelPermMultiplier (const ADB &So, const Cells &cells) const
 Miscible Oil relPerm multiplier. More...
 
ADB miscibilityFunction (const ADB &solventFraction, const Cells &cells) const
 Miscible function. More...
 
ADB pressureMiscibilityFunction (const ADB &po, const Cells &cells) const
 Pressure dependent miscibility function. More...
 
ADB miscibleCriticalGasSaturationFunction (const ADB &Sw, const Cells &cells) const
 Miscible critical gas saturation function. More...
 
ADB miscibleResidualOilSaturationFunction (const ADB &Sw, const Cells &cells) const
 Miscible residual oil saturation function. More...
 
solventSurfaceDensity (const Cells &cells) const
 Solvent surface density. More...
 
mixingParameterViscosity (const Cells &cells) const
 Todd-Longstaff mixing parameter for viscosity calculation. More...
 
mixingParameterDensity (const Cells &cells) const
 Todd-Longstaff mixing parameter for density calculation. More...
 
ADB pressureMixingParameter (const ADB &po, const Cells &cells) const
 Todd-Longstaff pressure dependent mixing parameter. More...
 

Member Function Documentation

ADB Opm::SolventPropsAdFromDeck::bSolvent ( const ADB pg,
const Cells &  cells 
) const

Solvent formation volume factor.

Parameters
[in]pgArray of n gas pressure values.
[in]cellsArray of n cell indices to be associated with the pressure values.
Returns
Array of n formation volume factor values.
ADB Opm::SolventPropsAdFromDeck::gasRelPermMultiplier ( const ADB solventFraction,
const Cells &  cells 
) const

Gas relPerm multipliers.

Parameters
[in]gasFractionArray of n gas fraction Sg / (sg + Ss) values.
[in]cellsArray of n cell indices to be associated with the fraction values.
Returns
Array of n gas relPerm multiplier values.
ADB Opm::SolventPropsAdFromDeck::miscibilityFunction ( const ADB solventFraction,
const Cells &  cells 
) const

Miscible function.

Parameters
[in]solventFractionArray of n solvent fraction Ss / (Sg + Ss) values.
[in]cellsArray of n cell indices to be associated with the fraction values.
Returns
Array of n miscibility values
ADB Opm::SolventPropsAdFromDeck::miscibleCriticalGasSaturationFunction ( const ADB Sw,
const Cells &  cells 
) const

Miscible critical gas saturation function.

Parameters
[in]SwArray of n water saturation values.
[in]cellsArray of n cell indices to be associated with the saturation values.
Returns
Array of n miscible critical gas saturation values
ADB Opm::SolventPropsAdFromDeck::miscibleOilRelPermMultiplier ( const ADB So,
const Cells &  cells 
) const

Miscible Oil relPerm multiplier.

Parameters
[in]SoArray of n oil fraction values. Soil / Sn values, where Sn = Sgas + Ssolvent + Soil.
[in]cellsArray of n cell indices to be associated with the fraction values.
Returns
Array of n oil relperm multiplier.
ADB Opm::SolventPropsAdFromDeck::miscibleResidualOilSaturationFunction ( const ADB Sw,
const Cells &  cells 
) const

Miscible residual oil saturation function.

Parameters
[in]SwArray of n water saturation values.
[in]cellsArray of n cell indices to be associated with the saturation values.
Returns
Array of n miscible residual oil saturation values
ADB Opm::SolventPropsAdFromDeck::miscibleSolventGasRelPermMultiplier ( const ADB Ssg,
const Cells &  cells 
) const

Miscible Solvent + Gas relPerm multiplier.

Parameters
[in]SsgArray of n total gas fraction (Sgas + Ssolvent) / Sn values, where Sn = Sgas + Ssolvent + Soil.
[in]cellsArray of n cell indices to be associated with the fraction values.
Returns
Array of n solvent gas relperm multiplier.
ADB Opm::SolventPropsAdFromDeck::misicibleHydrocarbonWaterRelPerm ( const ADB Sn,
const Cells &  cells 
) const

Miscible hydrocrabon relPerm wrt water.

Parameters
[in]SnArray of n total hyrdrocarbon saturation values.
[in]cellsArray of n cell indices to be associated with the fraction values.
Returns
Array of n miscible hyrdrocabon wrt water relPerm values.
V Opm::SolventPropsAdFromDeck::mixingParameterDensity ( const Cells &  cells) const

Todd-Longstaff mixing parameter for density calculation.

Parameters
[in]cellsArray of n cell indices to be associated with the fraction values. return Array of n mixing paramters for density calculation
V Opm::SolventPropsAdFromDeck::mixingParameterViscosity ( const Cells &  cells) const

Todd-Longstaff mixing parameter for viscosity calculation.

Parameters
[in]cellsArray of n cell indices to be associated with the fraction values. return Array of n mixing paramters for viscosity calculation
ADB Opm::SolventPropsAdFromDeck::muSolvent ( const ADB pg,
const Cells &  cells 
) const

Solvent viscosity.

Parameters
[in]pgArray of n gas pressure values.
[in]cellsArray of n cell indices to be associated with the pressure values.
Returns
Array of n viscosity values.
ADB Opm::SolventPropsAdFromDeck::pressureMiscibilityFunction ( const ADB po,
const Cells &  cells 
) const

Pressure dependent miscibility function.

Parameters
[in]solventFractionArray of n oil phase pressure .
[in]cellsArray of n cell indices to be associated with the pressure values.
Returns
Array of n miscibility values
ADB Opm::SolventPropsAdFromDeck::pressureMixingParameter ( const ADB po,
const Cells &  cells 
) const

Todd-Longstaff pressure dependent mixing parameter.

Parameters
[in]poArray of n oil pressure values
[in]cellsArray of n cell indices to be associated with the fraction values. return Array of n pressure dependent mixing paramters
ADB Opm::SolventPropsAdFromDeck::solventRelPermMultiplier ( const ADB solventFraction,
const Cells &  cells 
) const

Solvent relPerm multipliers.

Parameters
[in]solventFractionArray of n solvent fraction Ss / (Sg + Ss) values.
[in]cellsArray of n cell indices to be associated with the fraction values.
Returns
Array of n solvent relPerm multiplier values.
V Opm::SolventPropsAdFromDeck::solventSurfaceDensity ( const Cells &  cells) const

Solvent surface density.

Parameters
[in]cellsArray of n cell indices to be associated with the fraction values.
Returns
Array of n solvent density values.

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