[deal.II] Re: How to implement GridGenerator::channel_with_cylinder?

2019-01-16 Thread David Wells
Hi Nick, I think the following would work: 1. Create a triangulation via GridGenerator::plate_with_a_hole. 2. Create a second Triangulation via GridGenerator::hyper_ball. If you are working in 3D then you will have to extrude this. Use GridTools::transform to recenter this Triangulation in the

[deal.II] Re: How to implement GridGenerator::channel_with_cylinder?

2019-01-15 Thread nboychenko1
Does anybody have an example of how to fill out the hole and assign to it different material ID? Thank you, Nick. On Wednesday, December 19, 2018 at 12:07:16 PM UTC-5, Daniel Arndt wrote: > > Chucui, > > the mesh you are showing degenerates close to the midpoint. This isvery > likely not what

[deal.II] Re: How to implement GridGenerator::channel_with_cylinder?

2018-12-19 Thread Daniel Arndt
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