snappyHexMesh::meshRefinement: clear the mesh before mapping to avoid issues with mapping the mesh flux field
This commit is contained in:
@ -1625,6 +1625,9 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::meshRefinement::balance
|
||||
}
|
||||
Pout<< endl;
|
||||
}
|
||||
|
||||
mesh_.clearOut();
|
||||
|
||||
// Do actual sending/receiving of mesh
|
||||
map = distributor.distribute(distribution);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user