Skip to content
Snippets Groups Projects
Commit 2abf2ff4 authored by Henry's avatar Henry Committed by Andrew Heather
Browse files

movingWallVelocityFvPatchVectorField: Update U at the wall only if the mesh is...

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
parent c36677f1
Branches
Tags
No related merge requests found
......@@ -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();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment