error saying "Message not fully consumed" at 1st CFD time step

Submitted by atul2018 on Wed, 03/09/2022 - 10:45

Hello Community

I am facing this strange error when performing CFDEM simulation. I prepare gravel bed in channel cavity by performing pure DEM simulations and then use restart file written in pure DEM simulation to perform a coupled simulation. At the very first time CFD time step, I get error mentioning that Message from processor XX is not fully consumed. I have looked online if someone has faced similar problem but I cpuld not get any similar post. More specifically the error says:

timeStepFraction() = 1
[70]
[70]
[70] --> FOAM FATAL ERROR:
[70] Message from processor 77 not fully consumed. messageSize:2425 bytes of which only 0 consumed.
[70]
[70] From function Foam::PstreamBuffers::~PstreamBuffers()
[70] in file db/IOstreams/Pstreams/PstreamBuffers.C at line 69.
[70]
FOAM parallel run aborting
...
...
... (and so on)

I wonder what is causing this communication problem between the processors. My pure DEM (Liggghts case) and pure CFD (OpenFOAM) case is running well without any communication problem between the processors. Please help!

Best Regards
Atul

atul2018 | Mon, 03/14/2022 - 11:28

In case someone faces this issue in the future.

In my case It worked by preserving the cyclic patches in decomposeParDict. I was suing cyclic bc @inlet_ and @outlet_. I addes following line in my decomposeParDict:

preservePatches (inlet_, outlet_)

Cheers
Atul