mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06: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:
parent
616b145469
commit
b9e157e3f5
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user