blockMeshMerge: Changed the mergeSqrDist slightly to compensate for the change SMALL -> small

Resolves bug-report https://bugs.openfoam.org/view.php?id=3203
This commit is contained in:
Henry Weller
2019-03-19 16:36:35 +00:00
parent fa2ea1098a
commit eb0ce5d792

View File

@ -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