ENH: faceAgglomerate: more robust. Fixes #2741

- feature angle compared to real angle
- stop agglomerating if number of marked edges does not change
This commit is contained in:
mattijs
2023-04-06 13:33:18 +01:00
parent 5de59417f8
commit d51967d728
4 changed files with 352 additions and 137 deletions

View File

@ -14,9 +14,26 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
writeViewFactorMatrix true;
writePatchViewFactors false;
// dumpRays true;
writeViewFactorMatrix true;
writePatchViewFactors false;
// Write rays as lines to .obj file
//dumpRays true;
// Switch on debug for faceAgglomerate
//debug 1;
writeFacesAgglomeration true;
patchAgglomeration
{
// Do all of the view-factor patches
viewFactorWall
{
nFacesInCoarsestLevel 10;
featureAngle 45;
}
}
maxDynListLength 200000;