Re: [deal.II] ABOUT READING GMSH

2020-07-20 Thread Daniel Arndt
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

Am Mo., 20. Juli 2020 um 12:25 Uhr schrieb xs...@berkeley.edu <
xs...@berkeley.edu>:

> 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
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/9b83d3f4-4728-4ca2-bd1a-1059baa76139n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWbJzPY0EQuo_pVfD%2B%3DjRr0amzWCKCUu8vk8rn4dq87DX-A%40mail.gmail.com.


[deal.II] ABOUT READING GMSH

2020-07-20 Thread xs...@berkeley.edu
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

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/9b83d3f4-4728-4ca2-bd1a-1059baa76139n%40googlegroups.com.