ENH: primitiveMesh: make geometry calculation runtime selectable

This adds a 'geometry' scheme section to the system/fvSchemes:

geometry
{
    type            highAspectRatio;
}

These 'fvGeometryMethod's are used to calculate
- deltaCoeffs
- nonOrthoCoeffs
etc and can even modify the basic face/cellCentres calculation.
This commit is contained in:
Mattijs Janssens
2020-12-11 10:31:34 +00:00
committed by Andrew Heather
parent 4a166c6f3e
commit 46dbfabd9d
70 changed files with 10039 additions and 895 deletions

View File

@ -6,6 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016 OpenFOAM Foundation
Copyright (C) 2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -101,13 +102,22 @@ public:
// Constructors
//- Construct for given objectRegistry and dictionary
//- Construct for given objectRegistry and dictionary name
solution
(
const objectRegistry& obr,
const fileName& dictName
);
//- Construct for given objectRegistry, dictionary name and (optional)
// content (gets used in case of NO_READ or dictionary cannot be read)
solution
(
const objectRegistry& obr,
const fileName& dictName,
const dictionary& dict
);
// Member Functions