Hello all,

I have three concentric cylinders. The first physical volume that I want to 
define is the volume between the outer most cylinder and the middle cylinder. 
The second physical volume that I want to define is the volume between the 
middle cylinder and the inner most cylinder. When I run this script gmsh tells 
me that there are subfaces intersecting and crashes. How can I fix this script? 
Could this be a possible bug?


------------


// Gmsh project created on Wed Jul 18 13:52:12 2018
SetFactory("OpenCASCADE");

Cylinder(1) = {0, 0, 0, 0, 0, 100, 10, 2*Pi};
Cylinder(2) = {0, 0, 10, 0, 0, 80, 5, 2*Pi};
Cylinder(3) = {0, 0, 15, 0, 0, 60, 2, 2*Pi};

BooleanDifference(6) = { Volume{1};Delete; }{ Volume{2}; };
BooleanDifference(7) = { Volume{2};Delete; }{ Volume{3}; };

Physical Volume ("outer") = {6};
Physical Volume ("inner") = {7};

-------------

Thanks,


Laura
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to