faceAgglomerate assumes viewFactorsDict entries are all patch names
Functionality to add/problem to solve
The faceAgglomerate
app reads the viewFactorsDict
(as does the viewFactorsGen
app) . It iterates through the entries and checks if any are patch names. This gives big weirdness if e.g. a patch has the same name as one of the settings needed by viewFactorsGen
.
Target audience
Users of view factor radiation.
Proposal
Put the patch information in viewFactorsDict
in a sub dictionary:
writeViewFactorMatrix true;
writeFacesAgglomeration true;
writePatchViewFactors false;
//- Debug option
debug 1;
//- Dump connectivity rays
dumpRays false;
//- Optional per-patch agglomeration if faceAgglomerate is used
patchAgglomeration
{
".*"
{
nFacesInCoarsestLevel 100; // increase to get more radiation patches (coarse faces)
featureAngle 30; // 0: one radiation patch (coarse face) over one cell face
}
}
//- Maximum length for dynamicList. See /applications/utilities/preProcessing/viewFactorsGen/shootRays.H
maxDynListLength 1000000000;
What does success look like, and how can we measure that?
- be backwards compatible
- use the patchAgglomeration subdictionary if it is there