question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I wonder what are good ways to treat mixed meshes; e.g. a combination of triangles and quadrilaterals. I recently received one with wedges #411 and tetrahedra, but I would envisage treating the tri–quad case first. One of these arose by accident in one of the examples when Gmsh failed to combine all the triangles into quadrilaterals. #288

I wonder whether this could be done with the library as is, using multiple meshes with the same points, a bit like subdomains (but not literal Mesh.subdomains); a meshio.Mesh can support blocks of cells of different types on the one array of points.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
kinnalacommented, Aug 27, 2021

If you have several of these tuples (Mesh, Element) and some kind of pair (BasisType, Form) you should be assemble the meshes and the elements at one go. E.g., me = [(MeshTri(...), ElementTriP1()), (MeshQuad(...), ElementQuad1())] (meshes may share indices) and then A = multiasm(me, CellBasis, laplace) would work out the parallelization and fixing Dofs objects and combining the result.

1reaction
kinnalacommented, Jun 29, 2020

I was thinking this while working on #400 but didn’t yet do anything about it. I think the correct way to do it is to create multiple Mesh-like entities that share the indices of the corresponding nodes. Then the rest of the machinery from InteriorBasis to BilinearForm should detect that there are multiple meshes and then ultimately try to combine them into a single matrix. But it requires some major changes, I could keep this in mind when continuing from #400 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

On using meshes of mixed element types in adaptive finite ...
Abstract. Four different automatic mesh generators capable of generating either triangular meshes or hybrid meshes of mixed element types have been used in...
Read more >
Mixed Mesh (FEM mode) - PTC Support
Use mixed meshing with parts or assemblies that have both solid and thin portions. If you selected mixed meshing, Creo Simulate meshes the...
Read more >
Mixed Order Mesh Curving | SpringerLink
Linear hybrid unstructured meshes are elevated to mixed-order meshes in response to geometry curvature. The linear meshes are elevated to ...
Read more >
Meshing - 2018 - SOLIDWORKS Help
Meshing. Finite Element Analysis (FEA) provides a reliable numerical ... The software automatically creates a mixed mesh of solid, shell and beam elements....
Read more >
Generation of 3D mixed element meshes using a flexible ...
This paper describes and discusses the main characteristics and implementation issues of a 3D mixed element mesh generator based on a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found