[Gmsh] Subtract elementary volume entity from physical volume using ID

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sat Jul 8 13:16:17 CEST 2017


> On 8 Jul 2017, at 01:39, Alex Lindsay <adlinds3 at ncsu.edu> wrote:
> 
> I have a large lattice geometry generated by for loops and extrusion. I have a physical volume called "fuel" composed of 841 elementary volumes; addition to the physical group is done automatically in the for loops. The "fuel" geometry is attached. I want to remove one of the elementary volumes from the physical volume. Through the GUI, I know its ID. With the information I have, can I do what I want to do?

Physical Volume(1) -= {1,2,3};

> Or other suggestions?

Add the elementary ids to a list 9selectively), and only create the physical later.

> 
> Alex
> <fuel_lattice.png>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list