Bugfix: cannot recalculate deltaCoeffs in a mesh after topo change due to zero volume/area elements. Move into movePoints
This commit is contained in:
parent
6a41a3a022
commit
cf76aac792
1 changed files with 4 additions and 5 deletions
|
@ -555,11 +555,11 @@ void Foam::fvMesh::updateMesh(const mapPolyMesh& mpm)
|
|||
// This is a temporary solution
|
||||
surfaceInterpolation::movePoints();
|
||||
|
||||
// Note: deltaCoeffs cannot be left on lazy evaluation on mesh motion
|
||||
// because tangled comms will occur when they are accessed from
|
||||
// individual boundary conditions
|
||||
// Note:
|
||||
// Not allowed to call deltaCoeffs here because the faces and cells may be
|
||||
// at zero area/volume. It will be called in movePoints after the
|
||||
// topo change.
|
||||
// HJ, VV and IG, 25/Oct/2016
|
||||
deltaCoeffs();
|
||||
|
||||
// Function object update moved to polyMesh
|
||||
// HJ, 29/Aug/2010
|
||||
|
@ -586,7 +586,6 @@ void Foam::fvMesh::syncUpdateMesh()
|
|||
// because tangled comms will occur when they are accessed from
|
||||
// individual boundary conditions
|
||||
// HJ, VV and IG, 25/Oct/2016
|
||||
deltaCoeffs();
|
||||
|
||||
// Function object update moved to polyMesh
|
||||
// HJ, 29/Aug/2010
|
||||
|
|
Reference in a new issue