Re: [deal.II] Mesh Refinement & Periodic B.C.

2021-04-07 Thread Wolfgang Bangerth
On 4/7/21 1:48 PM, Stephen wrote: Thanks! I see they have mesh refinement in that tutorial. Maybe I misunderstood the way periodicity constraints work in deal.II; is it the case then that DoFTools::make_periodicity_constraints is able to automatically handle meshes in which the cells on periodi

Re: [deal.II] Mesh Refinement & Periodic B.C.

2021-04-07 Thread Stephen
Thanks! I see they have mesh refinement in that tutorial. Maybe I misunderstood the way periodicity constraints work in deal.II; is it the case then that DoFTools::make_periodicity_constraints is able to automatically handle meshes in which the cells on periodic boundaries don't necessarily ali

Re: [deal.II] Mesh Refinement & Periodic B.C.

2021-04-07 Thread Wolfgang Bangerth
On 4/7/21 12:24 PM, Stephen wrote: Has anyone here successfully implemented mesh refinement for problems with (spatial) periodic boundary conditions before? If so, I'd welcome ideas on the best way to approach the problem. As far as I can tell, it is a requirement in deal.II for the elements

[deal.II] Mesh Refinement & Periodic B.C.

2021-04-07 Thread Stephen
Hi all, Has anyone here successfully implemented mesh refinement for problems with (spatial) periodic boundary conditions before? If so, I'd welcome ideas on the best way to approach the problem. As far as I can tell, it is a requirement in deal.II for the elements on opposite sides of linked

Re: [deal.II] Setting manifold for a truncated cone mesh

2021-04-07 Thread 'peterrum' via deal.II User Group
I am not sure. But it is worth a try! Peter On Wednesday, 7 April 2021 at 13:30:59 UTC+2 vachanpo...@gmail.com wrote: > Peter, > > Thanks for your response. I am using GridOut because I only require > printing the triangulation (like in group manifold >

Re: [deal.II] Setting manifold for a truncated cone mesh

2021-04-07 Thread vachanpo...@gmail.com
Peter, Thanks for your response. I am using GridOut because I only require printing the triangulation (like in group manifold ). Should I use DataOut even in this case? I thought this was not required. On Wednesday, April 7,

Re: [deal.II] Setting manifold for a truncated cone mesh

2021-04-07 Thread 'peterrum' via deal.II User Group
My guess is that you did not specify the last argument in https://www.dealii.org/developer/doxygen/deal.II/classDataOut.html#a04d491be143f2672b076622e7abd32b8. The default is that only the boundary is plotted curved. Hope this helps! Peter On Wednesday, 7 April 2021 at 12:46:04 UTC+2 vachanp

Re: [deal.II] Setting manifold for a truncated cone mesh

2021-04-07 Thread vachanpo...@gmail.com
Sorry for continuing on this thread, my current question is not fully relevant, but related to this. I have a coarse mesh for a hollow cylinder I have read this file and applied a cylindrical manifold by first calling Triangulation::set_all_manifold_ids() and then Triangulation::set_manifold()