TUT: use new blockMesh support (faces, transforms)

This commit is contained in:
Mark Olesen
2021-07-19 13:14:49 +02:00
parent d31f351c15
commit 29acee5a50
7 changed files with 96 additions and 107 deletions

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2106 |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -74,12 +74,12 @@ edges
faces
(
project (0 4 7 3) sphere // x-min
project (1 2 6 5) sphere // x-max
project (0 1 5 4) sphere // y-min
project (3 7 6 2) sphere // y-max
project (0 3 2 1) sphere // z-min
project (4 5 6 7) sphere // z-max
project (0 0) sphere // x-min
project (0 1) sphere // x-max
project (0 2) sphere // y-min
project (0 3) sphere // y-max
project (0 4) sphere // z-min
project (0 5) sphere // z-max
);
boundary
@ -89,12 +89,12 @@ boundary
type wall;
faces
(
(0 4 7 3) // x-min
(1 2 6 5) // x-max
(0 1 5 4) // y-min
(3 7 6 2) // y-max
(0 3 2 1) // z-min
(4 5 6 7) // z-max
(0 0) // x-min
(0 1) // x-max
(0 2) // y-min
(0 3) // y-max
(0 4) // z-min
(0 5) // z-max
);
}
);