- Dec 22, 2016
-
-
Andrew Heather authored
BUG: Tutorial updates - updated rhoSimpleFoam thermo to use rhoThermo after commit a7c8d1cf - see #355
-
Andrew Heather authored
-
- Dec 21, 2016
-
-
mattijs authored
-
Mark Olesen authored
-
Andrew Heather authored
-
- Dec 20, 2016
-
-
Andrew Heather authored
-
sergio authored
scalarTransport does not generate its own phiMean anymore but it is given from the user. This "flux" can be generated using the "flux" FO
-
sergio authored
-
sergio authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
-
Mark Olesen authored
- fixed library path for VTK. They should use lib/ and not lib64/
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Dec 19, 2016
-
-
Andrew Heather authored
-
Mark Olesen authored
- cleanup some code in foamInstallationTest
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
mattijs authored
-
mattijs authored
-
- Dec 18, 2016
-
-
Mark Olesen authored
fieldName.endsWith("_0") vs fieldName.size() > 2 && fieldName(fieldName.size()-2, 2) == "_0"
-
Mark Olesen authored
- As the names describe, check if the string starts or ends with a particular value. Always true if the given text is empty or if the string is identical to the given text.
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark Olesen authored
- add an extension to the file name - remove a file extension - check if a file name has an extension - check if a file name has a particular extension (as word), or matches a particular grouping of extensions (as wordRe).
-
Mark Olesen authored
This slightly more convenient when working with char[] input: fileName file1{ "path", "name", "to", "file.ext" }; vs. fileName file1 = fileName(path)/"name"/"to"/"file.ext"; But is a bit more efficient since it avoid most of the intermediate copying and resizing incurred by the '/' operator.
-
- Dec 19, 2016
-
-
Mark Olesen authored
-
- Dec 18, 2016
-
-
Mark Olesen authored
- not required for ASCII, and makes normal dictionaries too noisy. STYLE: move archHint to be a file-scope static
-
Mark Olesen authored
- Use wordRe::REGEXP (not wordRe::DETECT) if the content is known to be a regular expression anyhow.
-
- Dec 19, 2016
- Dec 18, 2016
-
-
Mark Olesen authored
FoamFile { version 2.0; format binary; arch "LSB;label=32;scalar=64"; class vectorField; object points; } There is otherwise no simple indication in any of the files as to the sizes used (Int32 vs Int64, SP vs DP). This makes it difficult for the end-user and also for any third-party consumers. -- The architecture information contains three items in the following format: (LSB|MSB);label=(32|64);scalar=(32|64) - The endian value always appears first, without any leading space. This make it trivial to check later. Either the first 3 letters (LSB vs MSB) or even just the first letter ('L' vs 'M'). - Subsequent key=value pairs for 'label' and 'scalar' are separated by semicolons. The ordering of label vs scalar is not specified. Note that this 'arch' information is purely informational. It is currently not used by the OpenFOAM input mechanism itself.
-