diff --git a/src/finiteVolume/fvMesh/fvMeshGeometry.C b/src/finiteVolume/fvMesh/fvMeshGeometry.C index 25b643f41d..8006caf0a9 100644 --- a/src/finiteVolume/fvMesh/fvMeshGeometry.C +++ b/src/finiteVolume/fvMesh/fvMeshGeometry.C @@ -31,6 +31,7 @@ License #include "slicedSurfaceFields.H" #include "SubField.H" #include "cyclicFvPatchFields.H" +#include "cyclicAMIFvPatchFields.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -158,7 +159,11 @@ void fvMesh::makeC() const forAll(C.boundaryField(), patchi) { - if (isA(C.boundaryField()[patchi])) + if + ( + isA(C.boundaryField()[patchi]) + || isA(C.boundaryField()[patchi]) + ) { // Note: cyclic is not slice but proper field C.boundaryField()[patchi] == static_cast