- May 27, 2021
-
-
Mark OLESEN authored
STYLE: namespace qualifiers on fa/fv option
-
Mark OLESEN authored
- depending on how the finiteArea is split up across processors, it is possible that some processors have failed to register fields in their object registry. Now ensure that the field names are synchronized in parallel before attempting a write. Replace locally missing fields with a dummy zero-sized field.
-
Mark OLESEN authored
- refine definition of patch boundary faces to distinguish between boundaryFaces() and uniqBoundaryFaces(). * boundaryFaces() for edge to face lookup on boundary edges. * uniqBoundaryFaces() for accessing quantities such as face areas or eroding an outer layer ENH: LabelledItem container, replaces unused 'Keyed' container - method names in alignment with objectHit, pointIndexHit etc. Top-level name aligns with labelledTri.
-
Mark OLESEN authored
- reduces common boilerplate, ensures that label fields are more easily handled.
-
Mark OLESEN authored
- provide '-clean' option for removing old files - handle out of order '-decomposeParDict' as per RunFunctions - implicit no-prompt '-yes' with the shortcuts (eg, -log, -xterm) and set -local if not already defined - accept <return> to select defaults
-
Andrew Heather authored
BUG: normalResidual has the potential to contain uninitialized values See merge request !455
-
-
Andrew Heather authored
TUT: compressible: clean up tutorials See merge request !459
-
-
Andrew Heather authored
ENH: SpalartAllmaras: add estimation functions for k, epsilon and omega See merge request !441
-
Kutalmış Berçin authored
TUT: airfoil2D: clean up the tutorial case
-
Kutalmış Berçin authored
ENH: SpalartAllmaras: reduce peak-memory usage
-
- May 26, 2021
-
-
Mattijs Janssens authored
INT: splineEdge: allowing usage in extrudeMesh. See #1983. See merge request !453
-
Mattijs Janssens authored
-
Andrew Heather authored
TUT: heatTransfer: clean up tutorials See merge request !458
-
-
Andrew Heather authored
Support AMI for multi-world operation See merge request !456
-
Multi-world operation now supports AMI: // What to sample: sampleMode nearestPatchFaceAMI;
- May 20, 2021
-
-
mattijs authored
-
- May 19, 2021
-
-
Mark OLESEN authored
- reflect updated tokenizing of expressions, scotch/paraview version
-
Mark OLESEN authored
-
Mark OLESEN authored
-
-
Mark OLESEN authored
- can now drop older Test-decomposePar for exploration purposes and simply use -dry-run with the -domains and -method options. - write VTK file instead of volScalarField in combination with -dry-run and -cellDist. Avoids adding any OpenFOAM fields and is usually faster to load. Also easier to rename than a volScalarField would be when exploring multiple decompositions.
-
Mark OLESEN authored
-
Mark OLESEN authored
- aligns with the resulting VTK subdirectory name
-
Sergio Ferraris authored
ENH: adjust tokenizing See merge request !452
-
Mark OLESEN authored
- profit from some of the recent modifications to parser expansion TUT: adjust some #eval statements for less clutter
-
Mark OLESEN authored
- reworked from the openfoam.org wordAndDictionary version. Allows, for example, named entries in topoSet.
-
Mark OLESEN authored
-
- May 18, 2021
-
-
Mark OLESEN authored
* removed internal upper limit on word/string length for parsed input. - Although it has not caused many problems, no reason to retain these limits. - simplify some of the internal logic for reading string-like items. - localize parsers for better separation from the header - expose new function seekCommentEnd_Cstyle(), as useful handler of C-style comments * exclude imbalanced closing ')' from word/variable - previously included this into the word/variable, but makes more sense to leave on the parser for the following token. Prevents content like 'vector (10 20 $zmax);' from being parsed as '$zmax)' instead of as '$zmax' followed by a ')'. No conceivable reason that the former would actually be desirable, but can still be obtained with brace notation: Eg, '${zmax)}' * consistent handling of ${{ ... }} expressions - within a dictionary content, the following construct was incorrectly processed: value ${{2*sqrt(0.5)}}; Complains about no dictionary/env variable "{2*sqrt(0.5)}" Now trap expressions directly and assign their own token type while reading. Later expansion can then be properly passed to the exprDriver (evalEntry) instead of incorrectly trying variable expansion. Does not alter the use of expressions embedded within other expansions. Eg, "file${{10*2}}" * improve #eval { ... } brace slurping - the initial implementation of this was rudimentary and simply grabbed everything until the next '}'. Now continue to grab content until braces are properly balanced Eg, the content: value #eval{${radius}*2}; would have previously terminated prematurely with "${radius" for the expression! NOTE: both the ${{ expr }} parsed input and the #eval { ... } input discard C/C++ comments during reading to reduce intermediate overhead for content that will be discarded before evaluation anyhow. * tighten recognition of verbatim strings and expressions. - parser was previously sloppy and would have accepted content such as "# { ..." (for example) as an verbatim string introducer. Now only accept parse if there are no intermediate characters discarded.
-
Mark OLESEN authored
- minor simplification of #if/#endif handling ENH: improve input robustness with negative-prefixed expansions (#2095) - especially in blockMeshDict it is useful to negate an value directly. Eg, ``` xmax 100; xmin -$xmax; ``` However, this fails since the dictionary expansion is a two-step process of tokenization followed by expansion. After the expansion the given input would now be the following: ``` xmax 100; xmin - 100; ``` and retrieving a scalar value for 'xmin' fails. Counteract this by being more generous on tokenized input when attempting to retrieve a label or scalar value. If a '-' is found where a number is expected, use it to negate the subsequent value. The previous solution was to invoke an 'eval': ``` xmax 100; xmin #eval{-$xmax}; ``` which adds additional clutter.
-
- May 17, 2021
-
-
Andrew Heather authored
ENH: splitMeshRegions: combine cellZones. See #2046 See merge request !448
-
-
- May 14, 2021
-
-
Sergio Ferraris authored
refactor and extend handling of faSchemes/fvSchemes See merge request !449
-
- May 13, 2021
-
-
Mark OLESEN authored
- use common base for handling scheme lookups. Extended to support local injection of schemes into the dictionaries during runtime.
-
Mark OLESEN authored
- add const qualifiers on C() methods
-
Andrew Heather authored
collected changes for Lists, faces and PrimitivePatch See merge request !446
-
Mark OLESEN authored
- intended for the following type of use: auto oldHandler = fileHandler(fileOperation::NewUncollated()); ... do something that only works with uncollated // Restore previous (if any) if (oldHandler) { fileHandler(std::move(oldHandler)); } ENH: make fileOperation distributed(bool) mutable - use is "static-like" and akin to Pstream::parRun(bool), thus allow toggling of the switch without a const_cast
-