air blockmesh

This commit is contained in:
dino.celebic 2026-01-26 20:46:47 +01:00
commit 9392099296
17 changed files with 1179 additions and 144942 deletions

View file

@ -6,37 +6,47 @@ FoamFile
object blockMeshDict;
}
dz 0.01;
r_inner 0.077; // inner cup radius (without walls)
dx1 #calc "$r_inner/2";
y 0.105; // top of cup
height 0.15; // height of tunnel
L 0.08; // half length of tunnel
vertices
(
(0 0 0)
(1 0 0)
(1 .5 0)
(0 .5 0)
(-$dx1 $y 0)
($dx1 $y 0)
($dx1 $height 0)
(-$dx1 $height 0)
(0 0 .4)
(1 0 .4)
(1 .5 .4)
(0 .5 .4)
(-$dx1 $y $dz)
($dx1 $y $dz)
($dx1 $height $dz)
(-$dx1 $height $dz)
(3 0 0)
(3 .5 0)
($L $y 0)
($L $height 0)
(3 0 .4)
(3 .5 .4)
($L $y $dz)
($L $height $dz)
(-.5 0 0)
(-.5 .5 0)
(-$L $y 0)
(-$L $height 0)
(-.5 .5 .4)
(-.5 0 .4)
(-$L $height $dz)
(-$L $y $dz)
);
blocks
(
hex (12 0 3 13 15 4 7 14) (81 41 1) simpleGrading (.2 15 1)
hex (0 1 2 3 4 5 6 7) (161 41 1) simpleGrading (5 15 1)
hex (1 8 9 2 5 10 11 6) (51 41 1) simpleGrading (1 15 1)
hex (12 0 3 13 15 4 7 14) (5 5 1) simpleGrading (1 1 1)
hex (0 1 2 3 4 5 6 7) (5 5 1) simpleGrading (1 1 1)
hex (1 8 9 2 5 10 11 6) (5 5 1) simpleGrading (1 1 1)
);
boundary