fvMesh: Moved functionObject mesh change updates from polyMesh -> fvMesh

Many functionObjects operate on fvMesh objects, in particular vol and surface
fields and they cannot be updated in polyMesh as they depend on fvMesh data
which is updated after polyMesh.
This commit is contained in:
Henry Weller
2022-07-13 16:21:05 +01:00
parent eb7b8763c4
commit ab92fc5a39
4 changed files with 9 additions and 10 deletions

View File

@ -836,7 +836,7 @@ void Foam::functionObjects::fieldValues::surfaceFieldValue::movePoints
if (&mesh == &mesh_)
{
// It may be necessary to reset if the mesh moves
// initialise(dict_);
initialise(dict_);
}
}