From 971acdad017bad99fd39f8e4c827f6c8482cc619 Mon Sep 17 00:00:00 2001
From: Henry <henry.korb@geo.uu.se>
Date: Thu, 1 Sep 2022 10:56:15 +0200
Subject: [PATCH] fix wrong direction in outflow BC

---
 src/gpu/VirtualFluids_GPU/GPU/LBMKernel.cu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gpu/VirtualFluids_GPU/GPU/LBMKernel.cu b/src/gpu/VirtualFluids_GPU/GPU/LBMKernel.cu
index b63217448..8d877acfb 100644
--- a/src/gpu/VirtualFluids_GPU/GPU/LBMKernel.cu
+++ b/src/gpu/VirtualFluids_GPU/GPU/LBMKernel.cu
@@ -3726,7 +3726,7 @@ void QPressNoRhoDev27(LBMSimulationParameter* parameterDevice, QforBoundaryCondi
          parameterDevice->neighborZ,
          parameterDevice->numberOfNodes,
          parameterDevice->isEvenTimestep,
-         vf::lbm::dir::DIR_M00);
+         vf::lbm::dir::DIR_P00);
    getLastCudaError("QPressNoRhoDevice27 execution failed");
 }
 //////////////////////////////////////////////////////////////////////////
-- 
GitLab