Revert hinv in fvcReconstruct - problem cases.

This commit is contained in:
Hrvoje Jasak 2019-06-09 21:41:57 +01:00
parent b2c5b1f561
commit 070957cff2

View file

@ -90,9 +90,11 @@ reconstruct
// Note: hinv inverse must be used to stabilise the inverse on bad meshes // Note: hinv inverse must be used to stabilise the inverse on bad meshes
// but it gives strange failures. Fixed hinv. HJ, 22/Mar/2019 // but it gives strange failures. Fixed hinv. HJ, 22/Mar/2019
// HJ, 19/Aug/2015 // HJ, 19/Aug/2015
// Temporarily reverting hinv: Vuko Vukcevic, 6/Jun/2019
reconField.internalField() = reconField.internalField() =
( (
hinv // hinv
inv
( (
surfaceSum(sqr(mesh.Sf())/mesh.magSf())().internalField() surfaceSum(sqr(mesh.Sf())/mesh.magSf())().internalField()
) )