Hello everybody,

i wonder if something like this is possible, because whatever i try, it just 
doesn't work :( :


SetFactory("OpenCASCADE");

...

Physical Surface("BasePlate", 1) = {1:6};


Physical Surface("Hole1", 2) = {7};


Physical Surface("Hole2", 3) = {8};


Physical Surface(1) += { BooleanDifference{ Surface{ 1:6 }; Delete; }{ Surface{ 
7 }; Delete; } };

tmp[ ] = Physical Surface{1};         % I think here is the problem???


Physical Surface(1) += { BooleanDifference{ Surface{ tmp[ ] }; Delete; }{ 
Surface{ 8 }; Delete; } };

...


Or is there a better/smarter way to store the elementary entities making up a 
physical group,

so that i can reference to them by using the physical group id ?


I hope you can unterstand my issue :).

Help is really appreciated!


Christian B.

Munich University of Applied Sciences



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

Reply via email to