|
[Sponsors] |
[blockMesh] Why is this creating a block and not a cylinder? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 27, 2017, 01:54 |
Why is this creating a block and not a cylinder?
|
#1 |
New Member
Zach
Join Date: Jul 2017
Posts: 11
Rep Power: 8 |
convertToMeters 1;
vertices ( (0 0 0) (1 0 0) (0 1 0) (1 1 0) (0 0 1) (1 0 1) (0 1 1) (1 1 1) (0 2 0) (1 2 0) (0 2 1) (1 2 1) (2 0 0) (2 1 0) (2 0 1) (2 2 1) (2 2 0) (2 2 1) ); blocks ( hex (0 1 3 2 4 5 7 6) (1 1 1) simpleGrading (1 1 1) hex (2 3 9 8 6 7 11 10) (1 1 1) simpleGrading (1 1 1) hex (1 12 13 3 5 14 15 7) (1 1 1) simpleGrading (1 1 1) hex (3 13 16 9 7 15 17 11) (1 1 1) simpleGrading (1 1 1) ); edges ( arc 1 2 (0.292893217 0.292893217 0) arc 2 9 (0.292893217 1.707106783 0) arc 9 13 (1.707106783 1.707106783 0) arc 13 1 (1.707106783 0.292893217 0) arc 5 6 (0.292893217 0.292893217 1) arc 6 11 (0.292893217 1.707106783 1) arc 11 15 (1.707106783 1.707106783 1) arc 15 5 (1.707106783 0.292893217 1) ); boundary ( inlet { type patch; faces ( ); } outlet { type patch; faces ( ); } bottom { type symmetryPlane; faces ( (0 1 3 2) (2 3 9 8) (1 12 13 3) (3 13 16 9) ); } top { type symmetryPlane; faces ( (4 5 7 6) (6 7 11 10) (5 14 15 7) (7 15 17 11) ); } left { type symmetryPlane; faces ( (2 0 4 6) (8 2 6 10) ); } right { type symmetryPlane; faces ( (12 13 15 14) (13 16 17 15) ); } front { type symmetryPlane; faces ( (0 1 5 4 ) (1 12 14 5) ); } back { type symmetryPlane; faces ( (9 8 10 11) (16 9 11 17) ); } obstacle { type patch; faces ( ); } ); mergePatchPairs ( ); |
|
|
|