[Gmsh] Intersection between cylinder surface and plane surface

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Sep 27 12:31:48 CEST 2017



> On 26 Sep 2017, at 17:43, ing. Nobile - OAC Ingegneria <gnobile at 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.DILASSER at 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.dilasser at cea.fr
> 
>  
> 
> De : gmsh [mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be] De la part de ing. Nobile - OAC Ingegneria
> Envoyé : mardi 26 septembre 2017 14:36
> À : gmsh at 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 at 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




More information about the gmsh mailing list