RES file reading error

Sometimes reading the .RES file in Paraview leads to Segmentation fault(core dumped) and unexpected program closure. Also, trying to read the .RES file using the postmfix leads to the following error:

At line 54 of file /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/post_mfix/seek_time.f (unit = 61, file = ‘IMMERSED.SP1’)
Fortran runtime error: Non-existing record number

Error termination. Backtrace:
#0 0x7ffa13097d01 in ???
#1 0x7ffa13098849 in ???
#2 0x7ffa1309952f in ???
#3 0x7ffa132e00d4 in ???
#4 0x558ed4ae66c2 in seek_time_
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/post_mfix/seek_time.f:54
#5 0x558ed4ab7891 in examine_data_
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/post_mfix/examine_data.f:1027
#6 0x558ed4ac797e in f_init_
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/post_mfix/finit.f:163
#7 0x558ed4aad50e in post_mfix
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/post_mfix/main_f.f:9
#8 0x558ed4aad50e in main
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/post_mfix/main_f.f:12

What causes the problem?

not an expert about this, but I always use vtk outputs and never had issues in years using ParaView. You can write them for TFM and DEM-CFD and other models.

Can you attach the .RES file and the file IMMERSED.SP1 ?

i AM FACING THE SAME ISSUE CAN YOU PLEASE RESOLVE IT ASAP
fluid_bed_tfm_2d15565566565.mfx (8.6 KB)

The transient data is saved in the Spx files, the .RES file only stores a snapshot of the simulation at a given time. You are saving data every 100 seconds in the SPx files and the simulation only runs for 6 seconds, so there is no data to show. Set all the SPx file write intervals to say 0.1 seconds.

It is recommended to use vtk files instead of the legacy Spx files to visualize the data. Paraview will crash if the Spx files become very large (more than 1-2 GB).