Marek,

On Friday, March 10, 2017 at 4:28:21 PM UTC-5, Marek Čapek wrote:
>
>
> Hello,
>
> I created tubular expansion geometry by 
> 1.creating cylindrical shell
> 2.creating cylinder
> 4.globally refining cylinder
> 5.flattening the cylinder
> 6. locally refining the cylinder shell to match the cylinder
> 7. calling     GridGenerator::merge_triangulations (tria_cylinder, 
> tria_cylinder_shell, tria);
> 8. remove some cells from the resulting triangulation ->tria_out_final
> 9. flatten in order to     triangulation.copy_triangulation 
> (tria_out_final), i.e. copy into parallel::distributed::Triangulation
>
Could you send the code.
 

>
> I would like to understand the process of treatment of the interfaces 
> between merged triangulation, as
> I will need for other computational geometries.
> I am not very proficient in assigning the proper boundary description and 
> manifold, maybe from that springs
> the problem. What is the proper use of the flatten_triangulation. I use it 
> for locally refined meshes in order
> to be able to merge them.
> I have run my code on similar geometry, where I have not locally refined 
> the cylinder shell before the merge.
>
> I have played with remove_duplicit_vertices as well, however without 
> effect.
>

This is strange. When you merge two triangulations, what basically happens 
is that the cells and the vertices are extracted and then a new 
triangulation is created. So I don't understand how the boundary could be 
exported. Are you sure that you have created a continuous triangulation and 
not a triangulation with two disjoint domains? It could look like the 
vertices between the two cylinders have been merged when in reality they 
haven't. You could check that by going on a cell at the interface between 
the two cylinders and ask for all its neighbors.

Best,

Bruno

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to