- 11 Dec, 2019 2 commits
-
-
Mark Olesen authored
- remove/fully deprecated newElmt in next release
-
Mark Olesen authored
-
- 10 Dec, 2019 7 commits
-
-
Mark Olesen authored
- these are the expressions equivalent of funkySetFields and funkySetBoundaryFields
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
- make ensightParts parallel-aware when handling zones and patches STYLE: use of serial/parallel more evident in write templates
-
Mark Olesen authored
- not yet triggered by any code, but avoid anyhow
-
- 09 Dec, 2019 6 commits
-
-
The optional 'fields' entry can be used to limit which particle fields are written to file. If empty/not specified, all properties are written to maintain backwards compatibility. patchPostProcessing1 { type patchPostProcessing; maxStoredParcels 20; fields (position "U.*" d T nParticle); patches ( cycLeft_half0 cycLeft_half1 ); }
-
-
File writing is off by default; to activate, add to the patch interaction model coeff dictionary writeToFile yes;
-
Mark Olesen authored
- replace stringOps::toScalar with a more generic stringOps::evaluate method that handles scalars, vectors etc. - improve #eval to handle various mathematical operations. Previously only handled scalars. Now produce vectors, tensors etc for the entries. These tokens are streamed directly into the entry.
-
Mark Olesen authored
-
Mark Olesen authored
-
- 06 Dec, 2019 9 commits
-
-
-
Andrew Heather authored
This condition applies a scalar multiplier to the value of another boundary condition. Usage Property | Description | Required | Default value scale | Time varing scale | yes | patch | patchField providing the raw patch value | yes | Example of the boundary condition specification to scale a reference velocity of (15 0 0) supplied as a fixedValue by a table of values that ramps the scale from 0 to 1 over 1 second: <patchName> { type scaledFixedValue; scale table ( ( 0 0) ( 1.0 1.0) (100.0 1.0) ); patch { type fixedValue; value uniform (15 0 0); } }
-
Andrew Heather authored
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
- include the trailing newline for the "// comment" form, but also add in leading space removal. This ensure that we do not introduce odd indentation, while also eliminating lines that are solely C++ comments.
-
Mark Olesen authored
-
Mark Olesen authored
- output the "uniform", "nonuniform" Field entry tags as words instead of raw character strings, which can help for direct tokenization or when sending/receiving via Pstreams.
-
Mark Olesen authored
-
- 03 Dec, 2019 1 commit
-
-
Mark Olesen authored
- include some specialization for zip/unzip fields
-
- 09 Dec, 2019 1 commit
-
-
Mark Olesen authored
-
- 06 Dec, 2019 2 commits
-
-
Mark Olesen authored
- some support for "uniform" bool fields. Calculating an averaged value for a boolField does not work very well, but we simply define that the field average is 'true' when more than 1/2 of its values are true. Not exactly true, but allows templated definitions to work smoothly. - additional output method writeValue(). This outputs the single (uniform) value or the first value of the field.
-
Mark Olesen authored
- ITstream append() would previously have used the append from the underlying tokenList, which leaves the tokenIndex untouched and renders the freshly appended tokens effectively invisible if interspersed with primitiveEntry::read() that itself uses tokenIndex when building the list. The new append() method makes this hidden ITstream bi-directionality easier to manage. For efficiency, we only append lists (not individual tokens) and support a 'lazy' resizing that allows the final resizing to occur later when all tokens have been appended. - The new ITstream seek() method provides a conveniently means to move to the end of the list or reposition to the middle. Using rewind() and using seek(0) are identical. ENH: added OTstream to output directly to a list of tokens --- BUG: List::newElem resized incorrectly - had a simple doubling of the List size without checking that this would indeed be sufficient for the requested index. Bug was ...
-
- 07 Dec, 2019 2 commits
-
-
Mark Olesen authored
- add functor versions of floor/ceil/round for scalar
-
Mark Olesen authored
-
- 09 Dec, 2019 1 commit
-
-
mattijs authored
This adds automatic deletion of cells inside small gaps. This is generally used to avoid having excessive numbers of cells in irrelevant areas of a geometry. It is nearly the opposite of automatic gap refinement - that refines cells to resolve the gap; this functionality removes cells to not mesh the gap. The proximity handling will remove those cells which are inside 'thin' gaps where 'thin' is defined as a distance of 2*'blockLevel' It will - detect surfaces which have the new 'blockLevel' specification - convert this to a minimum gap distance - detect cells which are inside this gap - remove these cells and add exposed faces to the nearest 'real' patch
-
- 03 Dec, 2019 1 commit
-
-
Mark Olesen authored
-
- 02 Dec, 2019 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
- The case files may contain #... comment lines - The geometry file may contain an optional "extents" entry - Properly handle element id specifications (off|assign|ignore|given). - Partially handle node id specifications (off|assign|ignore|given). Treat "given" like "ignore", since results in the lightest amount of coding and in many cases the "given" node ids are in fact 1-based contiguous values and thus no different than "ignore" for our purposes.
-
- 27 Nov, 2019 1 commit
-
-
mattijs authored
-
- 26 Nov, 2019 2 commits
-
-
Mark Olesen authored
- previously only had 'opt<..>()' for options, but 'get<..>()' provides more similarity with dictionary methods. The 'opt<..>()' method is retained.
-
Mark Olesen authored
-
- 25 Nov, 2019 2 commits
-
-
Mark Olesen authored
- allows use of Enum in more situations where a tiny Map/HashTable replacement is desirable. The new methods can be combined with null constructed for to have a simple low-weight caching system for words/integers instead of fitting in a HashTable.
-
Mark Olesen authored
ENH: downgrade error on type-mismatch to a warning - Ensight data files generated by OpenFOAM will start with the name of the data type (Eg, "scalar", "vector" etc), but this convention may fail for data files that have been generated elsewhere.
-
- 20 Nov, 2019 1 commit
-
-
mattijs authored
-