From a843d76a59114c82b29fcae166d718679a1c0837 Mon Sep 17 00:00:00 2001 From: graham Date: Thu, 13 Jan 2011 11:37:59 +0000 Subject: [PATCH] ENH: Change tet tolerance: 1e-62 quality tet found to be too flat. --- .../polyMeshTetDecomposition/polyMeshTetDecomposition.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C b/src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C index 893a299632..44e65e4c16 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2010-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -30,8 +30,7 @@ License // Note: the use of this tolerance is ad-hoc, there may be extreme // cases where the resulting tetrahedra still have particle tracking // problems, or tets with lower quality may track OK. -// const Foam::scalar Foam::polyMeshTetDecomposition::minTetQuality = SMALL; -const Foam::scalar Foam::polyMeshTetDecomposition::minTetQuality = ROOTVSMALL; +const Foam::scalar Foam::polyMeshTetDecomposition::minTetQuality = sqr(SMALL); // * * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * //