Dear CFDEM users,
I want to use the cfdem interface for reacting flows. For that I thought of combining coalChemistryFoam with cfdemSolverPiso_shared. During modifying I just try to run serially and come to know that cfdemSolverPiso_shared produces bugs:
........
.......
Reading g
Selecting locateModel standard
Selecting momCoupleModel implicitCouple
Selecting dataExchangeModel twoWayMPI
twoWayMPI.C- this should no longer be needed
Starting up LIGGGHTS for first time execution
*** An error occurred in MPI_Comm_rank
*** before MPI was initialized
*** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)
[stokes:9608] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed!
Which seems that this solver is designed to run only parallel. Is it really the case?
Has somebody tried to run it serially? While it runs perfectly fine with parallel.
Regards,
Naveed
cgoniva | Wed, 04/20/2011 - 12:06
Hi Naveed! If you want to run
Hi Naveed!
If you want to run each side (CFD and DEM) in serial, you need to use the file based coupling.
The MPI coupling needs at least two processors, to my knowledge you cannot run the CFD solver with mpirun and only one processor. (that's why)
Cheers,
Chris
niqbal | Wed, 04/20/2011 - 14:03
Hi Chris
Hi Chris,
Thanks for the reply. Yes you are right actually I have not run it with mpirun. I just tried to run it with cfdemSolverPiso_shared. It seems to me that this interface is hard coded for MPI parallel run and can not be used for serial run like other OF solvers. Is there some constraint to change it to the standard way of implementation?
Do you have any idea about the scaling of the code? Can it be used for any arbitrary number of processors?
Best Regards,
Naveed
ckloss | Wed, 04/20/2011 - 14:44
to make it short: 1 proc - no
to make it short:
1 proc - no mpirun - file coupling
2 or more proc - mpirun - MPI coupling
>>Can it be used for any arbitrary number of processors?
yes - but not yet benchmarked.
Christoph
niqbal | Wed, 04/20/2011 - 15:05
Hi Chris and Christoph,
Hi Chris and Christoph,
Thanks for your valuable informations.
Regards,
Naveed
cgoniva | Wed, 04/20/2011 - 14:52
Hi Naveed, "It seems to me
Hi Naveed,
"It seems to me that this interface is hard coded for MPI parallel run and can not be used for serial run like other OF solvers."
this is not correct, you can run it with each, the cfd and dem being run in serial, but you have to switch to file coupling!
(as done with version 1.0)
Cheers,
Chris
vinaym | Wed, 11/25/2015 - 15:14
couple/cfd file coupling
Hi Christoph,
Digging old tread. I want to run CFDEM in serial. Can you please guide me about the file coupling options on LIGGGHTS side? Fix couple/cfd command in particular. What is its syntax for file coupling and not MPI?
Could not find it in LIGGGHTS documentation. Neither could I find any such example in the tutorials.
Thanks.