Chucui, the mesh you are showing degenerates close to the midpoint. This isvery likely not what you wan't. For the inner part something like shown in https://www.dealii.org/developer/doxygen/deal.II/classTransfiniteInterpolationManifold.html would be a good idea. Then for the middle part GridGenerator::hyper_cube_with_cylindrical_hole (https://www.dealii.org/9.0.0/doxygen/deal.II/namespaceGridGenerator.html#add14cab546d033c1eaacc9234c64ebcd) should work, you just have to make sure that the vertices align when merging the two meshes via GridGenerator::merge_triangulations (https://www.dealii.org/developer/doxygen/deal.II/namespaceGridGenerator.html#a7cd88e7eacd46697dee80ad2b8438d54). Make sure too choose copy_manifold_ids if you are using a developer version or set the manifold ids after creating and merging the whole mesh. Finally, for the outer part you would just merge some GridGenerator::subdivided_hyper_rectangle (https://www.dealii.org/developer/doxygen/deal.II/namespaceGridGenerator.html#ac76417d7404b75cf53c732f456e6e971). Again make sure that the verices align and make sure the manifold ids are correct after merging all the meshes.
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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.