[Gmsh] Problem with extrusion

Christophe Geuzaine cgeuzaine at uliege.be
Tue Nov 27 19:46:32 CET 2018


Indeed for some reason OpenCASCADE does not seem to like creating a shell ("surface loop") with the given surface.

Here's another way to generate the volume without any additional points:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: extrude2.geo
Type: application/octet-stream
Size: 1583 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20181127/710476ab/attachment.geo>
-------------- next part --------------


> On 27 Nov 2018, at 16:51, Alessandro Vicini <alessandro.vicini at sitael.com> wrote:
> 
> 
> Ok, as I cannot create the volume from the revolution surface, I changed the geo file as you can see in the attached file.
> Now the problem is that gmsh does not allow to generate a surface with the boundaries that you can see in Far.jpg. 
> What could be the solution? Of course I could copy all the points along every direction, but is it possible to avoid this? Thank you.
> 
> A.
> 
> 
> 
> -----Messaggio originale-----
> Da: Christophe Geuzaine [mailto:cgeuzaine at uliege.be] 
> Inviato: marted? 27 novembre 2018 13:32
> A: Alessandro Vicini
> Cc: gmsh at onelab.info
> Oggetto: Re: [Gmsh] Problem with extrusion
> 
> 
> 
>> On 27 Nov 2018, at 13:26, Alessandro Vicini <alessandro.vicini at sitael.com> wrote:
>> 
>> Ok, thank you, in the meantime I had found that out.  From the manual 
>> I was supposing that should work also with the built-in geometry 
>> Kernel?
> 
> Indeed; it's just a particular case that the built-in kernel does not handle...
> 
>> 
>> A.
>> 
>> 
>> Da: Christophe Geuzaine [mailto:cgeuzaine at uliege.be]
>> Inviato: marted? 27 novembre 2018 13:25
>> A: Alessandro Vicini
>> Cc: gmsh at onelab.info
>> Oggetto: Re: [Gmsh] Problem with extrusion
>> 
>> 
>> 
>> 
>> On 27 Nov 2018, at 11:17, Alessandro Vicini <alessandro.vicini at sitael.com> wrote:
>> 
>> 
>> Considering the attached geo file, why there is no surface generated by the extrusion?  Thank you.
>> 
>> The built-in CAD engine is quite limited for the extrusion of curves: it will not create surfaces if the origin and the destination curve are the only ones bounding the resulting surface.
>> 
>> You can use SetFactory("OpenCASCADE"); for such geometries:
>> 
>> <image001.png>
>> 
>> 
>> 
>> 
>> Regards,
>> 
>> Alessandro
>> 
>> <extrude.geo>_______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> 
>> https://urlsand.esvalabs.com/?u=http%3A%2F%2Fonelab.info%2Fmailman%2Fl
>> istinfo%2Fgmsh&e=99874c11&h=b695f178&f=y&p=y
>> 
>> ?
>> Prof. Christophe Geuzaine
>> University of Liege, Electrical Engineering and Computer Science  
>> https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.montefiore.ulg.ac.be%
>> 2F~geuzaine&e=99874c11&h=66aea005&f=y&p=y
>> 
>> Free software:  
>> https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgmsh.info&e=99874c11&h=8b
>> 6add38&f=y&p=y  |  
>> https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgetdp.info&e=99874c11&h=3
>> 9444c51&f=y&p=y  |  
>> https://urlsand.esvalabs.com/?u=http%3A%2F%2Fonelab.info&e=99874c11&h=
>> ee5a38c8&f=y&p=y
>> 
> 
> ?
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science  https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.montefiore.ulg.ac.be%2F~geuzaine&e=99874c11&h=66aea005&f=y&p=y 
> 
> Free software:  https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgmsh.info&e=99874c11&h=8b6add38&f=y&p=y  |  https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgetdp.info&e=99874c11&h=39444c51&f=y&p=y  |  https://urlsand.esvalabs.com/?u=http%3A%2F%2Fonelab.info&e=99874c11&h=ee5a38c8&f=y&p=y 
> 
> <Far.geo><Far.jpg>

? 
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