Error with MFiX 22.4

Hello everyone!!
Wish you all a very happy Merry Christmas and Happy New Year in advance!

Today I have installed mfix 22.4 version and started working. After providing the necessary data, I have started the simulation. After sometimes, this warning message have appeared; although the simulation is running. kindly look into the issue.

Thank you,
Rabindra

This is a very unusual error. Please go to the main MFiX menu, click “Submit bug report”, and upload the resulting .zip file which will help us figure out what’s going on here.

Thank you for your response. Please find attached the bug report.
gasifier_0.2ms_60sec_coal_silicasand_29122022_2022-12-29T103424.526748.zip (217.1 KB)

Regards,
Rabindra

Dear MFIX Team, Even I get the same error pointing to the “NUMPY” module, with a error statement “Error: restoring graphics: modle ‘numpy’ has no attribute ‘bool’”
hopper_dem_3d_2022-12-30T193841.872107.zip (7.7 MB)

Would be happy to get a solution for this at the earliest.

with regards,
Govardhan

Looks like numpy depreciated and removed np.bool. I’ll fix this and push it out in the next point release.

As a workaround, with the mfix environment active:

conda install numpy=1.23 -c conda-forge

will revert numpy to a version that will work with the current MFiX code.

Alternately,

# conda activate mfix-22.4
# cd $CONDA_PREFIX  
( on Windows: cd %CONDA_PREFIX% )

edit the file

Lib/site-packages/mfixgui/graphic_tabs.py

and change the line 437 from

        idx = np.sum(array[:, 1:] != -9.8765432e+31, axis=1).astype(np.bool)

to

        idx = np.sum(array[:, 1:] != -9.8765432e+31, axis=1).astype(bool)

(change np.bool to bool). If you do this, you don’t have to change the numpy version.

As Justin said, we will issue a bugfix release shortly, probably next week.

– Charles