mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Bugfix: fix dis/en-abling dissolution in the fluid state.
This affects the gas/water model, which should not have dissolution, to be consistent with definitions of FluidState and ScalarFluidState in the BlackOilIntensiveQuantities class.
This commit is contained in:
@@ -73,6 +73,7 @@ class EclEquilInitializer
|
|||||||
enum { dimWorld = GridView::dimensionworld };
|
enum { dimWorld = GridView::dimensionworld };
|
||||||
enum { enableTemperature = getPropValue<TypeTag, Properties::EnableTemperature>() };
|
enum { enableTemperature = getPropValue<TypeTag, Properties::EnableTemperature>() };
|
||||||
enum { enableEnergy = getPropValue<TypeTag, Properties::EnableEnergy>() };
|
enum { enableEnergy = getPropValue<TypeTag, Properties::EnableEnergy>() };
|
||||||
|
enum { enableDissolution = Indices::compositionSwitchIdx >= 0 };
|
||||||
enum { enableBrine = getPropValue<TypeTag, Properties::EnableBrine>() };
|
enum { enableBrine = getPropValue<TypeTag, Properties::EnableBrine>() };
|
||||||
enum { enableEvaporation = getPropValue<TypeTag, Properties::EnableEvaporation>() };
|
enum { enableEvaporation = getPropValue<TypeTag, Properties::EnableEvaporation>() };
|
||||||
enum { enableSaltPrecipitation = getPropValue<TypeTag, Properties::EnableSaltPrecipitation>() };
|
enum { enableSaltPrecipitation = getPropValue<TypeTag, Properties::EnableSaltPrecipitation>() };
|
||||||
@@ -84,7 +85,7 @@ public:
|
|||||||
FluidSystem,
|
FluidSystem,
|
||||||
enableTemperature,
|
enableTemperature,
|
||||||
enableEnergy,
|
enableEnergy,
|
||||||
Indices::gasEnabled,
|
enableDissolution,
|
||||||
enableEvaporation,
|
enableEvaporation,
|
||||||
enableBrine,
|
enableBrine,
|
||||||
enableSaltPrecipitation,
|
enableSaltPrecipitation,
|
||||||
|
|||||||
Reference in New Issue
Block a user