From 921e9ee3e20d411e19a8762c4cc0dbf3aae80fef Mon Sep 17 00:00:00 2001 From: Kutscher <kutscher@irmb.tu-bs.de> Date: Tue, 13 Dec 2022 15:00:28 +0100 Subject: [PATCH] fix warnings --- apps/cpu/Applications.cmake | 11 ++++++++--- apps/cpu/JetBreakup/JetBreakup.cpp | 2 +- apps/cpu/RisingBubble2D/RisingBubble2D.cpp | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/apps/cpu/Applications.cmake b/apps/cpu/Applications.cmake index 71648d1fd..68dfeb3ed 100644 --- a/apps/cpu/Applications.cmake +++ b/apps/cpu/Applications.cmake @@ -11,10 +11,15 @@ add_subdirectory(${APPS_ROOT_CPU}/LaminarTubeFlow) add_subdirectory(${APPS_ROOT_CPU}/MultiphaseDropletTest) add_subdirectory(${APPS_ROOT_CPU}/RisingBubble2D) add_subdirectory(${APPS_ROOT_CPU}/JetBreakup) -add_subdirectory(${APPS_ROOT_CPU}/LiggghtsApp) -add_subdirectory(${APPS_ROOT_CPU}/FallingSphere) -add_subdirectory(${APPS_ROOT_CPU}/Nozzle) + add_subdirectory(${APPS_ROOT_CPU}/ConvectionOfVortex) + +IF(${USE_LIGGGHTS}) + add_subdirectory(${APPS_ROOT_CPU}/LiggghtsApp) + add_subdirectory(${APPS_ROOT_CPU}/FallingSphere) + add_subdirectory(${APPS_ROOT_CPU}/Nozzle) +ENDIF() + #add_subdirectory(tests) #add_subdirectory(Applications/gridRf) #add_subdirectory(Applications/greenvortex) diff --git a/apps/cpu/JetBreakup/JetBreakup.cpp b/apps/cpu/JetBreakup/JetBreakup.cpp index 03c1d34c4..01d4cc3eb 100644 --- a/apps/cpu/JetBreakup/JetBreakup.cpp +++ b/apps/cpu/JetBreakup/JetBreakup.cpp @@ -153,7 +153,7 @@ void run(string configname) // LBMReal dLB = 0; // = length[1] / dx; LBMReal rhoLB = 0.0; - LBMReal nuLB = nu_l; //(uLB*dLB) / Re; + //LBMReal nuLB = nu_l; //(uLB*dLB) / Re; double beta = 12.0 * sigma_LB / interfaceWidth; double kappa = 1.5 * interfaceWidth * sigma_LB; diff --git a/apps/cpu/RisingBubble2D/RisingBubble2D.cpp b/apps/cpu/RisingBubble2D/RisingBubble2D.cpp index 448353340..19677aac7 100644 --- a/apps/cpu/RisingBubble2D/RisingBubble2D.cpp +++ b/apps/cpu/RisingBubble2D/RisingBubble2D.cpp @@ -95,7 +95,7 @@ void run(string configname) LBMReal D = 2.0*radius; //density retio - LBMReal r_rho = densityRatio; + //LBMReal r_rho = densityRatio; //density of heavy fluid LBMReal rho_h = 1.0; -- GitLab