Fwd: Re: [Gmsh] storing elementary entities of physical group in a variable/list

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Fwd: Re: [Gmsh] storing elementary entities of physical group in a variable/list

Julia Fischer



Sent from Meizu M2 Note



-------- Original message --------
Sender: Julia Fischer <[hidden email]>
Time: Mon 5/1 23:25
To: "Boehm, Christian Hermann Kurt" <[hidden email]>
Subject: Re: [Gmsh] storing elementary entities of physical group in a variable/list



On 1 May 2017 at 10:01, Boehm, Christian Hermann Kurt <[hidden email]> wrote:

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
[hidden email]
http://onelab.info/mailman/listinfo/gmsh



signature.txt (5K) Download Attachment
Loading...