0

How to extrat the results from OUTPUT in TOUGH3

I am currently conducting a large-scale simulation (over 1 million grids). I found that the OUTPUT_ELEMENT.csv file is missing some time steps and results for certain elements. However, after checking the OUTPUT file, I found that these results do exist. I am not sure what happened. Is there a way to re-extract the results from the OUTPUT file?🙂

2 replies

null
    • Keurfon_Luu
    • 2 mths ago
    • Reported - view
    import toughio
    
    output = toughio.read_output("OUTPUT")
    toughio.write_output("OUTPUT_ELEME.csv", output)
    

    The Python code snippet above should do the trick. It's basically reading the standard output file, and then convert it to a CSV file similar to OUTPUT_ELEME.csv.

      • xusheng_chen.1
      • 1 mth ago
      • Reported - view

       Thanks for your advice! It seems to work. However, the OUTPUT file is too large (over 10GB), and using toughio is quite time-consuming. I'll look for easier ways to re-extract the results if possible.

Content aside

  • 1 mth agoLast active
  • 2Replies
  • 23Views
  • 2 Following