[Gmsh] How to mesh only the volume(s) and not the lines, surfaces etc?

Shamsul Arefin mail.shanto at gmail.com
Thu Oct 12 14:36:12 CEST 2017

Thanks Fernando,

That worked like a charm! 

# However, I could not read the exported file back in to Gmsh. But that's not a problem since I need only the node/element coordinates. 

Shamsul Arefin
ph: 017655441319
On Wed 11 Oct 10:09:26 pm, Fernando Lorenzo <felorenzo at att.net> wrote:
If you save your mesh as Tochnog format, you will only get the tetrahedron or hexahedron if that is what you choose. 

Your file will be name.dat. It will have a lot of details on how to set up the input file for tochnog, but you will find all the nodes and connectivities.

Fernando Lorenzo

Sent from my iPhone

On Oct 11, 2017, at 9:54 AM, Shamsul Arefin <mail.shanto at gmail.com [mailto:mail.shanto at gmail.com]> wrote:

How to mesh only the volume(s) and not the lines, surfaces etc?

In my project I have imported a step-file of a bearing race (imagine a hollow cylinder). I want meshes on the volume only. The other geometric entities should be ignored. How do I make that happen?

Normally if I use the '3D' mesh from the command tree, i find elements on the line, surface and volumes. Whereas, I don't want any 2D elements rather only 3D tetrahedron was expected. 

1# I have tried to delete the geometry items, the edges, and failed. >>> idea was to keep only the volume entity in the CAD and mesh only the volume.

2# i tried to define physical entities of the volumes, to mesh only that physical entity, and failed. 
 a. I could not perform a selection (in coding) only for the volume elements.. 
 b. even if I could succeed to select the volumes, I don't find a Meshing command to mesh only a particular physical entity. 

Shamsul Arefin

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/20171012/4b9bfda4/attachment.html>

More information about the gmsh mailing list