diff --git a/dumux/porousmediumflow/1p/implicit/model.hh b/dumux/porousmediumflow/1p/implicit/model.hh index fa027873425a1f3320e97639d4b29c32e3b7b80b..880827d995473b215e4b21e1f8ddf4f40d9248fa 100644 --- a/dumux/porousmediumflow/1p/implicit/model.hh +++ b/dumux/porousmediumflow/1p/implicit/model.hh @@ -130,7 +130,10 @@ public: } // velocity output - velocityOutput.calculateVelocity(*velocity, elemVolVars, fvGeometry, element, /*phaseIdx=*/0); + if (velocityOutput.enableOutput()) + { + velocityOutput.calculateVelocity(*velocity, elemVolVars, fvGeometry, element, /*phaseIdx=*/0); + } } }