[Gmsh] structured mesh in a wedge

CHARCHI AGHDAM, ALI alic at email.sc.edu
Thu May 12 22:50:16 CEST 2016


Hi everyone,
I would like to mesh a wedge using gmsh. I have already been able to mesh all the surfaces but the 3D mesh module fails to extrude the 2D mesh and generate 3D mesh. I am getting the following error:

Incompatible surface 14 in transfinite volume 25.

And here is my geo file:

n1=20;
n2=40;

Point(1) =  {0.000000000000e+00 , 0.000000000000e+00 , 0.000000000000e+00 , 1e-5 };
Point(2) =  {1.998096443164e-05 , 0.000000000000e+00 , -8.723877473067e-07 , 1e-5 };
Point(3) =  {1.198857865898e-04 , 0.000000000000e+00 , -5.234326483840e-06 , 1e-5 };
Point(4) =  {0.000000000000e+00 , 1.400000000000e-04 , 0.000000000000e+00 , 1e-5 };
Point(5) =  {0.000000000000e+00 , 8.000000000000e-05 , 0.000000000000e+00 , 1e-5 };
Rotate {{0, 1, 0}, {0, 0, 0}, -0.04363323129985824} {
  Point{5, 4, 2, 3};
}

Line(1) = {5, 4};
Line(2) = {2, 3};
Ellipse(3) = {5, 1, 4, 2};
Ellipse(4) = {4, 1, 4, 3};

Line Loop(5) = {3, 2, -4, -1};
Plane Surface(6) = {5};

Extrude {{0, 1, 0},{0,0,0},0.08726646259971647}{
   Surface{6};
   Layers{1};
   Recombine;
}

Surface Loop(24) = {6, 14, 18, 21, 23};
Volume(25) = {24};

Transfinite Line {1,2} = n1 Using Progression 1;
Transfinite Line {3,4} = n2 Using Progression 1;

Transfinite Surface {6} = {2,3,4,5};

Recombine Surface {6,21,14,18,23};

Transfinite Volume{25} = {2,3,4,5,9,13,4,5};

Would you please help?

Best regards,

Ali Charchi

PhD Student of Mechanical Engineering
University of South Carolina
Columbia, SC


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160512/c046a32e/attachment.html>


More information about the gmsh mailing list