Skip to content
Snippets Groups Projects
Commit 012c6f38 authored by TESLA03\Master's avatar TESLA03\Master
Browse files

Add bivalvia type to gridPath

(cherry picked from commit 728c8ed00d4cd9d77d1d15a581c90c5930c37ee4)
parent 89e6d3e4
No related branches found
No related tags found
1 merge request!104Add Communication Hiding to GPU version
...@@ -67,8 +67,6 @@ ...@@ -67,8 +67,6 @@
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
std::string path("E:/temp/MusselOyster"); std::string path("E:/temp/MusselOyster");
std::string gridPath("E:/temp/GridMussel/"); std::string gridPath("E:/temp/GridMussel/");
std::string simulationName("MusselOyster"); std::string simulationName("MusselOyster");
...@@ -114,10 +112,11 @@ void multipleLevel(const std::string& configPath) ...@@ -114,10 +112,11 @@ void multipleLevel(const std::string& configPath)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
std::string bivalveType = "MUSSEL"; // "MUSSEL" "OYSTER" std::string bivalveType = "MUSSEL"; // "MUSSEL" "OYSTER"
gridPath = gridPath + "/" + bivalveType + "/";
real dx = 0.5; real dx = (real)0.5;
real vx = (real)0.005; real vx = (real)0.005;
real Re = 50; real Re = (real)50.0;
para->setVelocity(vx); para->setVelocity(vx);
para->setViscosity((vx * dx) / Re); para->setViscosity((vx * dx) / Re);
...@@ -238,7 +237,7 @@ void multipleLevel(const std::string& configPath) ...@@ -238,7 +237,7 @@ void multipleLevel(const std::string& configPath)
return; //return;
} }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment