> On 26 Sep 2017, at 17:43, ing. Nobile - OAC Ingegneria 
> <gnob...@oacingegneria.com> wrote:
> 
> Dear Guillaume,
> 
> thanks for your fast reply.
> 
> I've tried, but for some reason, it seems not working with the cylinder 
> surface.
> I used the same process with a plane surface and all it was good.
> 
> Let me know if you find a solution. This is crucial to me because I have to 
> model
> a 2D cylinder full of stiffeners :-)
> 
> I attached the GMSH .geo file I'm using, maybe there is a bug that I cannot 
> see.
> 

It's a limitation of the current Gmsh version: embedded lines/vertices are only 
taken into account for non-periodic surfaces. The generalization to periodic 
surfaces (e.g. the cylinder) is on our TODO list.

Workaround: make your surface non-periodic (e.g split it in 2).


> Best regards
> 
> Giampiero Nobile
> 
> 
> 
> Ing. Giampiero Nobile, PhD   |   OAC Ingegneria
> 
> Mobile:  +39 3494632155 
> Office:   +39 0108698603
> 
> www.oacingegneria.com
> 
>    <24795144.jpg>
> 
> 
> 2017-09-26 16:17 GMT+02:00 DILASSER Guillaume <guillaume.dilas...@cea.fr>:
> Hello,
> 
>  
> 
> I guess the easiest way to achieve what you are trying to do would be to use 
> the Line {} In Surface {} ; command referenced in the documentation here. To 
> be more precise, assuming that the elementary IDs of the cylinder surface id 
> is <cyl_id>  and that of the common line is <line_id>, you would declare Line 
> {<line_id>} In Surface {<cyl_id>} ;. Let me know if it worked,
> 
>  
> 
> Sincerely Yours,
> 
>  
> 
> Guillaume DILASSER
> 
> Doctorant DACM / LEAS
> 
> CEA - Centre de Saclay - Bât.123 - PC 319c
> 
> 91191 Gif sur Yvette Cedex - France -
> 
>  
> 
> guillaume.dilas...@cea.fr
> 
>  
> 
> De : gmsh [mailto:gmsh-boun...@ace20.montefiore.ulg.ac.be] De la part de ing. 
> Nobile - OAC Ingegneria
> Envoyé : mardi 26 septembre 2017 14:36
> À : gmsh@onelab.info
> Objet : [Gmsh] Intersection between cylinder surface and plane surface
> 
>  
> 
> Dear all, 
> 
>  
> 
> sorry for the trivial question but I'm a beginner of GMSH.
> 
> I'm trying to create a 2D mesh as result of the intersection of a cylinder 
> surface and a rectangle 
> 
> surface. 
> 
> Is not clear to me how is the correct procedure to do this keeping the 
> intersection line as belonging
> 
> to both the surfaces
> 
>  
> 
> I attach an image of what I mean. Sorry I dont know if it is possible to 
> attach figure in the forum, please tell me if not.
> 
>  
> 
>  
> 
> <image005.png>
> 
> 
> 
>  
> 
>  
> 
> Ing. Giampiero Nobile, PhD   |   OAC Ingegneria
> 
>  
> 
> Mobile:  +39 3494632155 
> 
> Office:   +39 0108698603
> 
>  
> 
> www.oacingegneria.com
> 
>  
> 
>    <image006.jpg>
> 
>  
> 
>  
> 
> 
> 
> Mail priva di virus. www.avast.com
> 
>  
> 
> 
> <cylinder.geo>_______________________________________________
> gmsh mailing list
> gmsh@onelab.info
> http://onelab.info/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info


_______________________________________________
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh

Reply via email to