From 012c6f38adc320e455c83f8dc5a26c19cf130a3d Mon Sep 17 00:00:00 2001
From: "TESLA03\\Master" <a.wellmann@tu-bs.de>
Date: Tue, 22 Jun 2021 12:43:13 +0200
Subject: [PATCH] Add bivalvia type to gridPath

(cherry picked from commit 728c8ed00d4cd9d77d1d15a581c90c5930c37ee4)
---
 apps/gpu/LBM/MusselOyster/MusselOyster.cpp | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp
index e208281d9..26a4e3beb 100644
--- a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp
+++ b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp
@@ -67,8 +67,6 @@
 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
-
-
 std::string path("E:/temp/MusselOyster");
 std::string gridPath("E:/temp/GridMussel/");
 std::string simulationName("MusselOyster");
@@ -114,10 +112,11 @@ void multipleLevel(const std::string& configPath)
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     std::string bivalveType = "MUSSEL"; // "MUSSEL" "OYSTER"
+    gridPath                = gridPath + "/" + bivalveType + "/";
 
-    real dx = 0.5;
+    real dx = (real)0.5;
     real vx = (real)0.005;
-    real Re = 50;
+    real Re = (real)50.0;
 
     para->setVelocity(vx);
     para->setViscosity((vx * dx) / Re);
@@ -238,7 +237,7 @@ void multipleLevel(const std::string& configPath)
 
 
 
-       return;
+       //return;
     }
 
         ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-- 
GitLab