Greg:
We want to construct a 3D triangulation by extruding a 2D triangulation
(one that potentially contains hanging nodes) and we only want one
slice/layer of mesh on the extrusion direction.
Looking around in the GridGenerator namespace led me to the
extrude_triangulation function. It’s doing everything we desire except
for that (a) the slices/layers on the extrusion direction has to be at
least two
I think this is poorly described in the documentation. The number of
slices = the number of cell layers plus one. Two slices => one layer of
cells. I've fixed this here:
https://github.com/dealii/dealii/pull/15028
and (b) the 2D mesh must be a coarse mesh. I’m wondering if
there are tips on getting around these two restrictions.
This you can't get around.
Originally I was using GridGenerator::hyper_rectangle teamed with
anisotropic refinement cut_xy. But this ceases to work after the code
was re-implemented with parallel::distributed::Triangulation because
“this class does not support anisotropic refinement, because it relies
on the p4est library that does not support this” [1].
Yes, and this is true regardless of how you generate the mesh. You can't
create an anisotropically refined mesh for p::d::T. This also means that
you cannot extrude a refined 2d mesh into 3d that has only one layer of
cells. You can extrude a coarse mesh, though, and then refine the
resulting mesh -- it will then have more than one layer in z-direction
in some locations, however.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/6f184058-b87e-da47-a0d6-4490f56c28ed%40colostate.edu.