Skip to content

BUG: patchPostProcessing: Header file content is not written by parallel executions.

Summary

The header file content is not written by patchPostProcessing to *.post files in parallel executions.

Steps to reproduce

cd $FOAM_TUTORIALS/lagrangian/reactingParcelFoam/filter
./Allrun
mv postProcessing pp.serial
./Allrun-parallel
mv -r postProcessing pp.parallel
diff pp.serial/lagrangian/reactingCloud1/patchPostProcessing1/5/cycLeft_half0.post pp.parallel/lagrangian/reactingCloud1/patchPostProcessing1/5/cycLeft_half0.post

What is the current bug behaviour?

The header content is written by

the serial execution:

# Time currentProc (position0 position1 position2) nParticle d (U0 U1 U2) (UTurb0 UTurb1 UTurb2) T

the parallel execution (only scotch):

# Time currentProc

What is the expected correct behavior?

The serial and parallel only scotch executions should write the same header content.

Environment information

  • OpenFOAM version : Build : 18c68e6b-20200806 OPENFOAM=2006 patch=200727 + Arch : "LSB;label=32;scalar=64"
  • Operating system : suse
  • Compiler : gcc
Edited by Kutalmış Berçin