[Gmsh] How to select Pre/Post processing entity by location?
Shamsul Arefin
mail.shanto at gmail.com
Wed Dec 13 15:40:52 CET 2017
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 <armitatz at gmail.com> wrote:
I thought it was together with the other files !
2017-12-12 11:43 GMT+02:00 Shamsul Arefin <mail.shanto at gmail.com [mailto:mail.shanto at gmail.com]>:
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 <armitatz at gmail.com [mailto:armitatz at gmail.com]> 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 <mail.shanto at gmail.com [mailto:mail.shanto at gmail.com]>:
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
gmsh at onelab.info [mailto:gmsh at onelab.info]
http://onelab.info/mailman/listinfo/gmsh [http://onelab.info/mailman/listinfo/gmsh]
_______________________________________________
gmsh mailing list
gmsh at onelab.info [mailto:gmsh at onelab.info]
http://onelab.info/mailman/listinfo/gmsh [http://onelab.info/mailman/listinfo/gmsh]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171213/9da4d40b/attachment-0001.html>
More information about the gmsh
mailing list