<div dir="ltr"><div>Hello,</div><div><br></div>All your surfaces should be Transfinite. And if they are bounded by 4 lines, you don't need to specify the corners. You might try:<div><br></div><div>Transfinite Surface {6} = {};</div><div>Transfinite Surface {21} = {};<br></div><div>Transfinite Surface {14} = {};<br></div><div>Transfinite Surface {18} = {};<br></div><div>Transfinite Surface {23} = {};<br></div><div><br></div><div>Recombine Surface {6,21,14,18,23};<br></div><div><br></div><div>Although, you might just need to increase the number of layers in your extrusion. This PC does not have GMSH installed so I can't check your GEO file</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><font face="'courier new', monospace">-------------------------<br><b>Félix Salazar</b><br><a href="mailto:felix.a.salazar@gmail.com" target="_blank">felix.a.salazar@gmail.com</a></font><br><div><span style="font-family:'courier new',monospace">-------------------------<br></span></div></div></div>
<br><div class="gmail_quote">On Thu, May 12, 2016 at 4:50 PM, CHARCHI AGHDAM, ALI <span dir="ltr"><<a href="mailto:alic@email.sc.edu" target="_blank">alic@email.sc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hi everyone,<u></u><u></u></p>
<p class="MsoNormal">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:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Incompatible surface 14 in transfinite volume 25.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">And here is my geo file:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">n1=20;<u></u><u></u></p>
<p class="MsoNormal">n2=40;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Point(1) = {0.000000000000e+00 , 0.000000000000e+00 , 0.000000000000e+00 , 1e-5 };
<u></u><u></u></p>
<p class="MsoNormal">Point(2) = {1.998096443164e-05 , 0.000000000000e+00 , -8.723877473067e-07 , 1e-5 };
<u></u><u></u></p>
<p class="MsoNormal">Point(3) = {1.198857865898e-04 , 0.000000000000e+00 , -5.234326483840e-06 , 1e-5 };
<u></u><u></u></p>
<p class="MsoNormal">Point(4) = {0.000000000000e+00 , 1.400000000000e-04 , 0.000000000000e+00 , 1e-5 };
<u></u><u></u></p>
<p class="MsoNormal">Point(5) = {0.000000000000e+00 , 8.000000000000e-05 , 0.000000000000e+00 , 1e-5 };<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">Rotate {{0, 1, 0}, {0, 0, 0}, -0.04363323129985824} {<u></u><u></u></p>
<p class="MsoNormal"> Point{5, 4, 2, 3};<u></u><u></u></p>
<p class="MsoNormal">}<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Line(1) = {5, 4};<u></u><u></u></p>
<p class="MsoNormal">Line(2) = {2, 3};<u></u><u></u></p>
<p class="MsoNormal">Ellipse(3) = {5, 1, 4, 2};<u></u><u></u></p>
<p class="MsoNormal">Ellipse(4) = {4, 1, 4, 3};<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Line Loop(5) = {3, 2, -4, -1};<u></u><u></u></p>
<p class="MsoNormal">Plane Surface(6) = {5};<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Extrude {{0, 1, 0},{0,0,0},0.08726646259971647}{ <u></u><u></u></p>
<p class="MsoNormal"> Surface{6};<u></u><u></u></p>
<p class="MsoNormal"> Layers{1};<u></u><u></u></p>
<p class="MsoNormal"> Recombine;<u></u><u></u></p>
<p class="MsoNormal">}<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Surface Loop(24) = {6, 14, 18, 21, 23};<u></u><u></u></p>
<p class="MsoNormal">Volume(25) = {24};<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Transfinite Line {1,2} = n1 Using Progression 1;<u></u><u></u></p>
<p class="MsoNormal">Transfinite Line {3,4} = n2 Using Progression 1;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Transfinite Surface {6} = {2,3,4,5};<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Recombine Surface {6,21,14,18,23};<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Transfinite Volume{25} = {2,3,4,5,9,13,4,5};<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Would you please help?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Best regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="color:#1f4e79">Ali Charchi<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="color:#1f4e79"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><b><span style="color:#1f4e79">PhD Student of Mechanical Engineering<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="color:#1f4e79">University of South Carolina<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="color:#1f4e79">Columbia, SC<u></u><u></u></span></b></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
<br></blockquote></div><br></div>