mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: nearWallDist not updated throughout optimisation loops
Partially fixes #2502 (see discussion there)
This commit is contained in:
committed by
Andrew Heather
parent
03b2023db8
commit
a5f59cd903
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user