[Gmsh] Physical group associated with elements

Xin Liu lambert8809 at gmail.com
Mon Oct 15 21:47:02 CEST 2018


Dear Developers,

I am trying to use the new Gmsh API with SDK to build applications, and I
found it is very handy. Thank you for providing such a good tool. Now, I am
working on mechanics of composite materials, and very often, I need to get
information about the physical group of each element as different materials
are assigned to different regions. I notice the V4 mesh format arranges the
elements in order of the physical groups, but how can I get such
information using API? I also notice the current API provides
"getNodesForPhysicalGroup", so I would expect some functions like
"getElementsForPhysicalGroup" or better "getPhysicalGroupForElements" which
takes input elementID and returns PhysicalGroupID.

Thanks

-- 
======================================
Xin Liu
PhD Candidate, Graduate Research Assistant
Multiscale Structural Mechanics Group
School of Aeronautics & Astronautics
Purdue University
======================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20181015/d80791ac/attachment-0001.html>


More information about the gmsh mailing list