4cb073e150
ENH: Up to date icoReactingMultiphaseInterFoam solver and libs
...
Adding tutorials and other minor changes
2018-06-04 11:25:59 -07:00
84b109219a
STYLE: reduced usage of Switch
...
- Since 'bool' and 'Switch' use the _identical_ input mechanism
(ie, both accept true/false, on/off, yes/no, none, 1/0), the main
reason to prefer one or the other is the output.
The output for Switch is as text (eg, "true"), whereas for bool
it is label (0 or 1). If the output is required for a dictionary,
Switch may be appropriate. If the output is not required, or is only
used for Pstream exchange, bool can be more appropriate.
2018-06-01 20:51:48 +02:00
0f60cc9263
STYLE: remove bad edit in comment
2018-06-01 14:59:35 +02:00
cdb6d5a604
CONFIG: remove Darwin GCC wmake rules (partly broken, poorly tested)
2018-06-01 14:35:43 +02:00
35d682a4fb
COMP: make the scotch librt dependency conditional
2018-06-01 14:17:41 +02:00
8058184b0c
COMP: resolve 'point' ambiguity in foamyQuadMesh
...
- CGAL Triangulation_2.h (version 4.12) defines a point function,
which interferes with the Foam::point typedef.
2018-06-01 14:10:17 +02:00
d571e5231b
ENH: detect excess tokens for "libs" entry (issue #762 )
...
- this addresses issue #843
2018-06-01 13:31:12 +02:00
511b35629d
ENH: improve infrastructure for detecting excess tokens (issue #762 )
...
- Always used for optional dictionary entries, since these are individual
values, and not meant to be embedded in a larger stream of tokens.
Methods:
- lookupOrDefault, lookupOrAddDefault, lookupOrDefaultCompat
- readIfPresent, readIfPresentCompat
- Handling mandatory dictionary entries is slightly more complex,
since these may be part of larger stream of tokens, and are often
used in a constructor context. For example,
word modelType(dict.lookup("type"));
Or they are used without a definite context. For example,
dict.lookup("format") >> outputFormat;
Newly introduced methods for mandatory dictionary entries:
- get, getCompat
- read, readCompat
In a constructor or assignment context:
word modelType(dict.get<word>("type"));
outputFormat = dict.lookup("format");
without copy/move (similar to readIfPresent):
dict.read("format", outputFormat);
2018-06-01 11:55:57 +02:00
a6f524b1df
STYLE: -diff-etc instead of -diffEtc in foamDictionary
2018-06-01 11:36:43 +02:00
b393c60d86
ENH: vtk: fix reading of inverted prisms. Fixes #850 .
2018-05-31 12:42:43 +01:00
cd8b67844f
ENH: snappyHexMesh: Remove cells inside any limitRegion with level -1. Fixes #852 .
2018-05-31 10:05:02 +01:00
1c030f441d
STYLE: missing newline in correctPhi.H
2018-05-30 16:18:20 +02:00
12553a2e43
COMP: include /usr/local in search for system headers/libraries
...
- this is consistent with compiler defaults, and helps Darwin users
2018-05-30 14:45:12 +02:00
e43ae3f23f
ENH: detect excess tokens when looking up a dictionary value (issues #762 )
2018-05-30 14:43:48 +02:00
2aaae74ee1
STYLE: consistent ordering of "inline explicit" vs. "explicit inline"
...
- resolve in favour of "inline explicit", which had marginally more
uses and provides consistent prefixing for inline methods.
2018-05-30 12:11:13 +02:00
f9fe71815a
STYLE: consistent use of '= delete' for removed constructors/assignments
...
- make the purpose more explicit, and reduces some work for the
compiler as well.
2018-05-30 12:03:17 +02:00
6b6b36afd3
STYLE: revert bitSet/HashSet setMany() to set() method (issue #837 )
...
- improves backward compatibility and more naming consistency.
Retain setMany(iter1, iter2) to avoid ambiguity with the
PackedList::set(index, value) method.
2018-05-29 17:38:02 +02:00
3de9b2f675
COMP: resolve size ambiguity (Darwin)
2018-05-29 12:36:12 +02:00
eeb725715d
BUG: decomposeParDict: ignores mesh region. Fixes #848 .
2018-05-29 10:26:22 +01:00
fe21322939
BUG: Corrected ConeNozzleInjection injected posisions in parallel operation. See #840
2018-05-30 14:05:53 +01:00
e747024c34
BUG: Corrected header documentation - see #831
2018-05-29 15:28:44 +01:00
ffe8048e04
BUG: COxidationIntrinicRate - corrected eta. See #842
2018-05-29 15:10:19 +01:00
5e9ba0bc72
ENH: Darwin emulation for addr2line
2018-05-29 11:21:59 +02:00
bd33a382ee
COMP: define additional UIndirectList iterator member types ( closes #847 )
...
- required for std::iterator_traits specialization, which is used by
the std::max_element algorithm on Darwin.
2018-05-29 08:56:08 +02:00
30309e9a65
COMP: 64-bit label ambiguity
2018-05-29 11:16:20 +02:00
7e270fc482
STYLE: formatting of scotch options
2018-05-29 09:57:30 +02:00
14e9ef34e5
Merge remote-tracking branch 'origin/develop' into develop
2018-05-29 10:28:28 +01:00
ca6b6cee8d
BUG: decomposeParDict: ignores mesh region. Fixes #848 .
2018-05-29 10:26:22 +01:00
7df0608306
STYLE: inline shorterPath function for printStack
2018-05-28 17:44:26 +02:00
d318a630b6
ENH: add directive '#sinclude' (or '#includeIfPresent' as long name)
...
- consistency with make and more succinct.
- reduce code duplication in findEtcFiles.
2018-05-28 13:38:03 +02:00
e3bb7ffd25
STYLE: avoid mix of 'sinclude' and '-include' in make files
2018-05-28 10:46:40 +02:00
26bb05d6f0
BUG: cyclicPeriodic: wrong indexing. Fixes #838 .
2018-05-24 13:29:43 +01:00
417a2f6a73
BUG: reference FO: allocate interpolator on all processors. Fixes #823 .
2018-05-24 09:52:33 +01:00
cb1cd96b04
ENH: snappyHexMesh: directional refinememt.
...
Basic directional refinement:
- only for coordinate aligned meshes
- only for refinementRegions
See the mesh/snappyHexMesh/aerofoilNACA0012_directionalRefinement
tutorial.
2018-05-21 16:51:57 +01:00
85ecb009d7
TUT: Updated input value
2018-05-18 09:57:12 +01:00
d8ea41e7bd
STYLE: foamPwd (posix) function with some env replacements (issue #844 )
...
- the current working path with replacements for base-level
OpenFOAM env variables such as FOAM_RUN, WM_PROJECT_DIR,
WM_PROJECT_USER_DIR etc
Can be used directly from the command-line or embedded into a
command prompt. For example,
PS1='$(foamPwd)\n\u\$ '
- aliases for user solver/utilities located under "$WM_PROJECT_USER_DIR":
(ufoam, uapp, usol, uutil)
2018-05-17 15:33:59 +01:00
66df3369dc
BUG: ConeInjection - corrected number of parcels injected for multiple injector positions
2018-05-17 09:04:00 +01:00
1844ce5ab2
BUG: wrong sizing index for VTK legacy polyhedrals ( closes #829 )
2018-05-16 15:57:49 +01:00
c18a2a6370
BUG: compiler-specific INTELMPI not always found ( closes #830 )
...
- tie the MPI rules to the base compiler type *without* its version.
Eg, linux64Gcc (which exists) instead of linux64Gcc81
2018-05-16 12:36:29 +01:00
430367b25a
STYLE: shm: indentation
2018-03-01 17:09:39 +00:00
e5d4fbcd72
BUG: snappyHexMesh: cutting imcompatible with corner-point detection
2018-02-21 11:08:21 +00:00
4d72c2aac0
COMP: incorrect executable path sphereSurfactantFoam ( closes #695 )
2018-01-08 10:51:00 +01:00
87504d501a
BUG: regionToCell: incorrect indexing of remote values. Fixes #818 .
2018-05-02 10:55:47 +01:00
1ac7f2e873
BUG: wrong nanoseconds in highResLastModified ( closes #794 )
...
- was using st_atim instead of st_mtim for the nanoseconds
- value of followLink was being ignored (it was always being followed).
2018-04-11 10:27:41 +02:00
1eb2458cf5
Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus
2018-04-06 08:52:23 -07:00
a65b189741
ENH: Adding thermo using polynomial transport, JANAF and ideal gas.
...
This thermo is used with multiComponentMixture in rhoThermo type
2018-04-06 08:46:17 -07:00
1edb2f7dd0
BUG: mesh refinement crash with degenerate mesh distributions ( closes #778 )
...
- occurred when the initial mesh distribution was missing cells on
some processors.
2018-03-21 21:54:40 +01:00
546fdb6207
BUG: corrected 'binned' distribution model
2018-03-20 10:17:33 +00:00
d7b9cea87c
BUG: IsoAdvector - updated use of pos/neg as reported by Johan Roenby. See #775
2018-03-19 13:56:32 +00:00
fae1ba0f63
BUG: Corrections to externalWallHeatFluxTemperature BC (ref EP624)
2018-03-14 15:34:53 +00:00