diff --git a/src/boundaryConditions/myMovingWallVelocity/myMovingWallVelocityFvPatchVectorField.C b/src/boundaryConditions/myMovingWallVelocity/myMovingWallVelocityFvPatchVectorField.C index 8a498bb5..f3bb21fc 100644 --- a/src/boundaryConditions/myMovingWallVelocity/myMovingWallVelocityFvPatchVectorField.C +++ b/src/boundaryConditions/myMovingWallVelocity/myMovingWallVelocityFvPatchVectorField.C @@ -99,10 +99,11 @@ namespace Foam { oldoldFc_ = oldFc_; oldFc_ = Fc_; - Fc_ = pp.faceCentres(); myTimeIndex_ = mesh.time().timeIndex(); } + Fc_ = pp.faceCentres(); + // const pointField& oldPoints = mesh.oldPoints(); const volVectorField & U = mesh.lookupObject( dimensionedInternalField().name() );