ENH: snappyHexMesh: multi-stage layer addition, automatic hole closure

Automatic hole closure:
- introduces 'holeToFace' topoSet source
- used when detecting a 'leak-path'
- creates additional baffles to close the leak

Multi-stage layer addition:
- Can add layers in multiple passes

See issues: #2403, #2404
This commit is contained in:
mattijs
2020-07-16 17:05:33 +01:00
parent 0eb52766c0
commit 5e2d8d6ed2
51 changed files with 8184 additions and 1581 deletions

View File

@ -14,25 +14,9 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 2;
//- Use the volScalarField named here as a weight for each cell in the
// decomposition. For example, use a particle population field to decompose
// for a balanced number of particles in a lagrangian simulation.
// weightField dsmcRhoNMean;
method scotch;
constraints
{
//- Keep owner and neighbour of baffles on same processor
// (i.e. keep it detectable as a baffle).
// Baffles are two boundary face sharing the same points.
baffles
{
type preserveBaffles;
}
}
numberOfSubdomains 3;
// For testing only: use random decomposition.
method random;
// ************************************************************************* //