diff --git a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp index 5c7613b926839fd45f100f69e679efd6142b6a93..b59743c621ab3da1cec225ac79d6dd747862a9e1 100644 --- a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp +++ b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp @@ -69,7 +69,7 @@ std::string path("E:/temp/MusselOyster"); std::string gridPathParent = "E:/temp/GridMussel/"; -std::string simulationName("MusselOyster"); +std::string simulationName("MusselOysterTestNewBC"); //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -112,7 +112,7 @@ void multipleLevel(const std::string& configPath) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// std::string bivalveType = "MUSSEL"; // "MUSSEL" "OYSTER" - std::string gridPath(gridPathParent + "/" + bivalveType + "/"); + std::string gridPath(gridPathParent + "/" + bivalveType + "/"); // only for GridGenerator, for GridReader the gridPath needs to be set in the config file real dxGrid = (real)1.0; real vxLB = (real)0.051; // LB units @@ -181,13 +181,13 @@ void multipleLevel(const std::string& configPath) const real zGridMin = bbzm - 30.0; const real zGridMax = bbzp + 30.0; + gridBuilder->addCoarseGrid(xGridMin, yGridMin, zGridMin, xGridMax, yGridMax, zGridMax, dxGrid); gridBuilder->setNumberOfLayers(6, 8); gridBuilder->addGrid(bivalveRef_1_STL, 1); gridBuilder->addGeometry(bivalveSTL); gridBuilder->setPeriodicBoundaryCondition(false, false, true); - gridBuilder->addCoarseGrid(xGridMin, yGridMin, zGridMin, xGridMax, yGridMax, zGridMax, dxGrid); gridBuilder->buildGrids(LBM, true); // buildGrids() has to be called before setting the BCs!!!! ////////////////////////////////////////////////////////////////////////// diff --git a/apps/gpu/LBM/MusselOyster/configMusselOyster.txt b/apps/gpu/LBM/MusselOyster/configMusselOyster.txt index 52ee1fe70285abb99d55dd72704674e1dba9f981..cbef5687ad631db6972c31e2cf03b9b5e675b043 100644 --- a/apps/gpu/LBM/MusselOyster/configMusselOyster.txt +++ b/apps/gpu/LBM/MusselOyster/configMusselOyster.txt @@ -14,7 +14,7 @@ ################################################## #informations for reading ################################################## -GridPath="E:/temp/GridMussel" +GridPath="E:/temp/GridMussel/MUSSEL" #GridPath="C:" ##################################################