2

TOUGHIO CO2 Leakage Along a Fault

TOUGHIO CO2 Leakage Along a Fault

Generate MESH and INCON files

In the second step, I showed that there was a problem with my index, but I checked the files and there was no problem according to the case, and did anyone help me see what the problem was

3 replies

null
    • Keurfon_Luu
    • 3 wk ago
    • Reported - view

    Hi,

    This is likely due to Numpy v2 which is not yet supported by toughio (working on that). Please downgrade to Numpy v1.26 or install toughio in an environment using that version of Numpy.

      • Postgraduate Student
      • Jingbo_Xu
      • 11 days ago
      • Reported - view

       Hi, Dear Keurfon Luu,

      I noticed that add this snippet after exporting the mesh could help ensure the cell connectivity data is properly converted to integers:

      import meshio
      
      mesh = meshio.read("mesh.vtu")
      for cell_block in mesh.cells:
          cell_block.data = cell_block.data.astype(int)
      meshio.write("mesh.vtu", mesh, file_format="vtu")
      
      • quartz_shoe
      • 11 days ago
      • Reported - view

        Thank you very much, it works fine after reloading, but maybe there is a problem in the grid again, do you know what the reason is?

Content aside

  • 2 Likes
  • 11 days agoLast active
  • 3Replies
  • 21Views
  • 3 Following