mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
tutorials: Upgraded all of the blockMeshDict files to the new format
Upgraded other files as necessary for consistency with the blockMeshDict, in particular cases with cyclic patches.
This commit is contained in:
@ -22,6 +22,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 14464;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch xPeriodic_half1;
|
||||
}
|
||||
xPeriodic_half1
|
||||
@ -29,6 +30,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 14720;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch xPeriodic_half0;
|
||||
}
|
||||
yPeriodic_half0
|
||||
@ -36,6 +38,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
startFace 14976;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch yPeriodic_half1;
|
||||
}
|
||||
yPeriodic_half1
|
||||
@ -43,6 +46,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
startFace 15296;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch yPeriodic_half0;
|
||||
}
|
||||
zPeriodic_half0
|
||||
@ -50,6 +54,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
startFace 15616;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch zPeriodic_half1;
|
||||
}
|
||||
zPeriodic_half1
|
||||
@ -57,6 +62,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
startFace 15936;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch zPeriodic_half0;
|
||||
}
|
||||
)
|
||||
|
||||
@ -34,28 +34,37 @@ blocks
|
||||
hex (0 1 2 3 4 5 6 7) (20 16 16) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch
|
||||
outlet
|
||||
(
|
||||
(1 2 6 5)
|
||||
)
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 2 6 5)
|
||||
);
|
||||
}
|
||||
|
||||
patch
|
||||
inlet
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
|
||||
patch
|
||||
sides
|
||||
(
|
||||
(2 3 7 6)
|
||||
(0 1 5 4)
|
||||
(4 5 6 7)
|
||||
(0 3 2 1)
|
||||
)
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 3 7 6)
|
||||
(0 1 5 4)
|
||||
(4 5 6 7)
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
)
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -40,32 +40,41 @@ blocks
|
||||
hex (1 8 9 2 5 10 11 6) (50 36 36) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch
|
||||
flow
|
||||
(
|
||||
(8 9 11 10)
|
||||
(0 4 7 3)
|
||||
(2 3 7 6)
|
||||
(2 6 11 9)
|
||||
(4 5 6 7)
|
||||
(5 10 11 6)
|
||||
)
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(8 9 11 10)
|
||||
(0 4 7 3)
|
||||
(2 3 7 6)
|
||||
(2 6 11 9)
|
||||
(4 5 6 7)
|
||||
(5 10 11 6)
|
||||
);
|
||||
}
|
||||
|
||||
symmetryPlane
|
||||
entrance
|
||||
(
|
||||
(0 1 5 4)
|
||||
(0 3 2 1)
|
||||
)
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 1 5 4)
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
|
||||
wall
|
||||
walls
|
||||
(
|
||||
(1 8 10 5)
|
||||
(1 2 9 8)
|
||||
)
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 8 10 5)
|
||||
(1 2 9 8)
|
||||
);
|
||||
}
|
||||
)
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -44,27 +44,39 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch flow
|
||||
(
|
||||
(0 6 9 3)
|
||||
(2 5 11 8)
|
||||
(0 1 7 6)
|
||||
(3 9 10 4)
|
||||
(4 10 11 5)
|
||||
)
|
||||
wall obstacle
|
||||
(
|
||||
(1 2 8 7)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(0 3 4 1)
|
||||
(1 4 5 2)
|
||||
(6 7 10 9)
|
||||
(7 8 11 10)
|
||||
)
|
||||
flow
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 6 9 3)
|
||||
(2 5 11 8)
|
||||
(0 1 7 6)
|
||||
(3 9 10 4)
|
||||
(4 10 11 5)
|
||||
);
|
||||
}
|
||||
obstacle
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 2 8 7)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 3 4 1)
|
||||
(1 4 5 2)
|
||||
(6 7 10 9)
|
||||
(7 8 11 10)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
Reference in New Issue
Block a user