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
This commit is contained in:
Henry
2014-05-28 12:54:25 +01:00
committed by Andrew Heather
parent c36677f1d9
commit 2abf2ff49b

View File

@ -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();