enable rockcomp in flow

This commit is contained in:
Tor Harald Sandve 2019-10-08 15:50:27 +02:00
parent 596cb21e20
commit 73692f2276

View File

@ -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<Evaluation>(*this, globalSpaceIdx);
// deal with water induced rock compaction
porosity_ *= problem.template rockCompPoroMultiplier<Evaluation>(*this, globalSpaceIdx);
asImp_().solventPvtUpdate_(elemCtx, dofIdx, timeIdx);
asImp_().polymerPropertiesUpdate_(elemCtx, dofIdx, timeIdx);