diff --git a/apps/showcases/Antidunes/Antidunes.cpp b/apps/showcases/Antidunes/Antidunes.cpp
index ce99f3d5e07d42259de1d24c7488cf61bcb7c1fc..54a19f5568a2580d5ce7f0847fac9d36da356721 100644
--- a/apps/showcases/Antidunes/Antidunes.cpp
+++ b/apps/showcases/Antidunes/Antidunes.cpp
@@ -1123,7 +1123,7 @@ int main(int argc, char** argv)
 
    // add sweep for evaluating the fluid's mean velocity
    const std::shared_ptr< Vector3< real_t > > meanVelocity = std::make_shared< Vector3< real_t > >(real_c(0));
-   const real_t velocityAveragingFactor                    = 1_r / (liquidHeight * real_c(domainSize[0]) * real_c(domainSize[1]));
+   const real_t velocityAveragingFactor                    = 1_r / (h * real_c(domainSize[0]) * real_c(domainSize[1]));
    MeanVelocityComputer< AntidunesBoundaryHandling_T, PdfField_T, FlagField_T > meanVelocityComputer(
       blockForest, antidunesBoundaryHandling, pdfFieldID, meanVelocity, velocityAveragingFactor);
    //timeloop.addFuncAfterTimeStep(meanVelocityComputer, "Evaluator: mean velocity");