Skip to content
Snippets Groups Projects
Commit 5937c37a authored by Vaggelis Papoutsis's avatar Vaggelis Papoutsis
Browse files

BUG: nearWallDist not updated throughout optimisation loops

Partially fixes #2502 (see discussion there)
parent 79352084
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,10 @@ void Foam::displacementMethod::update() ...@@ -128,7 +128,10 @@ void Foam::displacementMethod::update()
mesh_.movePoints(tnewPoints()); mesh_.movePoints(tnewPoints());
scalar timeAft = mesh_.time().elapsedCpuTime(); scalar timeAft = mesh_.time().elapsedCpuTime();
Info<< "Mesh movement took " << timeAft - timeBef << " seconds" << endl; Info<< "Mesh movement took " << timeAft - timeBef << " seconds" << endl;
mesh_.moving(false); if (!mesh_.steady())
{
mesh_.moving(false);
}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment