Skip to content

Adding features to mesh_doctor #2270

@TotoGaz

Description

@TotoGaz

Let's add new checks to mesh_doctor!

First batch of features done in #2274 :

  • Check that all the elements of the mesh are supported (including that polyhedra can be converted into supported elements).
  • Warn about "non-conformal" elements (in the sense that two close facing elements should not be shifted).
  • Allow reordering of support nodes for the elements. A right-hand left-hand rule could be fixed easily.
  • Checks that the polyhedra have their normals directed outwards. (not exposed through the CLI though)

More checkes:

  • Improve the fracture generation in mesh_doctor #2857
  • Improve the collocated_nodes feature so it handles the fractures as well (the nodes aside the fracture are legitimately colocated, but it creates noise that prevents from finding real issue).
  • Check that the fractured mesh is consistent (collocated nodes are really collocated)
  • Validate ranges of fields (e.g. density should be positive). Printing statistics for fields can be enough. Check for NaN. Check for connection numbers (can be useful since some arrays have a maximum size based on number of connections.)
  • Build some mesh statistics (cell types, cell sizes, number of cells sharing the same node, etc.)
  • Add a field manipulation feature that will (among other features) allow to grab one field from an output simulation into the input of another.
  • Try to find holes in the mesh.
  • Find isolated elements (unused points, disconnected cell...)
  • Pre-split tags can be erroneous issues Pre-split tags can be erroneous  #3222 and Pre-split tags can be erroneous geosPythonPackages#31 (comment)

Create a paraview plugin

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions