Well, you need to change the underlying msh file to only consist on quadrilaterals. You can use for instance gmsh with a mixture of recombine and transfinite surfaces. See for instance How to create a structured mesh on the L-shape domain? and How to import mixed triangle and quad meshes from gmsh to fenics
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to import mixed triangle and quad meshes from gmsh to fenics | 22 | 4582 | June 20, 2020 | |
.xdmf mixed type - problem with generating mesh | 3 | 397 | August 10, 2023 | |
What meshes are supported? | 1 | 821 | March 15, 2023 | |
Tetrahedral and Triangular Meshes Imported from Gmsh in FEniCSx | 1 | 281 | February 6, 2024 | |
FEniCS shells mesh | 7 | 623 | December 1, 2023 |