ENH: snappyHexMesh: add buffer layers before snapping

This commit is contained in:
Mattijs Janssens
2024-12-12 16:13:32 +00:00
parent e7cf8a1d59
commit de5d34787c
231 changed files with 46574 additions and 963 deletions

View File

@ -0,0 +1,95 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2312 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 1;
vertices
(
// Inner block
(-2 -2 -2)
( 2 -2 -2)
( 2 2 -2)
(-2 2 -2)
(-2 -2 2)
( 2 -2 2)
( 2 2 2)
(-2 2 2)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (5 5 4) grading (1 1 1) // Inner block
);
boundary
(
minX
{
type patch;
faces
(
(0 0) // block 0: x-min
);
}
maxX
{
type patch;
faces
(
(0 1) // block 0: x-max
);
}
minY
{
type patch;
faces
(
(0 2) // block 0: y-min
);
}
maxY
{
type patch;
faces
(
(0 3) // block 0: y-max
);
}
minZ
{
type patch;
faces
(
(0 4) // block 0: z-min
);
}
maxZ
{
type patch;
faces
(
(0 5) // block 0: z-max
);
}
);
// ************************************************************************* //