Bugfix: removed Warning message for moving mesh

This commit is contained in:
Hrvoje Jasak 2016-05-11 21:52:46 +01:00
parent 492b696626
commit 7a69c0287c

View file

@ -117,14 +117,14 @@ void Foam::flowRateInletVelocityFvPatchVectorField::updateCoeffs()
return;
}
if (patch().boundaryMesh().mesh().moving())
{
WarningIn
(
"void flowRateInletVelocityFvPatchVectorField::updateCoeffs()"
) << "Patch area not correctly updated on mesh motion"
<< endl;
}
// if (patch().boundaryMesh().mesh().moving())
// {
// WarningIn
// (
// "void flowRateInletVelocityFvPatchVectorField::updateCoeffs()"
// ) << "Patch area not correctly updated on mesh motion"
// << endl;
// }
// A simpler way of doing this would be nice
scalar avgU = -flowRate_/(gSumArea_ + SMALL);