CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (http://www.cfd-online.com/Forums/openfoam-meshing-open/)
-   -   Cannot get the right mesh from gmsh (http://www.cfd-online.com/Forums/openfoam-meshing-open/79672-cannot-get-right-mesh-gmsh.html)

JinBiao August 31, 2010 01:54

Cannot get the right mesh from gmsh
 
I am trying to generate a helical coil with gmsh. My approach is to generate a circle first and then extrude it. Below is the file for gmsh. I got errors when run checkMesh. And when I check the geometry in paraview, I found that the coil wall is not one piece. There are many small pieces which are grouped into the patch defaultFaces. Can anyone help me out? Thank you very much!!!

Code:

s1 = 1.753000E-04 ;
s3 = 8.765000E-05 ;
s2 = 4.382500E-05 ;

Cx = 7.350000E-03 ;
Cy = 0.000000E+00 ;
Cz = 0.000000E+00 ;
R1 = 8.765000E-04 ;
R2 = 8.765000E-04 ;
dh = 5.950000E-04 ;

Point (1) = { Cx, Cy, Cz,s1};
Point (2) = { Cx+R1, Cy, Cz,s1};
Point (3) = { Cx, Cy+R1, Cz,s1};
Point (4) = { Cx-R1, Cy, Cz,s1};
Point (5) = { Cx, Cy-R1, Cz,s1};
Circle(1) = {2,1,3};
Circle(2) = {3,1,4};
Circle(3) = {4,1,5};
Circle(4) = {5,1,2};

Line Loop(10) = {1,2,3,4};        //int circ

Plane Surface(30) = {10};
// notes: Layers{n}, n is the number of node in the extrusion direction

ext1[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{30};
 Layers{5}; Recombine;};

ext2[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext1[0]};
 Layers{5}; Recombine;};

ext3[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext2[0]};
 Layers{5}; Recombine;};

ext4[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext3[0]};
 Layers{5}; Recombine;};

ext5[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext4[0]};
 Layers{5}; Recombine;};

ext6[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext5[0]};
 Layers{5}; Recombine;};

ext7[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext6[0]};
 Layers{5}; Recombine;};

ext8[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext7[0]};
 Layers{5}; Recombine;};

ext9[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext8[0]};
 Layers{5}; Recombine;};

ext10[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext9[0]};
 Layers{5}; Recombine;};

ext11[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext10[0]};
 Layers{5}; Recombine;};

ext12[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext11[0]};
 Layers{5}; Recombine;};

ext13[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext12[0]};
 Layers{5}; Recombine;};

ext14[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext13[0]};
 Layers{5}; Recombine;};

ext15[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext14[0]};
 Layers{5}; Recombine;};

ext16[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext15[0]};
 Layers{5}; Recombine;};

ext17[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext16[0]};
 Layers{5}; Recombine;};

ext18[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext17[0]};
 Layers{5}; Recombine;};

ext19[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext18[0]};
 Layers{5}; Recombine;};

ext20[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext19[0]};
 Layers{5}; Recombine;};

ext21[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext20[0]};
 Layers{5}; Recombine;};

ext22[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext21[0]};
 Layers{5}; Recombine;};

ext23[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext22[0]};
 Layers{5}; Recombine;};

ext24[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext23[0]};
 Layers{5}; Recombine;};

ext25[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext24[0]};
 Layers{5}; Recombine;};

ext26[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext25[0]};
 Layers{5}; Recombine;};

ext27[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext26[0]};
 Layers{5}; Recombine;};

ext28[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext27[0]};
 Layers{5}; Recombine;};

ext29[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext28[0]};
 Layers{5}; Recombine;};

ext30[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext29[0]};
 Layers{5}; Recombine;};

ext31[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext30[0]};
 Layers{5}; Recombine;};

ext32[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext31[0]};
 Layers{5}; Recombine;};

ext33[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext32[0]};
 Layers{5}; Recombine;};

ext34[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext33[0]};
 Layers{5}; Recombine;};

ext35[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext34[0]};
 Layers{5}; Recombine;};

ext36[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext35[0]};
 Layers{5}; Recombine;};

ext37[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext36[0]};
 Layers{5}; Recombine;};

ext38[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext37[0]};
 Layers{5}; Recombine;};

ext39[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext38[0]};
 Layers{5}; Recombine;};

ext40[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext39[0]};
 Layers{5}; Recombine;};

ext41[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext40[0]};
 Layers{5}; Recombine;};

ext42[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext41[0]};
 Layers{5}; Recombine;};

ext43[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext42[0]};
 Layers{5}; Recombine;};

ext44[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext43[0]};
 Layers{5}; Recombine;};

ext45[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext44[0]};
 Layers{5}; Recombine;};

ext46[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext45[0]};
 Layers{5}; Recombine;};

ext47[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext46[0]};
 Layers{5}; Recombine;};

ext48[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext47[0]};
 Layers{5}; Recombine;};

ext49[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext48[0]};
 Layers{5}; Recombine;};

ext50[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext49[0]};
 Layers{5}; Recombine;};

ext51[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext50[0]};
 Layers{5}; Recombine;};

ext52[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext51[0]};
 Layers{5}; Recombine;};

ext53[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext52[0]};
 Layers{5}; Recombine;};

ext54[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext53[0]};
 Layers{5}; Recombine;};

ext55[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext54[0]};
 Layers{5}; Recombine;};

ext56[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext55[0]};
 Layers{5}; Recombine;};

ext57[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext56[0]};
 Layers{5}; Recombine;};

ext58[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext57[0]};
 Layers{5}; Recombine;};

ext59[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext58[0]};
 Layers{5}; Recombine;};

ext60[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext59[0]};
 Layers{5}; Recombine;};

ext61[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext60[0]};
 Layers{5}; Recombine;};

ext62[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext61[0]};
 Layers{5}; Recombine;};

ext63[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext62[0]};
 Layers{5}; Recombine;};

ext64[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext63[0]};
 Layers{5}; Recombine;};

ext65[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext64[0]};
 Layers{5}; Recombine;};

ext66[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext65[0]};
 Layers{5}; Recombine;};

ext67[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext66[0]};
 Layers{5}; Recombine;};

ext68[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext67[0]};
 Layers{5}; Recombine;};

ext69[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext68[0]};
 Layers{5}; Recombine;};

ext70[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext69[0]};
 Layers{5}; Recombine;};

ext71[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext70[0]};
 Layers{5}; Recombine;};

ext72[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext71[0]};
 Layers{5}; Recombine;};

ext73[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext72[0]};
 Layers{5}; Recombine;};

ext74[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext73[0]};
 Layers{5}; Recombine;};

ext75[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext74[0]};
 Layers{5}; Recombine;};

ext76[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext75[0]};
 Layers{5}; Recombine;};

ext77[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext76[0]};
 Layers{5}; Recombine;};

ext78[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext77[0]};
 Layers{5}; Recombine;};

ext79[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext78[0]};
 Layers{5}; Recombine;};

ext80[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext79[0]};
 Layers{5}; Recombine;};

ext81[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext80[0]};
 Layers{5}; Recombine;};

ext82[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext81[0]};
 Layers{5}; Recombine;};

ext83[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext82[0]};
 Layers{5}; Recombine;};

ext84[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext83[0]};
 Layers{5}; Recombine;};

ext85[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext84[0]};
 Layers{5}; Recombine;};

ext86[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext85[0]};
 Layers{5}; Recombine;};

ext87[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext86[0]};
 Layers{5}; Recombine;};

ext88[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext87[0]};
 Layers{5}; Recombine;};

ext89[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext88[0]};
 Layers{5}; Recombine;};

ext90[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext89[0]};
 Layers{5}; Recombine;};

ext91[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext90[0]};
 Layers{5}; Recombine;};

ext92[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext91[0]};
 Layers{5}; Recombine;};

ext93[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext92[0]};
 Layers{5}; Recombine;};

ext94[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext93[0]};
 Layers{5}; Recombine;};

ext95[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext94[0]};
 Layers{5}; Recombine;};

ext96[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext95[0]};
 Layers{5}; Recombine;};

ext97[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext96[0]};
 Layers{5}; Recombine;};

ext98[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext97[0]};
 Layers{5}; Recombine;};

ext99[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext98[0]};
 Layers{5}; Recombine;};

ext100[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext99[0]};
 Layers{5}; Recombine;};

ext101[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext100[0]};
 Layers{5}; Recombine;};

ext102[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext101[0]};
 Layers{5}; Recombine;};

ext103[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext102[0]};
 Layers{5}; Recombine;};

ext104[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext103[0]};
 Layers{5}; Recombine;};

ext105[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext104[0]};
 Layers{5}; Recombine;};

ext106[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext105[0]};
 Layers{5}; Recombine;};

ext107[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext106[0]};
 Layers{5}; Recombine;};

ext108[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext107[0]};
 Layers{5}; Recombine;};

ext109[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext108[0]};
 Layers{5}; Recombine;};

ext110[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext109[0]};
 Layers{5}; Recombine;};

ext111[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext110[0]};
 Layers{5}; Recombine;};

ext112[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext111[0]};
 Layers{5}; Recombine;};

ext113[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext112[0]};
 Layers{5}; Recombine;};

ext114[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext113[0]};
 Layers{5}; Recombine;};

ext115[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext114[0]};
 Layers{5}; Recombine;};

ext116[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext115[0]};
 Layers{5}; Recombine;};

ext117[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext116[0]};
 Layers{5}; Recombine;};

ext118[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext117[0]};
 Layers{5}; Recombine;};

ext119[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext118[0]};
 Layers{5}; Recombine;};

ext120[] = Extrude {{0,dh,0}, {0,1,0}, {0,0,0}, Pi/2} {
  Surface{ext119[0]};
 Layers{5}; Recombine;};

ext121[] = Extrude {{0,dh,0}, {0,1,0}, {Cx/2,Cy,Cz}, Pi/2} {
  Surface{ext120[0]};
 Layers{5}; Recombine;};

ext122[] = Extrude {{0,-dh,0}, {0,1,0}, {Cx/2,Cy,Cz}, -Pi/2} {
  Surface{30};
 Layers{5}; Recombine;};

ext123[] = Extrude {{0,0,Cx/2}, {0,0,1}, {Cx/2, Cy+4*30*dh+Cx/2,Cz}, -Pi/2}  {
  Surface{ext121[0]};
 Layers{2*5}; Recombine;};

ext124[] = Extrude {{0,0,-Cx/2}, {0,0,1}, {Cx/2,Cy-dh-Cx/2,Cz}, Pi/2} {
  Surface{ext122[0]};
 Layers{2*5}; Recombine;};

ext125[] =Extrude {0,10*1.753000E-03, 0} {
  Surface{ext123[0]};
 Layers{4*5}; Recombine;};

ext126[] =Extrude {0,-10*1.753000E-03, 0} {
  Surface{ext124[0]};
 Layers{4*5}; Recombine;};

Physical Surface("inlet") = {ext125[0]};
Physical Surface("outlet") = {ext126[0]};

Physical Surface("coilInnerSurface")= {ext1[2],ext1[3],ext1[4],ext1[5],ext2[2],ext2[3],ext2[4],ext2[5],ext3[2],ext3[3],ext3[4],ext3[5],ext4[2],ext4[3],ext4[4],ext4[5],ext5[2],ext5[3],ext5[4],ext5[5],
ext6[2],ext6[3],ext6[4],ext6[5],ext7[2],ext7[3],ext7[4],ext7[5],ext8[2],ext8[3],ext8[4],ext8[5],ext9[2],ext9[3],ext9[4],ext9[5],ext10[2],ext10[3],ext10[4],ext10[5],
ext11[2],ext11[3],ext11[4],ext11[5],ext12[2],ext12[3],ext12[4],ext12[5],ext13[2],ext13[3],ext13[4],ext13[5],ext14[2],ext14[3],ext14[4],ext14[5],ext15[2],ext15[3],ext15[4],ext15[5],
ext16[2],ext16[3],ext16[4],ext16[5],ext17[2],ext17[3],ext17[4],ext17[5],ext18[2],ext18[3],ext18[4],ext18[5],ext19[2],ext19[3],ext19[4],ext19[5],ext20[2],ext20[3],ext20[4],ext20[5],
ext21[2],ext21[3],ext21[4],ext21[5],ext22[2],ext22[3],ext22[4],ext22[5],ext23[2],ext23[3],ext23[4],ext23[5],ext24[2],ext24[3],ext24[4],ext24[5],ext25[2],ext25[3],ext25[4],ext25[5],
ext26[2],ext26[3],ext26[4],ext26[5],ext27[2],ext27[3],ext27[4],ext27[5],ext28[2],ext28[3],ext28[4],ext28[5],ext29[2],ext29[3],ext29[4],ext29[5],ext30[2],ext30[3],ext30[4],ext30[5],
ext31[2],ext31[3],ext31[4],ext31[5],ext32[2],ext32[3],ext32[4],ext32[5],ext33[2],ext33[3],ext33[4],ext33[5],ext34[2],ext34[3],ext34[4],ext34[5],ext35[2],ext35[3],ext35[4],ext35[5],
ext36[2],ext36[3],ext36[4],ext36[5],ext37[2],ext37[3],ext37[4],ext37[5],ext38[2],ext38[3],ext38[4],ext38[5],ext39[2],ext39[3],ext39[4],ext39[5],ext40[2],ext40[3],ext40[4],ext40[5],
ext41[2],ext41[3],ext41[4],ext41[5],ext42[2],ext42[3],ext42[4],ext42[5],ext43[2],ext43[3],ext43[4],ext43[5],ext44[2],ext44[3],ext44[4],ext44[5],ext45[2],ext45[3],ext45[4],ext45[5],
ext46[2],ext46[3],ext46[4],ext46[5],ext47[2],ext47[3],ext47[4],ext47[5],ext48[2],ext48[3],ext48[4],ext48[5],ext49[2],ext49[3],ext49[4],ext49[5],ext50[2],ext50[3],ext50[4],ext50[5],
ext51[2],ext51[3],ext51[4],ext51[5],ext52[2],ext52[3],ext52[4],ext52[5],ext53[2],ext53[3],ext53[4],ext53[5],ext54[2],ext54[3],ext54[4],ext54[5],ext55[2],ext55[3],ext55[4],ext55[5],
ext56[2],ext56[3],ext56[4],ext56[5],ext57[2],ext57[3],ext57[4],ext57[5],ext58[2],ext58[3],ext58[4],ext58[5],ext59[2],ext59[3],ext59[4],ext59[5],ext60[2],ext60[3],ext60[4],ext60[5],
ext61[2],ext61[3],ext61[4],ext61[5],ext62[2],ext62[3],ext62[4],ext62[5],ext63[2],ext63[3],ext63[4],ext63[5],ext64[2],ext64[3],ext64[4],ext64[5],ext65[2],ext65[3],ext65[4],ext65[5],
ext66[2],ext66[3],ext66[4],ext66[5],ext67[2],ext67[3],ext67[4],ext67[5],ext68[2],ext68[3],ext68[4],ext68[5],ext69[2],ext69[3],ext69[4],ext69[5],ext70[2],ext70[3],ext70[4],ext70[5],
ext71[2],ext71[3],ext71[4],ext71[5],ext72[2],ext72[3],ext72[4],ext72[5],ext73[2],ext73[3],ext73[4],ext73[5],ext74[2],ext74[3],ext74[4],ext74[5],ext75[2],ext75[3],ext75[4],ext75[5],
ext76[2],ext76[3],ext76[4],ext76[5],ext77[2],ext77[3],ext77[4],ext77[5],ext78[2],ext78[3],ext78[4],ext78[5],ext79[2],ext79[3],ext79[4],ext79[5],ext80[2],ext80[3],ext80[4],ext80[5],
ext81[2],ext81[3],ext81[4],ext81[5],ext82[2],ext82[3],ext82[4],ext82[5],ext83[2],ext83[3],ext83[4],ext83[5],ext84[2],ext84[3],ext84[4],ext84[5],ext85[2],ext85[3],ext85[4],ext85[5],
ext86[2],ext86[3],ext86[4],ext86[5],ext87[2],ext87[3],ext87[4],ext87[5],ext88[2],ext88[3],ext88[4],ext88[5],ext89[2],ext89[3],ext89[4],ext89[5],ext90[2],ext90[3],ext90[4],ext90[5],
ext91[2],ext91[3],ext91[4],ext91[5],ext92[2],ext92[3],ext92[4],ext92[5],ext93[2],ext93[3],ext93[4],ext93[5],ext94[2],ext94[3],ext94[4],ext94[5],ext95[2],ext95[3],ext95[4],ext95[5],
ext96[2],ext96[3],ext96[4],ext96[5],ext97[2],ext97[3],ext97[4],ext97[5],ext98[2],ext98[3],ext98[4],ext98[5],ext99[2],ext99[3],ext99[4],ext99[5],ext100[2],ext100[3],ext100[4],ext100[5],
ext101[2],ext101[3],ext101[4],ext101[5],ext102[2],ext102[3],ext102[4],ext102[5],ext103[2],ext103[3],ext103[4],ext103[5],ext104[2],ext104[3],ext104[4],ext104[5],ext105[2],ext105[3],ext105[4],ext105[5],
ext106[2],ext106[3],ext106[4],ext106[5],ext107[2],ext107[3],ext107[4],ext107[5],ext108[2],ext108[3],ext108[4],ext108[5],ext109[2],ext109[3],ext109[4],ext109[5],ext110[2],ext110[3],ext110[4],ext110[5],
ext111[2],ext111[3],ext111[4],ext111[5],ext112[2],ext112[3],ext112[4],ext112[5],ext113[2],ext113[3],ext113[4],ext113[5],ext114[2],ext114[3],ext114[4],ext114[5],ext115[2],ext115[3],ext115[4],ext115[5],
ext116[2],ext116[3],ext116[4],ext116[5],ext117[2],ext117[3],ext117[4],ext117[5],ext118[2],ext118[3],ext118[4],ext118[5],ext119[2],ext119[3],ext119[4],ext119[5],ext120[2],ext120[3],ext120[4],ext120[5],
ext121[2],ext121[3],ext121[4],ext121[5],ext122[2],ext122[3],ext122[4],ext122[5],ext123[2],ext123[3],ext123[4],ext123[5],ext124[2],ext124[3],ext124[4],ext124[5],ext125[2],ext125[3],ext125[4],ext125[5],
ext126[2],ext126[3],ext126[4],ext126[5]};

Physical Volume("coil")= {ext1[],ext2[],ext3[],ext4[],ext5[],ext6[],ext7[],ext8[],ext9[],ext10[],
ext11[],ext12[],ext13[],ext14[],ext15[],ext16[],ext17[],ext18[],ext19[],ext20[],
ext21[],ext22[],ext23[],ext24[],ext25[],ext26[],ext27[],ext28[],ext29[],ext30[],
ext31[],ext32[],ext33[],ext34[],ext35[],ext36[],ext37[],ext38[],ext39[],ext40[],
ext41[],ext42[],ext43[],ext44[],ext45[],ext46[],ext47[],ext48[],ext49[],ext50[],
ext51[],ext52[],ext53[],ext54[],ext55[],ext56[],ext57[],ext58[],ext59[],ext60[],
ext61[],ext62[],ext63[],ext64[],ext65[],ext66[],ext67[],ext68[],ext69[],ext70[],
ext71[],ext72[],ext73[],ext74[],ext75[],ext76[],ext77[],ext78[],ext79[],ext80[],
ext81[],ext82[],ext83[],ext84[],ext85[],ext86[],ext87[],ext88[],ext89[],ext90[],
ext91[],ext92[],ext93[],ext94[],ext95[],ext96[],ext97[],ext98[],ext99[],ext100[],
ext101[],ext102[],ext103[],ext104[],ext105[],ext106[],ext107[],ext108[],ext109[],ext110[],
ext111[],ext112[],ext113[],ext114[],ext115[],ext116[],ext117[],ext118[],ext119[],ext120[],
ext121[],ext122[],ext123[],ext124[],ext125[],ext126[]};


JinBiao August 31, 2010 01:55

3 errors when I checkMesh.

Code:

Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
    points:          435825
    faces:            2041712
    internal faces:  1924688
    cells:            793280
    boundary patches: 4
    point zones:      0
    face zones:      0
    cell zones:      1

Overall number of cells of each type:
    hexahedra:    0
    prisms:        793280
    wedges:        0
    pyramids:      0
    tet wedges:    0
    tetrahedra:    0
    polyhedra:    0

Checking topology...
    Boundary definition OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces ...
    Patch              Faces    Points  Surface topology                 
    inlet              592      325      ok (non-closed singly connected) 
    outlet              592      325      ok (non-closed singly connected) 
    coilInnerSurface    68680    75096    ok (non-closed singly connected) 
    defaultFaces        47160    36727    multiply connected (shared edge) 
  <<Writing 19438 conflicting points to set nonManifoldPoints

Checking geometry...
    Overall domain bounding box (-0.0082265 -0.0218 -0.0082265) (0.0082265 0.092605 0.0082265)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
    Boundary openness (-2.89129e-09 -1.27362e-08 2.17817e-09) OK.
 ***Open cells found, max cell openness: 0.633005, number of open cells 9126
  <<Writing 9126 non closed cells to set nonClosedCells
  <<Writing 2400 cells with high aspect ratio to set highAspectRatioCells
    Minumum face area = 1.53247e-12. Maximum face area = 2.29522e-07.  Face area magnitudes OK.
    Min volume = 1.66667e-300. Max volume = 1.03492e-11.  Total volume = 3.4394e-06.  Cell volumes OK.
    Mesh non-orthogonality Max: 176.879 average: 14.7507
  *Number of severely non-orthogonal faces: 2400.
 ***Number of non-orthogonality errors: 5409.
  <<Writing 7809 non-orthogonal faces to set nonOrthoFaces
 ***Error in face pyramids: 28094 faces are incorrectly oriented.
  <<Writing 23285 faces with incorrect orientation to set wrongOrientedFaces
    Max skewness = 3.76412 OK.

Failed 3 mesh checks.

End


JinBiao August 31, 2010 04:51

The problem has been solved. The reason was that I clicked the "refine" button when building the mesh.


All times are GMT -4. The time now is 01:17.