blockMesh生成网格问题
-
求助大神~我想用OF画圆柱体,半径0.005m,长度0.1m; 但是我做出来的却是长方体,程序如下:
vertices ( (0 0 0) (0 0.005 0.005) (0 0 0.01) (0 -0.005 0.005) (0.1 0 0) (0.1 0.005 0.005) (0.1 0 0.01) (0.1 -0.005 0.005) ); edges ( arc 0 1 (0.70710678 0.70710678 0) arc 2 3 (-0.70710678 0.70710678 0) arc 4 5 (0.70710678 0.70710678 0.1) arc 6 7 (-0.70710678 0.70710678 0.1) ); blocks ( hex (0 1 2 3 4 5 6 7) (200 10 10) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type wall; faces ( (0 1 2 3) ); } outlet { type wall; faces ( (4 5 6 7) ); } surface { type wall; faces ( (0 4 7 3) (3 7 6 2) (2 6 5 1) (1 5 4 0) ); } ); mergePatchPairs ( );