diff --git a/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C b/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C index 5704677d79..da3e823c13 100644 --- a/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C +++ b/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C @@ -42,7 +42,7 @@ activeBaffleVelocityFvPatchVectorField fixedValueFvPatchVectorField(p, iF, dict, false), pName_(dict.lookupOrDefault("p", "p")), cyclicPatchName_(dict.lookup("cyclicPatch")), - cyclicPatchLabel_(p.patch().boundaryMesh().findPatchID(cyclicPatchName_)), + cyclicPatchLabel_(p.patch().boundaryMesh().findIndex(cyclicPatchName_)), orientation_(dict.lookup