Mark Olesen
297adc8764
CONFIG: add build-info to archives
...
- save in META-INFO/build-info for later re-compilation without git.
This improves tracking beyond simply referring to the the patch level.
The information is tagged with an underscore to distinguish from
"real" build information when git is available.
STYLE: improved shell syntax, pushd/popd guards etc.
2019-11-13 10:23:30 +01:00
Kutalmis Bercin
f41b2db8c8
BUG: correct delta:turbulentDFSEMInlet from 2 to 1 ( #1459 )
2019-11-14 14:06:44 +00:00
Kutalmis Bercin
80681eeb2b
TUT: reorganise the scripts and dicts in turbulentInflow
2019-11-14 10:09:36 +00:00
Kutalmis Bercin
87250cb770
ENH: ensure consistent default mapping in turbulentDFSEMInlet
...
- Previously, the default mapping method was `planarInterpolation` which was
silently suppressed by the default 'interpolate{R,U,L}=false'.
STYLE: changes:
`0` to `Zero`,
`lookupOrDefault` to `getOrDefault`
improves header documentation
2019-11-13 11:50:17 +00:00
Kutalmis Bercin
69640bd3d8
BUG: fix decomposition issue | turbulentDFSEMInlet | mapFields ( #1108 )
2019-11-13 11:48:53 +00:00
mattijs
61d2408e1e
BUG: polyMesh: update instead of delete. Fixes #1490 .
2019-11-11 15:36:02 +00:00
Mark Olesen
47e1d13655
CONFIG: allow configurable package, version separator (foamPackRelease)
2019-11-12 17:15:38 +01:00
Mark Olesen
7e9a417fca
STYLE: adjust member ordering to improve packing (of bools)
2019-11-12 16:57:45 +01:00
Mark Olesen
cb53ce3678
COMP: improvements to selection table helper classes
...
- make constructors explicit, delete unused constructors
2019-11-12 14:29:53 +01:00
Mark Olesen
3238a63a10
DOC: add description text for AMIWeights, fieldsExpression
2019-11-12 14:26:41 +01:00
Mark Olesen
3b0d532614
STYLE: restore referenced source file name removed by ea5401c7
2019-11-11 20:29:28 +01:00
Mark Olesen
7c1190f0b1
ENH: rationalize some string methods.
...
- silently deprecate 'startsWith', 'endsWith' methods
(added in 2016: 2b14360662
), in favour of
'starts_with', 'ends_with' methods, corresponding to C++20 and
allowing us to cull then in a few years.
- handle single character versions of starts_with, ends_with.
- add single character version of removeEnd and silently deprecate
removeTrailing which did the same thing.
- drop the const versions of removeRepeated, removeTrailing.
Unused and with potential confusion.
STYLE: use shrink_to_fit(), erase()
2019-11-11 18:50:00 +01:00
Mark Olesen
ea214727a5
ENH: 'set' instead of 'insert' std::initializer_list to HashTable
...
- Duplicate entries are handled by overwriting, which corresponds more
closely to the notion of assignment
2019-11-11 17:07:30 +01:00
Andrew Heather
b63a6edb24
STYLE: Corrected option description
2019-11-01 11:27:48 +00:00
Andrew Heather
186b0350f9
ENH: Pressure function object - added optional inclusion of hydrostatic pressure
...
Example - create p-rgh from p:
pressure-p-rgh
{
type pressure;
libs (fieldFunctionObjects);
writeControl writeTime;
mode static;
rho rhoInf;
rhoInf 1;
hydrostaticMode subtract;
g (0 -9.81 0);
hRef 0;
}
- the hydrostaticMode entry is optional - setting is shown during construction
- g and/or hRef values are retrieved from the database if not specified
2019-10-22 15:54:13 +01:00
Andrew Heather
671519d2d9
ENH: Function objects - runTimePostProcessing - updated and exposed culling options
2019-11-01 11:03:30 +00:00
Mark Olesen
9bf48db7fd
STYLE: spurious #warning emitted in JobInfo
2019-11-11 14:32:44 +01:00
Mark Olesen
713595f0c0
COMP: adjust common paraview library name to vtkPVFoamCommon
...
- similar prefixing as the dependent readers, making it easier to
identify
- add FOAM_API information as server module version
2019-11-11 11:21:45 +01:00
Mark Olesen
8495e8e92c
COMP: provide separate get_pvplugin_api function
2019-11-11 11:16:54 +01:00
Mark Olesen
bab110350b
CONFIG: adjust adios and paraview versions
2019-11-11 10:37:06 +01:00
Mark Olesen
3a964c04f3
COMP: report locations of build tools (such as flex, m4 etc)
...
- can assist diagnosing when things have gone wrong
2019-11-10 11:24:07 +01:00
Mark Olesen
17d159d76d
COMP: add version information to wmake
...
- wmake -version, --version option (alias for -show-api)
for consistency with standard system tools
2019-11-10 11:24:07 +01:00
Mark Olesen
52d2643994
BUG: surfaceFieldValue interpolate on sampled surface fails ( fixes #1488 )
2019-11-11 08:54:05 +01:00
Mark Olesen
71de630722
ENH: tune efficiency of stringOps::trim
...
- move left/right positions prior to substr
2019-11-10 10:50:49 +01:00
Mark Olesen
60155bd90d
TUT: add (disabled) surfaceFieldValue interpolate ( #1488 )
2019-11-09 16:51:31 +01:00
Mark Olesen
e230e9c5e6
TUT: add missing relax entry in reactingTwoPhaseEulerFoam/RAS/wallBoiling
2019-11-09 16:51:31 +01:00
Mark Olesen
060a14394f
STYLE: use dictionary findEntry instead of csearch
...
- fix typo
2019-11-09 16:41:42 +01:00
Mark Olesen
5e50800e2f
ENH: improve missing entry message for Function1 or PatchFunction1
...
- now indicate that the dictionary entry is missing, not that it is
an unknown function type.
2019-11-09 16:39:15 +01:00
Mark Olesen
87330972d8
ENH: interpolationTable improvements
...
- reduce code duplication, support returning multiple interpolations
as a Field
2019-08-23 15:57:22 +02:00
Mark Olesen
784d3ad5d4
BUG: sourced incorrect LogFunctions location
...
- cleanup the run script syntax
2019-11-08 13:14:14 +01:00
mattijs
cc5fac8299
STYLE: snappyHexMesh: excess declarations
2019-11-07 13:25:33 +00:00
Mark Olesen
979a12e521
TUT: fix Allrun script for bump2D
...
- use sed instead of foamDictionary and avoid log file
- ensure consistent behaviour with plot script
GIT: added missing 0/k field : inlet values still need adjustment
2019-11-07 09:35:10 +01:00
Mark Olesen
46d7db79aa
TUT: consistent calling of m4
2019-11-06 11:50:42 +01:00
Mark Olesen
e6dfb39c66
STYLE: remove unnecessary stdout, stderr /dev/null redirects
...
- no stderr redirect needed:
* 'command -v'
- no stdout/stderr redirect needed:
* 'rm -f'
STYLE: consistent spacing after redirects
2019-11-06 10:44:36 +01:00
Mark Olesen
ec7e3c88e4
ENH: test for WM_PROJECT_DIR being set/unset in scripts
2019-11-06 09:18:51 +01:00
Mark Olesen
e5916fd9ba
ENH: use findMinMax instead of findMin, findMax separately
2019-11-05 13:10:23 +01:00
Mark Olesen
e8fa46230a
ENH: add min/max compare/reduction operators for Tuple2 first()
...
- min/max ops that only compare the first element
2019-11-05 13:08:21 +01:00
Mark Olesen
b0c88dff58
ENH: treat self-assignment as no-op instead of a Fatal ( #1473 )
...
- this can help if using std algorithms that return a const reference
such as std::min() does.
2019-11-05 11:10:49 +01:00
Mark Olesen
883752cfb9
COMP: restructure paraview reader files, add paraview-5.7 guards
...
- building plugins with paraview-5.7 is quite different
2019-11-05 09:14:37 +01:00
Mark Olesen
675dbc4333
ENH: use wordHashSet instead of hashedWordList in PV readers
...
- we don't need the GUI sort order of the values.
2019-11-04 18:29:29 +01:00
Mark Olesen
a6c442bf3f
COMP: support install for paraview-versioned cmake
2019-11-05 09:06:33 +01:00
Mark Olesen
e3b9bbab11
STYLE: mark facePointPatch::patch() as virtual, remove unused functions
2019-11-04 18:05:53 +01:00
Andrew Heather
7aa83ea939
ENH: postProcess - updated app to update on mesh change instead of full clear out
2019-11-12 15:38:52 +00:00
Andrew Heather
fdf8d10ab4
Merge commit 'e9219558d7' into develop-v1906
2019-12-05 11:47:19 +00:00
Mark Olesen
ee7bb0459b
ENH: dimensionSet::clear() - reset exponents to be dimensionless
2019-11-04 16:37:57 +01:00
OpenFOAM bot
e9219558d7
GIT: Header file updates
2019-10-31 14:48:44 +00:00
Mark Olesen
b47f4b1737
CONFIG: bump patch level
2019-11-03 10:55:13 +01:00
Mark Olesen
528ceff836
BUG: genericPointPatchField removed "value" entry ( fixes #1474 )
2019-11-03 10:47:44 +01:00
Mark Olesen
96d260713e
CONFIG: openfoam session must use /bin/bash, not /bin/sh ( fixes #1461 )
2019-10-17 09:29:42 +02:00
Mark Olesen
aaa27eaeec
CONFIG: openfoam session must use /bin/bash, not /bin/sh ( fixes #1461 )
2019-10-17 09:29:42 +02:00