From 891e41e7c7bddb09bb6d9356ab46c7d875382f1f Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Thu, 5 Mar 2015 18:57:18 +0000 Subject: [PATCH] blockMeshMerge: Adjusted merge-tolerance Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1443 --- src/mesh/blockMesh/blockMesh/blockMeshMerge.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesh/blockMesh/blockMesh/blockMeshMerge.C b/src/mesh/blockMesh/blockMesh/blockMeshMerge.C index 5d0d7f42176..c5263c53c35 100644 --- a/src/mesh/blockMesh/blockMesh/blockMeshMerge.C +++ b/src/mesh/blockMesh/blockMesh/blockMeshMerge.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -118,7 +118,7 @@ void Foam::blockMesh::calcMergeInfo() // the size of the block. 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 @@ -582,4 +582,5 @@ void Foam::blockMesh::calcMergeInfo() } + // ************************************************************************* // -- GitLab