From 823c6d70002fa5a5167b1b52079584027d4408fd Mon Sep 17 00:00:00 2001 From: Hkorb <henry.korb@geo.uu.se> Date: Thu, 30 Sep 2021 19:12:58 +0200 Subject: [PATCH] makes actuator line test case smaller --- apps/gpu/LBM/ActuatorLine/ActuatorLine.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/gpu/LBM/ActuatorLine/ActuatorLine.cpp b/apps/gpu/LBM/ActuatorLine/ActuatorLine.cpp index 244dd9b64..43ad92112 100644 --- a/apps/gpu/LBM/ActuatorLine/ActuatorLine.cpp +++ b/apps/gpu/LBM/ActuatorLine/ActuatorLine.cpp @@ -81,14 +81,14 @@ const real velocity = 9.0; const real mach = 0.1; -const uint nodes_per_diameter = 32; +const uint nodes_per_diameter = 16; std::string path("."); std::string simulationName("ActuatorLine"); const uint timeStepOut = 500; -const float tEnd = 200; // total time of simulation +const float tEnd = 280; // total time of simulation in s //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -206,8 +206,8 @@ void multipleLevel(const std::string& configPath) std::vector<real> probeCoordsX = {reference_diameter,2*reference_diameter,5*reference_diameter}; std::vector<real> probeCoordsY = {3*reference_diameter,3*reference_diameter,3*reference_diameter}; std::vector<real> probeCoordsZ = {3*reference_diameter,3*reference_diameter,3*reference_diameter}; - pointProbe->setProbePointsFromList(probeCoordsX, probeCoordsY, probeCoordsZ); - // pointProbe->setProbePointsFromXNormalPlane(2*D, 0.0, 0.0, L_y, L_z, dx, dx); + pointProbe->addProbePointsFromList(probeCoordsX, probeCoordsY, probeCoordsZ); + // pointProbe->addProbePointsFromXNormalPlane(2*D, 0.0, 0.0, L_y, L_z, dx, dx); pointProbe->addPostProcessingVariable(PostProcessingVariable::Means); pointProbe->addPostProcessingVariable(PostProcessingVariable::Variances); para->addProbe( pointProbe ); -- GitLab