This is a nice trick. Thanks Andrew. However, this is only for selecting plane surfaces. I may have to tweak the code for Cylindrical Surfaces and also for more control over the shape of the geometry.
# It would have been better if I could know how entities are stored in an array. Say I extrude a surface to create a block. If this extrusion command is saved in an array, what would be the sequence of IDs in the array, of generated surfaces of the block. Regards, Shamsul Arefin ph: 017655441319 On Tue 12 Dec 3:46:59 pm, andrew <[email protected]> wrote: I thought it was together with the other files ! 2017-12-12 11:43 GMT+02:00 Shamsul Arefin <[email protected] [mailto:[email protected]]>: Is there no other selection by location option? Say I want to select the areas at 'z=0', or volumes between -10<x<+10 and -10<y<+10. The purpose is to select nodes from a particular geometric entity and define name for those nodes i.e. a nodal set. Usually when I know the ID of a surface (for example), i can define a "physical surface" and get the nodes and elements in the output-file grouped together. Problem is, I would not know surface ID's while working in the batch. Or anyone has a better idea for doing this with gmsh? Regards, Shamsul Arefin ph: 017655441319 On Mon 11 Dec 8:26:36 pm, andrew <[email protected] [mailto:[email protected]]> wrote: perhaps this could help you. It selects a face that belongs to a plane 2017-12-11 18:28 GMT+02:00 Shamsul Arefin <[email protected] [mailto:[email protected]]>: Hello, Lets say I have a box modeled in gmsh. I want to select different faces of the box just by - selection through location coordinate. So far have not find anything in the documentation! Can anyone help? Regards, Shamsul Arefin ph: 017655441319 _______________________________________________ gmsh mailing list [email protected] [mailto:[email protected]] http://onelab.info/mailman/listinfo/gmsh [http://onelab.info/mailman/listinfo/gmsh] _______________________________________________ gmsh mailing list [email protected] [mailto:[email protected]] http://onelab.info/mailman/listinfo/gmsh [http://onelab.info/mailman/listinfo/gmsh]
_______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
