
All required documentation on the download, compilation and run of the MFIX code is found at https://mfix.netl.doe.gov/products/mfix/mfix-documentation/

System requirements:

In our manuscript we used the MFIX version 21.1.4 that can be installed on Linux, Windows or Mac OS operating systems.

Installation guide.

Compiling on a local computer is very straightforward and can be achieved through the GUI. See the documentation at https://mfix.netl.doe.gov/products/mfix/mfix-documentation/

On HPC, compiling the code will depend on the cluster and one has to find out what modules are available on the target cluster.

On the Talapas cluster that uses SLURM, we compiled in parallel using the following commands:
conda activate mfix-21.1.4
module load intel/17
module load intel-mpi
export FC=mpif90
build_mfixsolver --batch -j --dmp

DEMO
1. Place the subroutines shared in our Zenodo repository in your run directory and recompile the code.
2. Run the code once compilation is completed and successful.

Instruction for Use
If a parameter is changed in the GUI, one does not need to recompile the code. However, if a parameter is changed in any of the subroutines (*.f) files, one needs to recompile the code as they did initially.

In line 636 of calc_mu_s the fragmentation rate (R23) parameter is defined:
    R23 = 1.975E+00  ! IN Kg/(m3.s)

Note: The code will run time will depend on the resources used. In DMP, with 8 cores, it typically takes <8h to run the code.
