Hello,

I want to apply periodic boundary condition on a 3D thin square plate with 
one element in the thickness direction. I have already used the following 
for meshing

std::vector< unsigned int > repetitions(dim, 100);
    if (dim == 3)
    repetitions[dim-1] = 1;
GridGenerator::subdivided_hyper_rectangle(triangulation,
                                                               repetitions,
                                                              
 /*bottom_left*/ Point<dim>(0.0, 0.0, -0.5),
                                                              /* 
top_right*/ Point<dim>(20.0, 20.0, 0.5),
                      true); 

However, when applying periodic condition, mesh refinement should be 
applied after doing "triangulation.add_periodicity(periodicity_vector)".
So I have to first just use "hyper_rectangle" without any repetition 
argument to create the geometry, then after I added periodicity to the 
faces, mesh refinement can be applied.
Yet, I am wondering which function can apply different refinement for 
different directions, since " triangulation.refine_global ()" do the same 
for all directions.

Thanks and regards,
Hamed

-- 
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.

Reply via email to