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