Skip to content

BUG: cyclicACMI & redistributePar Error

Summary

Running redistributePar after decomposing a model with cyclicACMI patches will result in this error...

[0] --> FOAM FATAL ERROR: [0] Inconsistent ACMI patches ACMI2_couple and ACMI2_blockage. Patches should have identical topology [0] [0] From function virtual Foam::label Foam::cyclicACMIPolyPatch::nonOverlapPatchID() const [0] in file AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C at line 538. [0] FOAM parallel run exiting

Steps to reproduce

Modify the Allrun-parallel file in the oscillatingInletACMI2D tutorial, add a runParallel redistributePar line after the decomposePar line. Optionally comment out the solver and reconstruct lines since they aren't needed to reproduce the error. Should look like this...

  • runApplication decomposePar
  • runParallel redistributePar
  • #runParallel $(getApplication)
  • #runApplication reconstructPar

Run the Allrun-parallel file, you'll find the error in log.redistributePar

Example case

oscillatingInletACMI2D tutorial

What is the current bug behaviour?

[0] --> FOAM FATAL ERROR: [0] Inconsistent ACMI patches ACMI2_couple and ACMI2_blockage. Patches should have identical topology [0] [0] From function virtual Foam::label Foam::cyclicACMIPolyPatch::nonOverlapPatchID() const [0] in file AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C at line 538. [0] FOAM parallel run exiting

What is the expected correct behavior?

I expect it to redistribute the already decomposed mesh.

Environment information

  • OpenFOAM version : v1906
  • Operating system : RHEL/Windows 10
  • Hardware info : Intel
  • Compiler : GCC/minGW

bug

Edited by Kutalmış Berçin