From 7ef9f4b2b647703c5008a549cb60878b32de98dd Mon Sep 17 00:00:00 2001 From: "TESLA03\\Master" <a.wellmann@tu-bs.de> Date: Wed, 30 Jun 2021 12:36:48 +0200 Subject: [PATCH] Fix gridPath --- apps/gpu/LBM/MusselOyster/MusselOyster.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp index dd15b0c0c..5c7613b92 100644 --- a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp +++ b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp @@ -68,7 +68,7 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// std::string path("E:/temp/MusselOyster"); -std::string gridPath("E:/temp/GridMussel/"); +std::string gridPathParent = "E:/temp/GridMussel/"; std::string simulationName("MusselOyster"); //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -107,12 +107,12 @@ void multipleLevel(const std::string& configPath) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// SPtr<Parameter> para = Parameter::make(configData, comm); - bool useGridGenerator = false; + bool useGridGenerator = true; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// std::string bivalveType = "MUSSEL"; // "MUSSEL" "OYSTER" - gridPath = gridPath + "/" + bivalveType + "/"; + std::string gridPath(gridPathParent + "/" + bivalveType + "/"); real dxGrid = (real)1.0; real vxLB = (real)0.051; // LB units @@ -176,7 +176,7 @@ void multipleLevel(const std::string& configPath) const real xGridMin = bbxm - 40.0; const real xGridMax = bbxp + 250.0; - const real yGridMin = bbym + 0.5; + const real yGridMin = bbym + 1.0; const real yGridMax = bbyp + 60.0; const real zGridMin = bbzm - 30.0; const real zGridMax = bbzp + 30.0; -- GitLab