Hi,
I would like to mesh a box and a cylinder such that the mesh conforms
to the interface. With the attached script I get several (22) duplicate
vertices
in the mesh. If the cylinder is shorter such that it is entirely
contained in the
box then there are no duplicate vertices.
Could you point me to the correct way of doing this?
Thanks, Miro
SetFactory("OpenCASCADE");
Cylinder(1) = {0, 0, 0, 0, 0, 1, 0.2};
Box(2) = {-1, -1, 0, 2, 2, 1};
outside() = BooleanDifference {Volume{2}; Delete; }{Volume{1}; };
Physical Volume(1) = {1};
Physical Volume(2) = {outside[]};
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh