From a5aacfa5d18bb3b88ca237e3b925ae427f370dbd Mon Sep 17 00:00:00 2001
From: Anna Wellmann <a.wellmann@tu-bs.de>
Date: Mon, 16 May 2022 17:32:51 +0200
Subject: [PATCH] Setup Mussel for ParCFD 2022 on Phoenix

---
 apps/gpu/LBM/MusselOyster/MusselOyster.cpp    | 20 +++++++++----------
 .../LBM/MusselOyster/configPhoenix8GPU.txt    |  4 ++--
 gpu.cmake                                     |  5 +++--
 3 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp
index 5327147f3..7fc9cd5db 100644
--- a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp
+++ b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp
@@ -66,23 +66,23 @@
 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
-//  Tesla 03
+// Tesla 03
 // std::string outPath("E:/temp/MusselOysterResults/");
 // std::string gridPathParent = "E:/temp/GridMussel/";
 // std::string stlPath("C:/Users/Master/Documents/MasterAnna/STL/");
 // std::string simulationName("MusselOyster");
 
-//  Aragorn
-std::string outPath("/workspaces/VirtualFluids_dev/output/MusselOysterResults/");
-std::string gridPathParent = "/workspaces/VirtualFluids_dev/output/MusselOysterResults/grid/";
-std::string stlPath("/workspaces/VirtualFluids_dev/STL/MusselOyster/");
-std::string simulationName("MusselOyster");
+// Aragorn
+// std::string outPath("/workspaces/VirtualFluids_dev/output/MusselOysterResults/");
+// std::string gridPathParent = "/workspaces/VirtualFluids_dev/output/MusselOysterResults/grid/";
+// std::string stlPath("/workspaces/VirtualFluids_dev/stl/MusselOyster/");
+// std::string simulationName("MusselOyster");
 
 // Phoenix
-// std::string outPath("/work/y0078217/Results/MusselOysterResults/");
-// std::string gridPathParent = "/work/y0078217/Grids/GridMusselOyster/";
-// std::string stlPath("/home/y0078217/STL/MusselOyster/");
-// std::string simulationName("MusselOyster");
+std::string outPath("/work/y0078217/Results/MusselOysterResults/");
+std::string gridPathParent = "/work/y0078217/Grids/GridMusselOyster/";
+std::string stlPath("/home/y0078217/STL/MusselOyster/");
+std::string simulationName("MusselOyster");
 
 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/apps/gpu/LBM/MusselOyster/configPhoenix8GPU.txt b/apps/gpu/LBM/MusselOyster/configPhoenix8GPU.txt
index 7617307f3..f9014e63a 100644
--- a/apps/gpu/LBM/MusselOyster/configPhoenix8GPU.txt
+++ b/apps/gpu/LBM/MusselOyster/configPhoenix8GPU.txt
@@ -31,8 +31,8 @@ GridPath=/work/y0078217/Grids/GridMusselOyster/Mussel8GPU/
 ##################################################
 #simulation parameter
 ##################################################
-TimeEnd=10000 # 800000
-TimeOut=10000 # 400000
+TimeEnd=800000 # 800000
+TimeOut=200000 # 400000
 #TimeStartOut=0
 
 ##################################################
diff --git a/gpu.cmake b/gpu.cmake
index ba0e0b3e8..26eafd6ac 100644
--- a/gpu.cmake
+++ b/gpu.cmake
@@ -45,8 +45,9 @@ IF (BUILD_VF_GPU)
     #add_subdirectory(apps/gpu/LBM/TGV_3D)
     #add_subdirectory(apps/gpu/LBM/TGV_3D_MultiGPU)
 	#add_subdirectory(apps/gpu/LBM/SphereScaling)
-	#add_subdirectory(apps/gpu/LBM/MusselOyster)
-    add_subdirectory(apps/gpu/LBM/DrivenCavityMultiGPU)
+    #add_subdirectory(apps/gpu/LBM/DrivenCavityMultiGPU)
+	add_subdirectory(apps/gpu/LBM/MusselOyster)
+    # add_subdirectory(apps/gpu/LBM/Poiseuille)
 ELSE()
     MESSAGE( STATUS "exclude Virtual Fluids GPU." )
 ENDIF()
-- 
GitLab