[Gmsh] Mesh export question

Christophe Geuzaine cgeuzaine at uliege.be
Wed Mar 13 13:34:53 CET 2019

> On 13 Mar 2019, at 07:25, Peter Johnston <p.johnston at griffith.edu.au> wrote:
> Hello,
> I was wondering if it was possible to create a mesh in gmsh and export it in two different ways. For example, I have created a complex mesh of heart tissue and blood volumes and I wish to export this as one mesh. I would also like to export just the heart tissue and its bounding surfaces into another mesh file. Is this possible without going back and starting at the beginning and remeshing the entire structure?

You can achieve this with physical groups. See the attached .geo example (you can also do the same with the API):

-------------- next part --------------
A non-text attachment was scrubbed...
Name: multisave.geo
Type: application/octet-stream
Size: 1189 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20190313/5aad0a6d/attachment.geo>
-------------- next part --------------

> Thanks very much,
> Peter.
> ---------------------------------------------------------------------
> Associate Professor Peter Johnston (FAustMS, FIMA)
> School of Environment and Science
> Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19
> T +61 7 373 57748| F +61 7 373 57656 Email p.johnston at griffith.edu.au
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

More information about the gmsh mailing list