openfoam/tutorials/basic/laplacianFoam/implicitAMI-nonblocking/system/blockMeshDict
mattijs 69169c5abe ENH: add non-blocking handling for cyclicAMI (#2963)
Co-authored-by: Mark Olesen <>
2023-08-30 13:39:16 +00:00

270 lines
4.8 KiB
C++

/*--------------------------------*- 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
(
// solid1
(-0.1 0.00 -0.05)
( 0.1 0.00 -0.05)
( 0.1 0.04 -0.05)
(-0.1 0.04 -0.05)
(-0.1 0.00 0.05)
( 0.1 0.00 0.05)
( 0.1 0.04 0.05)
(-0.1 0.04 0.05)
// solid2
(-0.1 -0.04 -0.05)
( 0.1 -0.04 -0.05)
( 0.1 0.00 -0.05)
(-0.1 0.00 -0.05)
(-0.1 -0.04 0.05)
( 0.1 -0.04 0.05)
( 0.1 0.00 0.05)
(-0.1 0.00 0.05)
// solid1_b
( 0.2 0.00 -0.05)
( 0.4 0.00 -0.05)
( 0.4 0.04 -0.05)
( 0.2 0.04 -0.05)
( 0.2 0.00 0.05)
( 0.4 0.00 0.05)
( 0.4 0.04 0.05)
( 0.2 0.04 0.05)
// solid2_b
( 0.2 -0.04 -0.05)
( 0.4 -0.04 -0.05)
( 0.4 0.00 -0.05)
( 0.2 0.00 -0.05)
( 0.2 -0.04 0.05)
( 0.4 -0.04 0.05)
( 0.4 0.00 0.05)
( 0.2 0.00 0.05)
);
blocks
(
hex (0 1 2 3 4 5 6 7) solid1 (5 10 1) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) solid2 (4 10 1) simpleGrading (1 1 1)
hex (16 17 18 19 20 21 22 23) solid1_b (3 7 1) simpleGrading (1 1 1)
hex (24 25 26 27 28 29 30 31) solid2_b (7 7 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
solid1_bottom
{
type cyclicAMI;
inGroups (coupleGroup);
coupleGroup coupleGroup;
faces
(
(1 5 4 0)
);
}
solid1_top
{
type wall;
faces
(
(3 7 6 2)
);
}
solid1_left
{
type wall;
faces
(
(0 4 7 3)
);
}
solid1_right
{
type wall;
faces
(
(2 6 5 1)
);
}
solid1_frontAndBack
{
type empty;
faces
(
(0 3 2 1)
(4 5 6 7)
);
}
solid2_bottom
{
type wall;
faces
(
(9 13 12 8)
);
}
solid2_top
{
type cyclicAMI;
inGroups (coupleGroup);
coupleGroup coupleGroup;
faces
(
(11 15 14 10)
);
}
solid2_left
{
type wall;
faces
(
(8 12 15 11)
);
}
solid2_right
{
type wall;
faces
(
(10 14 13 9)
);
}
solid2_frontAndBack
{
type empty;
faces
(
(8 11 10 9)
(12 13 14 15)
);
}
// block b
// ~~~~~~~
solid1_b_bottom
{
type cyclicAMI;
inGroups (coupleGroup_b);
coupleGroup coupleGroup_b;
faces
(
(17 21 20 16)
);
}
solid1_b_top
{
type wall;
faces
(
(19 23 22 18)
);
}
solid1_b_left
{
type wall;
faces
(
(16 20 23 19)
);
}
solid1_b_right
{
type wall;
faces
(
(18 22 21 17)
);
}
solid1_b_frontAndBack
{
type empty;
faces
(
(16 19 18 17)
(20 21 22 23)
);
}
solid2_b_bottom
{
type wall;
faces
(
//(9 13 12 8)
(25 29 28 24)
);
}
solid2_b_top
{
type cyclicAMI;
inGroups (coupleGroup_b);
coupleGroup coupleGroup_b;
faces
(
//(11 15 14 10)
(27 31 30 26)
);
}
solid2_b_left
{
type wall;
faces
(
//(8 12 15 11)
(24 28 31 27)
);
}
solid2_b_right
{
type wall;
faces
(
//(10 14 13 9)
(26 30 29 25)
);
}
solid2_b_frontAndBack
{
type empty;
faces
(
//(8 11 10 9)
(24 27 26 25)
//(12 13 14 15)
(28 29 30 31)
);
}
);
// ************************************************************************* //