ENH: finiteArea: improve robustness in code sections vulnerable to math errors
It has been observed that the finite-area framework is prone to numerical issues when zero-valued edge lenghts, edge/face normals and face areas exist. To improve exception handling at identified code sections to gracefully overcome math errors, the problematic entities are lower-bounded by SMALL.
Showing
- applications/solvers/finiteArea/liquidFilmFoam/capillaryCourantNo.H 1 addition, 1 deletion...ns/solvers/finiteArea/liquidFilmFoam/capillaryCourantNo.H
- src/finiteArea/faMesh/faMeshDemandDrivenData.C 81 additions, 0 deletionssrc/finiteArea/faMesh/faMeshDemandDrivenData.C
- src/finiteArea/faMesh/faPatches/faPatch/faPatch.C 13 additions, 1 deletionsrc/finiteArea/faMesh/faPatches/faPatch/faPatch.C
- src/finiteArea/finiteArea/gradSchemes/leastSquaresFaGrad/leastSquaresFaVectors.C 14 additions, 0 deletions...ea/gradSchemes/leastSquaresFaGrad/leastSquaresFaVectors.C
- src/finiteArea/interpolation/edgeInterpolation/edgeInterpolation.C 45 additions, 36 deletions...eArea/interpolation/edgeInterpolation/edgeInterpolation.C
- src/finiteArea/interpolation/edgeInterpolation/schemes/NVDscheme/faNVDscheme.C 12 additions, 0 deletions...olation/edgeInterpolation/schemes/NVDscheme/faNVDscheme.C