mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: use new blockMesh support (faces, transforms)
This commit is contained in:
@ -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
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user