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 align?
On Wednesday, 7 April 2021 at 15:10:38 UTC-4 Wolfgang Bangerth wrote:

> 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 on opposite sides of linked boundaries to be of 
> the 
> > same size locally otherwise the constraints won't match and, I'd 
> imagine, bad 
> > things would happen. What is the best way to maintain these constraints 
> > assuming an arbitrary refinement vector? I'm thinking the best approach 
> is to 
> > just refine the mesh as normal then "patch it up" through a second sweep 
> to 
> > ensure the mesh sizes on opposite sides of the linked boundaries are the 
> same 
> > by forcing additional refinement if necessary.
>
> I think you should take a look at step-45 :-)
> https://dealii.org/developer/doxygen/deal.II/step_45.html
>
> Best
> W.
>
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: bang...@colostate.edu
> www: http://www.math.colostate.edu/~bangerth/
>
>

-- 
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/cf4926fa-bd25-4ee3-9bd2-d5bd8fa4c189n%40googlegroups.com.

Reply via email to