je-santos / MPLBM-UT

Library for performing multiphase simulations (based on the Shan-Chen model) in complicated geometries (i.e. porous media 3D images)
GNU General Public License v3.0
150 stars 58 forks source link

coming to error "list index out of range" #88

Closed mhayatdavoudi closed 1 year ago

mhayatdavoudi commented 1 year ago

I am trying to run the code in colaboratory. I have done all steps. even the the code is executed and shows "Running sim 8 of 8 PoreSpy Snw = 0.9999889559101527". but all of a sudden the error "Traceback (most recent call last): File "/content/drive/MyDrive/Palabos/MPLBM-UT/examples/steady_state_relperm/2_phase_sim.py", line 241, in inputs = organize_2_phase_outputs_for_relperm(inputs, sim_counter) File "/content/drive/MyDrive/Palabos/MPLBM-UT/examples/steady_state_relperm/2_phase_sim.py", line 178, in organize_2_phase_outputs_for_relperm last_rho_config = rho_files[-1] IndexError: list index out of range" comes to me. I do not know what the error is. I would appreciate if you could help me.

engphb commented 2 months ago

I have the same problem. How can I correct it?