|
[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 ( ); |
|
August 1, 2017, 04:40 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
Hi,
Because the pairs of points you are trying to link with an arc are not connected. Example, vertices 1 and 2. There is no block defined where the block has an edge that connects vertices 1 and 2. block 0 for example, has the following edges: 0-1, 1-3, 3-2 and 2-0. There is no 1-2 and so it does not create the arc/curve. Cheers, Antimony |
|
August 22, 2017, 22:30 |
|
#3 |
Member
Join Date: Feb 2016
Posts: 41
Rep Power: 10 |
I spent a while dealing with somethi g like this accidentally made a cone instead of a semi circle. Did u get it to work?
Sent from my SM-G930V using CFD Online Forum mobile app |
|
August 22, 2017, 22:58 |
Answer to the last question
|
#4 |
New Member
Zach
Join Date: Jul 2017
Posts: 11
Rep Power: 8 |
I scratched that mesh and just restarted, but I got the new one I created to work. The post earlier was very helpful.
|
|
|
|