From eb0ce5d792a191b0a1a2e13add127245ee7c2136 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 19 Mar 2019 16:36:35 +0000 Subject: [PATCH] blockMeshMerge: Changed the mergeSqrDist slightly to compensate for the change SMALL -> small Resolves bug-report https://bugs.openfoam.org/view.php?id=3203 --- src/mesh/blockMesh/blockMesh/blockMeshMerge.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesh/blockMesh/blockMesh/blockMeshMerge.C b/src/mesh/blockMesh/blockMesh/blockMeshMerge.C index 77da86994..2608edb5c 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 | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -114,7 +114,7 @@ void Foam::blockMesh::calcMergeInfo() // the size of the block. boundBox bb(blockCells[blockPlabel].points(blockFaces, blockPoints)); - const scalar mergeSqrDist = magSqr(10*small*bb.span()); + const scalar mergeSqrDist = magSqr(20*small*bb.span()); // This is an N^2 algorithm