[Gmsh] Fwd: Problem while trying to merge two surfaces

David Bernstein david at terafrac.org
Mon Sep 30 19:51:24 CEST 2013



Begin forwarded message:

> From: David Bernstein <david.bernstein at meliortechnology.com>
> Subject: Re: [Gmsh] Problem while trying to merge two surfaces
> Date: September 30, 2013 10:50:22 AM PDT
> To: "Thibaut F. Bourlet" <thibaut.bourlet at nus.edu.sg>
> 
> Hi Thibaut, I think the issue here is that Physical Surface is just a grouping function, it doesn't perform a boolean operation on the surfaces like what you might expect.
> 
> Take a look at the modified file attached. It saves the line loops of the beams which are on the channel face and then uses them to create a plane surface afterwards with the line loops subtracted (so this surface has holes).  (I looked at the 2D surfaces here, it doesn't generate the 3D mesh properly because of the stuff commented out at the bottom but I think that should be easily fixed).
> 
> Regards,
> Dave
> 
> 
> 
> 
> On Sep 30, 2013, at 2:04 AM, "Thibaut F. Bourlet" <thibaut.bourlet at nus.edu.sg> wrote:
> 
>> Hello everyone,
>> 
>> For my Fluid Mechanics research project, I have to run simulations on a channel with a hairy coating on the bottom plate. I model these with micro-beams. Thus, I have created a "Beam" function that enable to create little beams on the bottom plate. My problem is that I cannot manage to merge the bottom surfaces of the beams and the bottom surface of the channel in one physical surface... I hope you can help/advise.
>> 
>> You will find my code attached to this email.
>> 
>> Thanks!
>> 
>> Thibaut
>> <try1.geo>_______________________________________________
>> gmsh mailing list
>> gmsh at geuz.org
>> http://www.geuz.org/mailman/listinfo/gmsh
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130930/a1fbd3c1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: try1_1.geo
Type: application/octet-stream
Size: 3683 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130930/a1fbd3c1/attachment.geo>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130930/a1fbd3c1/attachment-0001.html>