From 2abf2ff49b92151f5b948df5176f9d47f1455661 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Wed, 28 May 2014 12:54:25 +0100
Subject: [PATCH] movingWallVelocityFvPatchVectorField: Update U at the wall
 only if the mesh is 'moving' rather than 'changing'. Resolves bug-report
 http://www.openfoam.org/mantisbt/view.php?id=1305

---
 .../movingWallVelocity/movingWallVelocityFvPatchVectorField.C | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.C
index 11f811e4433..07c79444cb6 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.C
+++ b/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2014 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -107,7 +107,7 @@ void Foam::movingWallVelocityFvPatchVectorField::updateCoeffs()
 
     const fvMesh& mesh = dimensionedInternalField().mesh();
 
-    if (mesh.changing())
+    if (mesh.moving())
     {
         const fvPatch& p = patch();
         const polyPatch& pp = p.patch();
-- 
GitLab