blockMeshMerge: Adjusted merge-tolerance

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1443
This commit is contained in:
Henry 2015-03-05 18:57:18 +00:00
parent 87b68f99ba
commit 3ccbc72aaa

View file

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -118,7 +118,7 @@ void Foam::blockMesh::calcMergeInfo()
// the size of the block. // the size of the block.
boundBox bb(blockCells[blockPlabel].points(blockFaces, blockPoints)); boundBox bb(blockCells[blockPlabel].points(blockFaces, blockPoints));
const scalar mergeSqrDist = magSqr(SMALL*bb.span()); const scalar mergeSqrDist = magSqr(10*SMALL*bb.span());
// This is an N^2 algorithm // This is an N^2 algorithm
@ -582,4 +582,5 @@ void Foam::blockMesh::calcMergeInfo()
} }
// ************************************************************************* // // ************************************************************************* //