BUG: nearWallDist not updated throughout optimisation loops

Partially fixes #2502 (see discussion there)
This commit is contained in:
Vaggelis Papoutsis
2022-06-01 18:40:12 +03:00
committed by Andrew Heather
parent 03b2023db8
commit a5f59cd903

View File

@ -128,7 +128,10 @@ void Foam::displacementMethod::update()
mesh_.movePoints(tnewPoints());
scalar timeAft = mesh_.time().elapsedCpuTime();
Info<< "Mesh movement took " << timeAft - timeBef << " seconds" << endl;
mesh_.moving(false);
if (!mesh_.steady())
{
mesh_.moving(false);
}
}