0

How to visualize MESH file (output from TOUGH3) in paraview?

Hello TOUGH3 Forum

I got MESH file as a output of TOUGH3 simulation (attached) and want to visualize it in paraview.

I have also tryied to read this MESH file in Python(spyder) importing toughio but it shows AttributeError: module 'toughio' has no attribute 'read_input '

How could I solve my present problem, please let me know If you have any suggestions.

1 reply

null
    • Keurfon_Luu
    • 1 yr ago
    • Reported - view

    Hi Parlin,

    How did you generate your MESH file? MESH is not a simulation output, it only contains mesh data required by TOUGH (e.g., cell volumes, centroid coordinates...).

    Can you also post the Python script you tried to read your MESH file?

    The following code works:

    import toughio
    
    parameters = toughio.read_input("MESH")
    

Content aside

  • 1 yr agoLast active
  • 1Replies
  • 137Views
  • 2 Following