diff --git a/src/finiteVolume/fvMesh/fvMeshGeometry.C b/src/finiteVolume/fvMesh/fvMeshGeometry.C index 25b643f41dea37670f571f6321dd0196a2681211..8006caf0a90052d3709d363ed599921be03356e4 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<cyclicFvPatchVectorField>(C.boundaryField()[patchi])) + if + ( + isA<cyclicFvPatchVectorField>(C.boundaryField()[patchi]) + || isA<cyclicAMIFvPatchVectorField>(C.boundaryField()[patchi]) + ) { // Note: cyclic is not slice but proper field C.boundaryField()[patchi] == static_cast<const vectorField&>