From 4220ad8215ce7f57bd2b84f28773a9f85c1033fc Mon Sep 17 00:00:00 2001 From: Anna Wellmann <a.wellmann@tu-bs.de> Date: Mon, 29 Nov 2021 17:23:00 +0100 Subject: [PATCH] Setup configs for MusselOyster --- apps/gpu/LBM/MusselOyster/MusselOyster.cpp | 9 +++++---- apps/gpu/LBM/MusselOyster/configPhoenix1GPU.txt | 8 ++++---- apps/gpu/LBM/MusselOyster/configPhoenix2GPU.txt | 4 ++-- apps/gpu/LBM/MusselOyster/configPhoenix4GPU.txt | 4 ++-- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp index f593891f3..ad6dfaff0 100644 --- a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp +++ b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp @@ -117,9 +117,9 @@ void multipleLevel(const std::string& configPath) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// bool useGridGenerator = true; - bool useStreams = false; + bool useStreams = true; bool useLevels = true; - para->useReducedCommunicationAfterFtoC = false; + para->useReducedCommunicationAfterFtoC = true; para->setCalcTurbulenceIntensity(true); if (para->getNumprocs() == 1) { @@ -155,6 +155,7 @@ void multipleLevel(const std::string& configPath) para->setViscosityRatio((real) 0.058823529); para->setDensityRatio((real) 998.0); + *logging::out << logging::Logger::INFO_HIGH << "bivalveType = " << bivalveType << " \n"; *logging::out << logging::Logger::INFO_HIGH << "velocity LB [dx/dt] = " << vxLB << " \n"; *logging::out << logging::Logger::INFO_HIGH << "viscosity LB [dx^2/dt] = " << viscosityLB << "\n"; *logging::out << logging::Logger::INFO_HIGH << "velocity real [m/s] = " << vxLB * para->getVelocityRatio()<< " \n"; @@ -229,8 +230,8 @@ void multipleLevel(const std::string& configPath) const real xGridMax = 600.0; // 540.0 const real yGridMin = 1.0; // 1.0; const real yGridMax = 500.0; // 440.0; - const real zGridMin = -80; // -70; - const real zGridMax = 110.0; // 100; + const real zGridMin = -70; // -70; + const real zGridMax = 100.0; // 100; TriangularMesh *bivalveSTL = TriangularMesh::make(stlPath + bivalveType + ".stl"); TriangularMesh *bivalveRef_1_STL = nullptr; diff --git a/apps/gpu/LBM/MusselOyster/configPhoenix1GPU.txt b/apps/gpu/LBM/MusselOyster/configPhoenix1GPU.txt index 4506dc46e..3b703d6e4 100644 --- a/apps/gpu/LBM/MusselOyster/configPhoenix1GPU.txt +++ b/apps/gpu/LBM/MusselOyster/configPhoenix1GPU.txt @@ -7,14 +7,14 @@ NumberOfDevices=1 ################################################## #informations for Writing ################################################## -Path=/work/y0078217/Results/MusselOysterResults/1GPU/ +Path=/work/y0078217/Results/MusselOysterResults/1GPUMussel2/ #Path="F:/Work/Computations/out/MusselOyster/" #Prefix="MusselOyster" #WriteGrid=true ################################################## #informations for reading ################################################## -GridPath=/work/y0078217/Grids/GridMusselOyster/MUSSEL1GPU/ +GridPath=/work/y0078217/Grids/GridMusselOyster/Mussel1GPU/ #GridPath="C:" ################################################## @@ -31,6 +31,6 @@ GridPath=/work/y0078217/Grids/GridMusselOyster/MUSSEL1GPU/ ################################################## #simulation parameter ################################################## -TimeEnd=50000 -TimeOut=500000 +TimeEnd=500000 +TimeOut=100000 #TimeStartOut=0 \ No newline at end of file diff --git a/apps/gpu/LBM/MusselOyster/configPhoenix2GPU.txt b/apps/gpu/LBM/MusselOyster/configPhoenix2GPU.txt index 48fb6f29b..d05fe3cb7 100644 --- a/apps/gpu/LBM/MusselOyster/configPhoenix2GPU.txt +++ b/apps/gpu/LBM/MusselOyster/configPhoenix2GPU.txt @@ -31,6 +31,6 @@ GridPath=/work/y0078217/Grids/GridMusselOyster/MUSSEL2GPU/ ################################################## #simulation parameter ################################################## -TimeEnd=10000 -TimeOut=1000 +TimeEnd=500000 +TimeOut=100000 #TimeStartOut=0 \ No newline at end of file diff --git a/apps/gpu/LBM/MusselOyster/configPhoenix4GPU.txt b/apps/gpu/LBM/MusselOyster/configPhoenix4GPU.txt index db04c7e19..052843467 100644 --- a/apps/gpu/LBM/MusselOyster/configPhoenix4GPU.txt +++ b/apps/gpu/LBM/MusselOyster/configPhoenix4GPU.txt @@ -31,6 +31,6 @@ GridPath=/work/y0078217/Grids/GridMusselOyster/MUSSEL4GPU/ ################################################## #simulation parameter ################################################## -TimeEnd=10000 -TimeOut=1000 +TimeEnd=500000 +TimeOut=100000 #TimeStartOut=0 \ No newline at end of file -- GitLab