From a14571e7584ebec455a05ffb40008c245e2e8200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sch=C3=B6nherr?= <schoen@irmb.tu-bs.de> Date: Tue, 9 Jun 2020 16:28:51 +0200 Subject: [PATCH] TODO Slip BC --- src/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp | 5 +++++ src/GridGenerator/grid/GridBuilder/LevelGridBuilder.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp b/src/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp index adbf9f1b4..3ffc8625a 100644 --- a/src/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp +++ b/src/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp @@ -290,6 +290,8 @@ void LevelGridBuilder::getNodeValues(real *xCoords, real *yCoords, real *zCoords grids[level]->getNodeValues(xCoords, yCoords, zCoords, neighborX, neighborY, neighborZ, neighborNegative, geo); } +//TODO: add getSlipSize... + uint LevelGridBuilder::getVelocitySize(int level) const { @@ -301,6 +303,9 @@ uint LevelGridBuilder::getVelocitySize(int level) const return size; } +//TODO: add getSlipIndices... + + void LevelGridBuilder::getVelocityValues(real* vx, real* vy, real* vz, int* indices, int level) const { int allIndicesCounter = 0; diff --git a/src/GridGenerator/grid/GridBuilder/LevelGridBuilder.h b/src/GridGenerator/grid/GridBuilder/LevelGridBuilder.h index 64fc74759..5787b6efa 100644 --- a/src/GridGenerator/grid/GridBuilder/LevelGridBuilder.h +++ b/src/GridGenerator/grid/GridBuilder/LevelGridBuilder.h @@ -94,6 +94,10 @@ protected: std::vector<SPtr<VelocityBoundaryCondition> > velocityBoundaryConditions; std::vector<SPtr<PressureBoundaryCondition> > pressureBoundaryConditions; + //TODO: add slip BC + + + std::vector<SPtr<VelocityBoundaryCondition> > noSlipBoundaryConditions; SPtr<GeometryBoundaryCondition> geometryBoundaryCondition; -- GitLab