mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
addd simple salt/brine implementation
This commit is contained in:
committed by
Tor Harald Sandve
parent
d20bec2f71
commit
5749615bd8
@@ -98,11 +98,13 @@ namespace Opm
|
||||
// flag for polymer molecular weight related
|
||||
static const bool has_polymermw = GET_PROP_VALUE(TypeTag, EnablePolymerMW);
|
||||
static const bool has_foam = GET_PROP_VALUE(TypeTag, EnableFoam);
|
||||
static const bool has_salt = GET_PROP_VALUE(TypeTag, EnableSaltWater);
|
||||
static const int contiSolventEqIdx = Indices::contiSolventEqIdx;
|
||||
static const int contiPolymerEqIdx = Indices::contiPolymerEqIdx;
|
||||
// index for the polymer molecular weight continuity equation
|
||||
static const int contiPolymerMWEqIdx = Indices::contiPolymerMWEqIdx;
|
||||
static const int contiFoamEqIdx = Indices::contiFoamEqIdx;
|
||||
static const int contiSaltWaterEqIdx = Indices::contiSaltWaterEqIdx;
|
||||
|
||||
// For the conversion between the surface volume rate and reservoir voidage rate
|
||||
using RateConverterType = RateConverter::
|
||||
@@ -113,6 +115,7 @@ namespace Opm
|
||||
has_temperature,
|
||||
has_energy,
|
||||
compositionSwitchEnabled,
|
||||
has_salt,
|
||||
Indices::numPhases >;
|
||||
/// Constructor
|
||||
WellInterface(const Well& well, const int time_step,
|
||||
@@ -385,6 +388,8 @@ namespace Opm
|
||||
|
||||
double wfoam() const;
|
||||
|
||||
double wsalt() const;
|
||||
|
||||
bool checkRateEconLimits(const WellEconProductionLimits& econ_production_limits,
|
||||
const WellState& well_state,
|
||||
Opm::DeferredLogger& deferred_logger) const;
|
||||
|
||||
Reference in New Issue
Block a user