From 73692f2276c00e72f023e7aa0b2c629585688539 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Tue, 8 Oct 2019 15:50:27 +0200 Subject: [PATCH] enable rockcomp in flow --- opm/models/blackoil/blackoilintensivequantities.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/opm/models/blackoil/blackoilintensivequantities.hh b/opm/models/blackoil/blackoilintensivequantities.hh index 15b3b819c..eb86a2b88 100644 --- a/opm/models/blackoil/blackoilintensivequantities.hh +++ b/opm/models/blackoil/blackoilintensivequantities.hh @@ -77,7 +77,6 @@ class BlackOilIntensiveQuantities enum { enableFoam = GET_PROP_VALUE(TypeTag, EnableFoam) }; enum { enableTemperature = GET_PROP_VALUE(TypeTag, EnableTemperature) }; enum { enableEnergy = GET_PROP_VALUE(TypeTag, EnableEnergy) }; - enum { enableExperiments = GET_PROP_VALUE(TypeTag, EnableExperiments) }; enum { numPhases = GET_PROP_VALUE(TypeTag, NumPhases) }; enum { numComponents = GET_PROP_VALUE(TypeTag, NumComponents) }; enum { waterCompIdx = FluidSystem::waterCompIdx }; @@ -342,9 +341,8 @@ public: porosity_ *= 1.0 + x + 0.5*x*x; } - if (enableExperiments) - // deal with water induced rock compaction - porosity_ *= problem.template rockCompPoroMultiplier(*this, globalSpaceIdx); + // deal with water induced rock compaction + porosity_ *= problem.template rockCompPoroMultiplier(*this, globalSpaceIdx); asImp_().solventPvtUpdate_(elemCtx, dofIdx, timeIdx); asImp_().polymerPropertiesUpdate_(elemCtx, dofIdx, timeIdx);