I have been searching on the internet and the forum to understand how I can setup an MFIX-DEM simulation from scratch with parallel runs. I have not seen an option on the GUI for partitioning options or number of processes to run. I saw a post and some replies that were concluding it is possible through Linux. Can you please indicate the steps necessary to run a case on parallel from scratch?
Thank you so much.
Hi Mahdi -
There are two forms of parallelism supported in MFiX: SMP (Shared Memory Parallel) which uses multiple CPUs on a single host, and DMP (Distributed Multiprocessing) which uses multiple hosts on a network (cluster). SMP is supported on Windows and Linux, DMP is Linux-only. Which of these are you interested in?
Hi Charles!
Thank you for your reply. I am starting to experiment MFIX-DEM for laminar flows on my computer first, which has 48 processor. Then I guess SMP will work for me for the moment. I have installed MFIX on Linux.
Thanks.
SMP is fairly straighforward, but you will need to compile the solver with SMP support. In the “Build solver” popup (wrench icon), make sure the SMP option is enabled:
Thank you so much again Charles. Is there any tutorial that shows step by step simulation of a case by building the solver? There is an [advanced tutorials] (3.11. Advanced Tutorials — MFiX 22.1 documentation) section that looks to contain such examples of reacting flows which need solver building, but they are not active.
Thank you.
Oh no, I have not tried yet. I was just wondering the order of steps. So, it is like that you design the geometry, mesh, flow and solid properties, and the turbulent models so on… and then you click on the “build solver” right?
If you are not using UDFs (user-defined functions, i.e. writing your own custom Fortran code) then building the solver is really orthogonal to setting up the model. You can click the little wrench icon any time.
I had MFIX to build the solver using SMP, and then I tried to run it in parallel, and I received this message in the attached picture. Can you please have a look and give me a solution? Thank you so much.