mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
new boundary syntax
This commit is contained in:
@ -42,36 +42,132 @@ edges
|
|||||||
(
|
(
|
||||||
);
|
);
|
||||||
|
|
||||||
patches
|
//patches
|
||||||
|
//(
|
||||||
|
// wall bottomWall
|
||||||
|
// (
|
||||||
|
// (0 1 7 6)
|
||||||
|
// )
|
||||||
|
// wall topWall
|
||||||
|
// (
|
||||||
|
// (4 10 11 5)
|
||||||
|
// )
|
||||||
|
// cyclic sides1
|
||||||
|
// (
|
||||||
|
// (0 2 3 1)
|
||||||
|
// (6 7 9 8)
|
||||||
|
// )
|
||||||
|
// cyclic sides2
|
||||||
|
// (
|
||||||
|
// (2 4 5 3)
|
||||||
|
// (8 9 11 10)
|
||||||
|
// )
|
||||||
|
// cyclic inout1
|
||||||
|
// (
|
||||||
|
// (1 3 9 7)
|
||||||
|
// (0 6 8 2)
|
||||||
|
// )
|
||||||
|
// cyclic inout2
|
||||||
|
// (
|
||||||
|
// (3 5 11 9)
|
||||||
|
// (2 8 10 4)
|
||||||
|
// )
|
||||||
|
//);
|
||||||
|
|
||||||
|
boundary
|
||||||
(
|
(
|
||||||
wall bottomWall
|
bottomWall
|
||||||
(
|
{
|
||||||
(0 1 7 6)
|
type wall;
|
||||||
)
|
faces
|
||||||
wall topWall
|
(
|
||||||
(
|
(0 1 7 6)
|
||||||
(4 10 11 5)
|
);
|
||||||
)
|
}
|
||||||
cyclic sides1
|
topWall
|
||||||
(
|
{
|
||||||
(0 2 3 1)
|
type wall;
|
||||||
(6 7 9 8)
|
faces
|
||||||
)
|
(
|
||||||
cyclic sides2
|
(4 10 11 5)
|
||||||
(
|
);
|
||||||
(2 4 5 3)
|
}
|
||||||
(8 9 11 10)
|
|
||||||
)
|
sides1_half0
|
||||||
cyclic inout1
|
{
|
||||||
(
|
type cyclic;
|
||||||
(1 3 9 7)
|
neighbourPatch sides1_half1;
|
||||||
(0 6 8 2)
|
faces
|
||||||
)
|
(
|
||||||
cyclic inout2
|
(0 2 3 1)
|
||||||
(
|
);
|
||||||
(3 5 11 9)
|
}
|
||||||
(2 8 10 4)
|
sides1_half1
|
||||||
)
|
{
|
||||||
|
type cyclic;
|
||||||
|
neighbourPatch sides1_half0;
|
||||||
|
faces
|
||||||
|
(
|
||||||
|
(6 7 9 8)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
sides2_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
neighbourPatch sides2_half1;
|
||||||
|
faces
|
||||||
|
(
|
||||||
|
(2 4 5 3)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
sides2_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
neighbourPatch sides2_half0;
|
||||||
|
faces
|
||||||
|
(
|
||||||
|
(8 9 11 10)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
inout1_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
neighbourPatch inout1_half1;
|
||||||
|
faces
|
||||||
|
(
|
||||||
|
(1 3 9 7)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
inout1_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
neighbourPatch inout1_half0;
|
||||||
|
faces
|
||||||
|
(
|
||||||
|
(0 6 8 2)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
inout2_half0
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
neighbourPatch inout2_half1;
|
||||||
|
faces
|
||||||
|
(
|
||||||
|
(3 5 11 9)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
inout2_half1
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
neighbourPatch inout2_half0;
|
||||||
|
faces
|
||||||
|
(
|
||||||
|
(2 8 10 4)
|
||||||
|
);
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
mergePatchPairs
|
mergePatchPairs
|
||||||
|
|||||||
Reference in New Issue
Block a user