[Gmsh] Combination of different volumes

Kamil ÖZDEN kamil.ozden.me at gmail.com
Mon Jul 21 14:16:19 CEST 2014


Dear All,

I tried to generate a quarter stenosed pipe geometry. However, there is 
a problem. There occurs three different volumes and I need to combine 
these into a single volume. Because interface between the constricted 
region and the larger diametered region should be empty. Do you know how 
can I overcome this problem? I'm sending the .geo file in the attachment.



Regards,
Kamil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140721/5b8c028f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: beadchcd.png
Type: image/png
Size: 19792 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140721/5b8c028f/attachment.png>
-------------- next part --------------
// Gmsh project created on Sat Jul 19 12:34:01 2014

Point(1) = {0, 0, 0, 1};
Point(2) = {0, 3.2, 0, 1};
Line(1) = {1, 2};
Extrude {0,0,37.3} {Line{1}; Layers{1}; Recombine;}
Point(5) = {0, 1.15, 37.3, 1};
Line(5) = {3, 5};
Extrude {0,0,12.7} {Line{5}; Layers{2}; Recombine;}
Point(8) = {0, 3.2, 50, 1};
Line(9) = {6, 8};
Extrude {0,0,100} {Line{9}; Layers{2}; Recombine;}
Extrude {{0,0,1}, {0,0,0}, Pi/2} {Surface {5, 9, 13}; Layers {4}; Recombine;}
Physical Volume("interior")={1,2,3};
Physical Surface("wall")={5, 25, 28, 30, 9, 42, 47, 55, 13, 59, 64};
Physical Surface("inlet")={21};
Physical Surface("outlet")={62};