Skip to content
Snippets Groups Projects
Commit 61fe3ac3 authored by Henrik Asmuth's avatar Henrik Asmuth
Browse files

added refinement in DrivenCavity

parent d5ddb0a3
No related branches found
No related tags found
1 merge request!143Experimental merge
......@@ -126,6 +126,11 @@ void multipleLevel(const std::string& configPath)
gridBuilder->addCoarseGrid(-0.5 * L, -0.5 * L, -0.5 * L,
0.5 * L, 0.5 * L, 0.5 * L, dx);
gridBuilder->setNumberOfLayers(12, 8);
gridBuilder->addGrid( new Cuboid( -0.1 * L, -0.1 * L, -0.1 * L,
0.1 * L , 0.1 * L, 0.1 * L), 1);
gridBuilder->setPeriodicBoundaryCondition(false, false, false);
gridBuilder->buildGrids(lbmOrGks, false); // buildGrids() has to be called before setting the BCs!!!!
......@@ -172,7 +177,7 @@ void multipleLevel(const std::string& configPath)
para->setPrintFiles(true);
para->setMaxLevel(1);
para->setMaxLevel(2);
para->setVelocity(velocityLB);
para->setViscosity(viscosityLB);
......
......@@ -31,7 +31,7 @@ IF (BUILD_VF_GPU)
#add_subdirectory(targets/apps/LBM/BaselNU)
#add_subdirectory(targets/apps/LBM/BaselMultiGPU)
#add_subdirectory(apps/gpu/LBM/DrivenCavity)
add_subdirectory(apps/gpu/LBM/DrivenCavity)
add_subdirectory(apps/gpu/LBM/WTG_RUB)
#add_subdirectory(apps/gpu/LBM/gridGeneratorTest)
#add_subdirectory(apps/gpu/LBM/TGV_3D)
......@@ -130,4 +130,4 @@ endif()
if(BUILD_VF_TRAFFIC)
add_subdirectory(src/gpu/Traffic)
add_subdirectory(apps/gpu/LBM/TrafficTest)
endif()
\ No newline at end of file
endif()
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