87b1bbacd8
ENH: support writeLagrangianPositions in redistributePar (issue #702 )
2018-02-20 15:22:47 +01:00
0d3d895d4d
STYLE: use slash-scoping for foamDictionary usage
...
Eg, -entry boundaryField/wall2/q vs. boundaryField.wall2.q
- remove unneeded quoting when calling foamDictionary
2018-02-20 13:13:34 +01:00
fe140cd6c5
TUT: test mode not respected ( closes #710 )
...
- now replaced 'if ! isTest' with 'if notTest' for most cases.
2018-02-20 12:54:44 +01:00
63edb6024b
STYLE: improve robustness of wall interactions code (issue #737 )
2018-02-20 12:19:38 +01:00
ad871a16fc
BUG: spray/wall interactions failing in parallel ( closes #737 )
...
- should have been limited to non-processor patches only
2018-02-20 11:51:08 +01:00
80fad8483b
ENH: add polyBoundaryMesh::nNonProcessor() method
...
- returns the number of non-processorPolyPatch patches, which is invariant
across all processors.
2018-02-20 11:41:13 +01:00
8716061a4a
ENH: support local InfoSwitch for writeLagrangianPositions (issue #721 )
...
- remove writeLagrangianCoordinates as InfoSwitch, since this is
something that a regular user should not be able to disable.
2018-02-19 15:03:22 +01:00
d69c26311f
STYLE: relocate geometryType enum to cloud class (issue #721 )
2018-02-19 12:40:06 +01:00
cbbb9753eb
STYLE: consolidate positionsCompat1706 structure (issue #721 )
2018-02-19 11:57:57 +01:00
3c35c3535e
BUG: Fixing bug in dimensioning variables for parallel case
2018-02-21 15:36:30 -08:00
240e304ba2
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2018-02-21 10:32:44 -08:00
543ac07774
BUG: Fixing constructors from dictionary to avoid hanging in parallel when patch size is zero
2018-02-21 10:31:49 -08:00
32a854d2e2
ENH: meshStructure: make sense in parallel. Fixes #732 .
2018-02-15 09:08:40 +00:00
8033592eb1
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2018-02-14 10:17:32 +00:00
ad3d5020f7
ENH: foamDictionary. Added comment. Fixes #316 .
2018-02-14 10:17:13 +00:00
88f4b6ca8d
ENH: optionally limit systemCall function-object to master only ( closes #729 )
2018-02-09 19:24:31 +01:00
3e3c97397e
STYLE: simplify hashing to use struct instead of class
...
- more consistent with STL practices for function classes.
- string::hash function class now operates on std::string rather
than Foam::string since we have now avoided inadvertent use of
string conversion from int in more places.
2018-02-09 15:34:59 +01:00
09a6e94073
BUG: incorrect HashTable / HashSet instances
...
- Eg instead of using labelHashSet, used HashSet<label> which uses
the string::hash for hashing. Other places inadvertently using the
string::hash instead of Hash<label> for hashing.
STYLE: use Map<..> instead of HashTable<.., label, Hash<label>>
- reduces clutter
2018-02-09 09:30:02 +01:00
806b668418
STYLE: two-parameter Foam::name replaced by word::printf (issue #724 )
...
- reduces some ambiguity and clarifies the expected output and
behaviour.
STYLE: reduce some automatic conversions of char to string
2018-02-08 12:00:54 +01:00
fa8d972796
STYLE: replace HashSet/HashTable xfer with equivalent movable (issue #726 )
...
- avoid confusion by using HashTable::lookup(key, deflt) explicitly
instead of allowing an operator() version.
2018-02-08 10:52:29 +01:00
e42c228155
ENH: cleanup List constructors (issue #725 )
...
- add copy construct from UList
- remove copy construct from dissimilar types.
This templated constructor was too generous in what it accepted.
For the special cases where a copy constructor is required with
a change in the data type, now use the createList factory method,
which accepts a unary operator. Eg,
auto scalars = scalarList::createList
(
labels,
[](const label& val){ return 1.5*val; }
);
2018-02-08 08:53:14 +01:00
e27e566345
ENH: blockMesh: stabilise multi-surface intersection. Fixes #730 .
2018-02-07 17:57:50 +00:00
4432ca2ef1
Merge branch 'feature-primitiveMesh' into 'develop'
...
BUG: primitiveMesh: cellPoints, cellEdges inconsistent API. Fixes #703 .
See merge request Development/OpenFOAM-plus!189
2018-02-07 13:56:34 +00:00
9ede061dfe
STYLE: snappyHexMesh: use iterator
2018-02-07 13:53:28 +00:00
7363a01aa3
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2018-02-01 16:00:37 -08:00
dada835d31
ENH: adding swirlFanVelocity BC for jumpCyclic types
...
It creates a swirling velocity across a baffle using jumpCyclic for vectors
2018-02-01 15:59:04 -08:00
e2332d6bd2
COMP: better handling of versioned cmake libraries
...
- sentinel was not working properly when building user-space routines
2018-01-31 08:35:56 +01:00
38803ddcf7
STYLE: use default construct/destroy for surface writers
2018-01-30 11:52:04 +01:00
25adff2503
ENH: improved handling of bounded sampled planes (issue #714 )
...
- now warn about the following:
* the bounding box does not overlap wih the global mesh
* plane does not intersect the (valid) bounding box
* plane does not intersect the global mesh
- add bounding to the "plane" variant of a sampled plane.
2018-01-30 10:15:19 +01:00
e6c1b394cc
ENH: additional boundBox methods (issue #714 )
...
- boundBox::nDim() to assess dimensionality
- boundBox::intersect(const plane&) to test if plane intersects the
bounding box
2018-01-29 10:07:44 +01:00
1b9aec2a3d
CONP: suppress register warnings for clang only
2018-01-30 06:49:32 +01:00
e13f8a38a9
COMP: suppress warning about deprecated register keyword (Flex)
2018-01-29 09:13:28 +01:00
ba92e75215
BUG: array-bound error for SphericalTensor component-wise functions
...
STYEL: use constexpr for VectorSpaceOps
2018-01-29 08:56:43 +01:00
4e47be34d2
Merge branch 'master' into develop
2018-01-25 11:13:30 +00:00
bf6aa309e4
GIT: corrected incorrect merge artefacts
2018-01-25 11:12:42 +00:00
6d75552a77
Merge remote-tracking branch 'origin/master' into develop
2018-01-25 11:59:12 +01:00
20125b36a3
BUG: timeControlFunctionObject swallows dictionary modifications ( closes #716 )
...
- runTimeModifiable change to the dictionary not being propagated to
the underlying functionObjects
2018-01-24 20:45:59 +01:00
de4a1eeedb
CONFIG: improve evaluation of arguments for foamEtcFile
...
- forward command-line arguments for paraview, where they may also be
evaluated (cshrc, POSIX shell)
Eg,
. etc/bashrc ParaView_VERSION=5.4.1-mpipy
source etc/cshrc ParaView_VERSION=5.4.1-mpipy
2018-01-24 12:15:09 +01:00
9bd7ea593e
ENH: added fileName::relative() method
...
- this currently just strips off the leading parent directory name
"/this/path/and/subdirs/name"
relative("/this/path") -> "and/subdirs/name"
relative("/this") -> "path/and/subdirs/name"
2018-01-23 18:25:55 +01:00
e98ff5ec73
Merge branch 'feature-LagrangianPatchInterationInfo' into 'develop'
...
ENH: Adding optional output information ordered by injectorID to LocalInteraction.
See merge request Development/OpenFOAM-plus!187
2018-01-24 08:30:27 +00:00
39ee5d5079
ENH: add HashTable += operation (combines HashTables)
...
- adjust return values of HashSet operators.
2018-01-23 16:35:43 +01:00
7f3d4b3554
Merge branch 'master' into develop
2018-01-23 16:11:28 +01:00
294a3d05ba
BUG: problems converting clouds to ensight or vtk format ( closes #708 )
...
- problems when the cloud was not available on all processors.
- NB: ensight measured data only allows a single cloud, but
foamToEnsight writes all clouds.
2018-01-23 15:39:45 +01:00
dc3e4e2c47
ENH: DEShybrid scheme - LES delta name now input instead of default of
...
'delta'
The scheme should now be specified using, e.g.
div(phi,U) Gauss DEShybrid
linear // scheme 1
linearUpwind grad(U) // scheme 2
hmax // LES delta name, e.g. 'delta', 'hmax'
0.65 // DES coefficient, typically = 0.65
30 // Reference velocity scale
2 // Reference length scale
0 // Minimum sigma limit (0-1)
1 // Maximum sigma limit (0-1)
1.0e-03; // Limiter of B function, typically 1e-03
2018-01-23 10:24:33 +00:00
757b8625de
Revert "STYLE: overset: warning message. Fixes #691."
...
This reverts commit 0ee1ed638f .
2018-01-22 16:02:02 +00:00
0ee1ed638f
STYLE: overset: warning message. Fixes #691 .
2018-01-22 15:22:48 +00:00
5b005095ca
STYLE: fvOptions: typos
2018-01-22 11:55:43 +00:00
038bb40a79
COMP: resolve template qualification and other issues for clang-5.0.1
2018-01-22 15:13:39 +01:00
479b8e9d01
CONFIG: bump to llvm-5.0.1 version
2018-01-22 14:47:38 +01:00
0ac8a94122
Merge branch 'feature-memory-streams' into 'develop'
...
Feature memory streams
See merge request Development/OpenFOAM-plus!191
2018-01-22 13:22:32 +00:00