From 16b68878f7ab5289d4ff60ba5bb310b4d9cd3a40 Mon Sep 17 00:00:00 2001
From: "TESLA03\\Master" <a.wellmann@tu-bs.de>
Date: Fri, 11 Jun 2021 16:32:46 +0200
Subject: [PATCH] fix the grid size for mussel

error introduced in ff49c380d28957bd47115ec69d72866d7a6786fc
---
 apps/gpu/LBM/MusselOyster/MusselOyster.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp
index e7db282b3..2a5246a11 100644
--- a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp
+++ b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp
@@ -114,7 +114,7 @@ void multipleLevel(const std::string& configPath)
 
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-    std::string bivalveType = "OYSTER"; // "MUSSEL" "OYSTER"
+    std::string bivalveType = "MUSSEL"; // "MUSSEL" "OYSTER"
 
     real dx = 0.5;
     real vx = (real)0.005;
@@ -125,7 +125,7 @@ void multipleLevel(const std::string& configPath)
     para->setVelocityRatio(1.0);
 
     para->setTOut(50000);
-    para->setTEnd(200000);
+    para->setTEnd(100000);
 
     para->setCalcDragLift(false);
     para->setUseWale(false);
@@ -163,13 +163,13 @@ void multipleLevel(const std::string& configPath)
         // y = 0, 27
         // z = 0, 63
         
-        const real xSpaceM = 30.0;
+        const real xSpaceM = 40.0;
         const real xSpaceP = 300.0;
         const real ySpaceP = 60.0;
-        const real zSpacePM  = 20.0;
+        const real zSpacePM  = 30.0;
         if (bivalveType == "MUSSEL")
             gridBuilder->addCoarseGrid(-18.0 - xSpaceM,   -16.5,            -5.0 - zSpacePM, 
-                                        58.0 + xSpaceP,   180. + ySpaceP,   13.0 + zSpacePM, dx);
+                                        58.0 + xSpaceP,   18.0 + ySpaceP,   13.0 + zSpacePM, dx);
         else if (bivalveType == "OYSTER")
             gridBuilder->addCoarseGrid(0.0 - xSpaceM,     0.5,              0.0 - zSpacePM, 
                                        115.0 + xSpaceP,   27.0 + ySpaceP,   63.0 + zSpacePM, dx);    
-- 
GitLab