Yes, I had not understand the concept of Transfinite grids, it is exactly what I need. Thank you very much.<br>I have a few other questions, if someone happens to have an answer to them :)<br><br>  1) I have not been able to find an Offset command in Gmsh (generate curve which is offset from another curve by a given distance). Any suggestions?<br>
<br>  2) I am considering integrating Gmsh in a simple application, which generates a certain geometrical configuration and meshes it. I have not been able to find any example how to do that, my attempts to compile anything against libGmsh.a (generated by make install-lib) have been fruitless ( I cannot check the archive content with nm either, it seems to be archive made of other archives and I do not know how to compile against it). When I try to compile anything also against the full set of libraries created in the lib build directory, I get a lot of error messages about unresolved references. Is there any example anywhere, which shows how to use Gmsh API to create and mesh geometries?<br>
<br>Thanks a lot,<br>Atanas<br><br><div class="gmail_quote">2008/4/21 Christophe Geuzaine <<a href="mailto:cgeuzaine@ulg.ac.be">cgeuzaine@ulg.ac.be</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Atanas Pavlov wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I am trying to create a mesh for an axisymmetric geometry, which is relatively simple, defined by a few points, resp curves connecting them. I would like, however, to perform mapped meshing where I partition the curves, then use these partitions on 4-side surface regions to partition the regions, and then revolve-extrude the mesh around the symmetry axis. As far as I can see, the first step is currently not possible in GMSH, because for surface mesh it can only generate triangle mesh (or extrude 1D mesh, which however is not possible in this case). Is there any workaround? Is mapped meshing planned to be implemented in GMSH, and for simple cases like that, can it be a short term feasible task?<br>

<br>
</blockquote>
<br></div>
Could you use a Transfinite grid like this?<br>
<br>
Point(1) = {0,0,0,0.1};<br>
Point(2) = {1,0,0,0.1};<br>
Point(3) = {0,1,0,0.1};<br>
Point(4) = {3,0,0,0.1};<br>
Point(5) = {3,3,0,0.1};<br>
Point(6) = {0,3,0,0.1};<br>
Line(1) = {3,6};<br>
Line(2) = {6,5};<br>
Line(3) = {5,4};<br>
Line(4) = {4,2};<br>
Circle(5) = {2,1,3};<br>
Line Loop(6) = {3,4,5,1,2};<br>
Plane Surface(7) = {6};<br>
Transfinite Line {1} = 20 Using Progression 1.2;<br>
Transfinite Line {4} = 20 Using Progression 1./1.2;<br>
Transfinite Line {3,2} = 10 Using Progression 1;<br>
Transfinite Line {5} = 19 Using Progression 1;<br>
Transfinite Surface {7} = {3,6,4,2} Alternated;<br>
Recombine Surface {7};<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Cheers,<br>
Atanas<br>
<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
</blockquote>
<br>
<br>
-- <br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science<br>
<a href="http://www.montefiore.ulg.ac.be/%7Egeuzaine" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Atanas Pavlov<br>Luitfriedstr. 18, München 80995