PETSC ERROR: Petsc has generated inconsistent data

Dear Pylith team,

I have encountered the following mistake. I don’t know how to solve it. Any suggestions or help will be greatly appreciated.


The code is checking the topology of the mesh after creating the cohesive cells for fault “fault_southern_tianshan”, and it found an inconsistency. This suggests there is something wrong with how the cohesive cells were created. Suggestions for how to fix this:

  • Check that you mark all interior buried edges of faults and set the edge property for the fault to the name of the corresponding nodeset.
  • Check that the fault surface (as defined by the vertices in the fault node set) is simply connected.
  • Make sure no cell has all of its vertices on the fault.
  • Check the mesh quality. The ideal condition number is 1.0. You should aim for all cells having a condition number less than 2.0. A condition number above 5.0 may lead to various problems.