ENH: snappyHexMesh: block walk through other surfaces.

This commit is contained in:
mattijs
2021-02-22 19:06:40 +00:00
committed by Mattijs Janssens
parent 3f1f191034
commit a9f8bc079f
6 changed files with 99 additions and 69 deletions

View File

@ -1,21 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class cellSet;
arch "LSB;label=32;scalar=64";
location "0/polyMesh/sets";
object cellsToRemove;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
0()
// ************************************************************************* //

View File

@ -113,8 +113,10 @@ castellatedMeshControls
// surfaces
//gapLevel (1 2 10);
//MEJ: from cell level 2 onwards start checking for opposite
// surfaces
// Block any gap (opposite surfaces or opposite disconnected region
// of surface):
// - thinner than 2*blockcellsize where blockcellsize
// is the size of a cell at blockLevel
blockLevel 2;
}
}