Simplified form of dynamic mesh in load balancing

This commit is contained in:
Hrvoje Jasak 2018-10-24 17:09:25 +01:00
parent 8c81b396f0
commit 59096bd2e1

View file

@ -128,16 +128,6 @@ bool immersedBoundaryDynamicRefineSolidBodyMotionFvMesh::update()
hasChanged = loadBalance(refinementDict());
}
// If the background mesh has not changed, execute dummy mesh sync
// and mesh motion to re-calculate immersed boundary parameters,
// since the immersed boundary has been moved
// HJ, 17/May/2018
if (!hasChanged)
{
fvMesh::syncUpdateMesh();
}
// Execute dummy mesh motion for the background mesh
const pointField oldPoints = allPoints();
fvMesh::movePoints(oldPoints);