ENH: snappyHexMesh: consistent trigger logic. See #2379

This commit is contained in:
mattijs
2022-03-30 14:56:55 +01:00
parent 35fef5faa6
commit 39064f65e9

View File

@ -3578,7 +3578,7 @@ void Foam::snappyRefineDriver::doRefine
}
if (refineParams.minCellFraction() > 0)
if (refineParams.minCellFraction() > 0 || refineParams.nMinCells() > 0)
{
// Some small disconnected bits of mesh might remain since at
// this point faceZones have not been converted into e.g. baffles.