I was simulating a pseudo-2D fluidized bed using TFM method with 20.2.1 version. I got this error:
Time = 0.72876E-01 Dt = 0.10000E-02
Nit P0 U0 V0 P1 U1 V1 G1 Max res
1 2.3E-09 1.2E-05 1.1E-03 2.2E-05 3.1E-05 2.6E-03 1.5E-02 G1
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7fab124bcd01 in ???
#1 0x7fab124bbed5 in ???
#2 0x7fab1218420f in ???
#3 0x5555f311c137 in __fun_avg_MOD_avg_x_e
at /home/mzarepour/Documents/MFiX Simulations/Laverman-Based on Reza Article/Laverman-2D-1/build/model/fun_avg.inc:43
#4 0x5555f32ba06f in __calc_s_ddot_mod_MOD_get_neighbor_vel_at_wall
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/calc_s_ddot_s.f:630
#5 0x5555f32c4b03 in __calc_s_ddot_mod_MOD_calc_s_ddot_s
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/calc_s_ddot_s.f:150
#6 0x5555f32a7f4c in __calc_gr_boundary_MOD_calc_grbdry
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/calc_grbdry.f:148
#7 0x5555f31d77db in __source_u_s_mod_MOD_jj_bc_u_s
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/source_u_s.f:1072
#8 0x5555f31dac03 in __source_u_s_mod_MOD_source_u_s_bc
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/source_u_s.f:792
#9 0x5555f31dffed in __source_u_s_mod_MOD_source_u_s
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/source_u_s.f:466
#10 0x5555f31c141f in u_m_star
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/solve_vel_star.f:268
#11 0x5555f31beffe in __solve_vel_star_mod_MOD_solve_vel_star
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/solve_vel_star.f:134
#12 0x5555f3120c0a in _iterate_MOD_do_iteration
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/iterate.f:255
#13 0x5555f30acdb3 in run_fluid
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/mfix.f:188
#14 0x5555f30acb8c in run_mfix
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/mfix.f:142
#15 0x5555f30ad4d8 in mfix
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/mfix.f:315
#16 0x5555f30adb71 in main
at /home/mzarepour/anaconda3/envs/mfix-20.2.1/share/mfix/src/model/mfix.f:269
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
mpirun noticed that process rank 6 with PID 0 on node simlab05 exited on signal 11 (Segmentation fault).
What has caused the error?