mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -114,7 +114,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(10*small*bb.span());
|
const scalar mergeSqrDist = magSqr(20*small*bb.span());
|
||||||
|
|
||||||
// This is an N^2 algorithm
|
// This is an N^2 algorithm
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user