diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C index 9c67211448..2f5598f2dd 100644 --- a/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C @@ -345,8 +345,16 @@ Foam::cyclicAMIFvPatchField::getNeighbourField template bool Foam::cyclicAMIFvPatchField::cacheNeighbourField() const { - return false; - return (FieldBase::localBoundaryConsistency() != 0); + const auto& AMI = this->ownerAMI(); + + if (AMI.cacheActive()) + { + return false; + } + else + { + return (FieldBase::localBoundaryConsistency() != 0); + } }