From 9478e8d03d371da6b53dd482f311fa9e179ad06f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ove=20S=C3=A6vareid?= Date: Wed, 9 Jun 2021 16:39:01 +0200 Subject: [PATCH] Remove injector crossflow from tracer production. --- ebos/ecltracermodel.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebos/ecltracermodel.hh b/ebos/ecltracermodel.hh index a606ebda0..8eecd3c69 100644 --- a/ebos/ecltracermodel.hh +++ b/ebos/ecltracermodel.hh @@ -447,7 +447,7 @@ protected: const size_t cartIdx = simulator_.vanguard().cartesianIndex(cartesianCoordinate); const int I = this->cartToGlobal_[cartIdx]; Scalar rate = simulator_.problem().wellModel().well(well.name())->volumetricSurfaceRateForConnection(I, tr.phaseIdx_); - if (rate < 0) { //Injection rates already reported during assembly + if (rate < 0 && well.isProducer()) { //Injection rates already reported during assembly for (int tIdx =0; tIdx < tr.numTracer(); ++tIdx) { this->wellTracerRate_.at(std::make_pair(well.name(),this->tracerNames_[tr.idx_[tIdx]])) += rate*tr.concentration_[tIdx][I]; }