ABOUT READING GMSH

35 views
Skip to first unread message

xs...@berkeley.edu

unread,
Jul 20, 2020, 12:25:18 PM7/20/20
to deal.II User Group
Hi, can Dealii read the inside boundary from .gmsh file, which can distinguish different parts of model geometry? If it can not, how can dealii import the model with multiple parts? Thanks a lot.

Best,

Xiang

Daniel Arndt

unread,
Jul 20, 2020, 12:59:27 PM7/20/20
to dea...@googlegroups.com
Xiang,

deal.II interprets physical tags as boundary ids when reading .msh files using GridIn::read_msh (https://www.dealii.org/current/doxygen/deal.II/classGridIn.html#a83872db02e04f52ac52d578912f6da5e).
If your mesh consists of multiple parts in separate msh files you can create triangulation for each of them and merge them using GridGenerator::merge_triangulations (https://www.dealii.org/current/doxygen/deal.II/namespaceGridGenerator.html#a7cd88e7eacd46697dee80ad2b8438d54).

Best,
Daniel

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/9b83d3f4-4728-4ca2-bd1a-1059baa76139n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages