Commit Graph

17609 Commits

Author SHA1 Message Date
73a1156689 Merge branch 'feature-alltoall' into 'develop'
Feature alltoall

Added the on-the-fly creation of communication schedule

See merge request !40
2016-06-02 16:54:13 +01:00
526ecfecf4 ENH: group info about particle output with "{}" etc
- The only reasonable means of mirroring the data layout.

  The '{}' delimiters mark the extent of the binary writes.

  The primitives 'label' and 'scalar' are directly supported and correspond
  to known byte widths.

  Using "List<scalar>" was a bad choice, since this triggers unpleasant
  tokenizing behaviour. Instead use 'scalars' as a provisional placeholder
  to indicates a list of scalar values. However, there is currently no
  support for actually handling lists of scalars, for several reasons:

   * The information is not available at compile-time.
     The cloud or parcel must be queried. And it must be guaranteed
     that this value is consistent for the entire cloud.

   * Binary output of lists is currently not great for determining the
     the encoded width:
        - A zero-size list is a single '0'.
        - The leading size is a non-constant number of digits.
        - There are prefix/suffix newlines need to be tagged and
          skipped.

  The special '*' (glob) token indicates that the remaining content
  has a dynamic variable length and nothing reasonable can be known
  about their sizes. This is exemplified by the collision records.
2016-06-02 17:39:19 +02:00
2b5e73fbce BUG: incorrect face order/orientation in boundBox (issue #196)
- was fortunately not used anywhere previously
2016-07-28 07:00:33 +02:00
56615ec465 Merge remote-tracking branch 'origin/develop' into feature-alltoall
Conflicts:
	src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionaryIO.C
	src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H
	src/OpenFOAM/db/IOstreams/Pstreams/PstreamBuffers.C
	src/OpenFOAM/db/IOstreams/Pstreams/PstreamBuffers.H
	src/OpenFOAM/db/IOstreams/Pstreams/UPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
	src/OpenFOAM/db/IOstreams/Pstreams/combineGatherScatter.C
	src/OpenFOAM/db/IOstreams/Pstreams/exchange.C
	src/OpenFOAM/db/IOstreams/Pstreams/gatherScatter.C
	src/OpenFOAM/db/IOstreams/Pstreams/gatherScatterList.C
	src/OpenFOAM/db/regIOobject/regIOobjectRead.C
	src/Pstream/dummy/UPstream.C
	src/Pstream/mpi/UPstream.C
	src/lagrangian/basic/Cloud/Cloud.C
	src/meshTools/regionSplit/regionSplit.C
2016-06-02 15:07:51 +01:00
5d29b49811 BUG: UOPstream indexes out of bounds after whitespace stripping (fixes #134)
- only affects transfer of C-style string with a single character
  remaining after whitespace stripping. Test added into Test-parallel.

- Note some idiosyncrasies in the behaviour:

      send                   |    receives
    -------------------------+-------------------------
        string("a b c")      |    string "a b c"
        string("a")          |    string "a"
        "a b c"              |    word   "abc"
        'd'                  |    char   'd'
        "d"                  |    char   'd'
        "d   "               |    char   'd'
2016-06-02 09:45:04 +02:00
45264f1b2d Deleting files from tutorial 2016-06-01 11:45:17 -07:00
6c92bfdf5a Deleting files from tutorial 2016-06-01 11:37:40 -07:00
00d4761aa8 MPPICInterFoam and tutorial 2016-06-01 11:08:06 -07:00
2a07e34fb0 ENH: vtkSurfaceWriter: user-specifiable precision.
Partly solves #65. Ensight writer is fixed but all the other ones probably
need doing as well.
2016-06-01 17:43:14 +01:00
8a7880af2e BUG: ensightBinaryStream: avoid overflow. Fixes #132 2016-06-01 14:44:30 +01:00
8c35c8b611 BUG: Allwmake: using old Make/ location 2016-06-01 13:31:07 +01:00
42519734c7 ENH: snappyHexMeshDict: improved comment 2016-06-01 12:52:09 +01:00
d141b3c9b5 ENH: Adding interCondensingEvaporatingFoam and tutorial 2016-05-31 14:41:47 -07:00
c9e872b3bc ENH: Changing boundaryRadiationProperties to read an scalar when a lookup mode is used for boudanry radiation properties.
Tutorials updated accordingly
2016-05-31 08:42:07 -07:00
91d4bab09c BUG: When cloud is inactive, the transient flag needs to be read to avoid default value false and the unnecassary massFlowRate input 2016-05-26 11:19:48 -07:00
47036d4fd4 BugFix: viewAngle reset in static camera mode 2016-05-25 18:09:13 +05:30
9b14a94898 Fixes #99 #127 #128 #138 2016-05-25 14:54:31 +05:30
15192e732b BUG: -case argument support and nFrames > 1 warning for static mode 2016-05-19 18:00:58 +05:30
e8d73e5546 BUG: snappyHexMesh: zoning would set unset regions to back ground region
instead of removing them. Now done similar to 23x:
- in 'removing unreachable parts of mesh' keep regions unset (so they get removed)
- in final zoning set to background region

See Gitlab #66.
2016-05-18 14:14:41 +01:00
bda3d11072 Merge remote-tracking branch 'origin/develop' into feature-AMIMethod
Conflicts:
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.H
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/faceAreaWeightAMI/faceAreaWeightAMI.H
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/mapNearestAMI/mapNearestAMI.C
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/mapNearestAMI/mapNearestAMI.H
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/partialFaceAreaWeightAMI/partialFaceAreaWeightAMI.H
2016-05-18 13:08:52 +01:00
ecdc2b2a60 Merge branch 'feature-iotweaks' into 'develop'
Feature iotweaks

Enhancements for #114 and #115. Tagged as WIP, since there may be some need for discussion/rework prior to merging.

See merge request !35
2016-05-13 06:52:11 +01:00
a2be9acca4 BUG: mapNearestAMI: move normalisation to AMIMethod.
Avoids cells shared among processors to be counted multiple times and having
weights > 1.
2016-05-11 10:40:51 +01:00
5f73cb6170 Merge branch 'merge-foundation' into 'develop'
Merge foundation

Integrating latest code from the OF Foundation - main changes:

Lots of renaming/refactoring:
- to retrieve reference from tmp, now need to use tmp.ref() as opposed to tmp()
- fvc::flux function to replace fvc::interpolate(<field>) & mesh.Sf()
- integration of new c++ features: no more spaces between closing template braces, e.g. class1<class2<Type> > becomes class1<class2<Type>>
- DataEntry renamed to Function1

New functionality:
- Updated 6DoF
- fvOptions support in turbulence models

See merge request !33
2016-05-10 14:33:15 +01:00
26e1b299f6 Merge branch 'RunFunctions' into 'merge-foundation'
ENH: added -decomposeParDict as argument to getNumberOfProcessors()

Continuing discussion at 
1507178a1b (note_1093)

Now the Allrun script could be
```
runParallel -decomposeParDict system/decomposeParDict-6 snappyHexMesh -overwrite
```

Thanks @Mattijs 


See merge request !36
2016-05-06 11:04:45 +01:00
e0a0f94e6f ENH: added -decomposeParDict as argument to getNumberOfProcessors() 2016-05-06 11:25:11 +05:30
62144e4dd7 Revert "Change boundaryRadiationProperties and boundaryRadiationPropertiesPatch to mesh object and changing tutorials accordingly"
This reverts commit 662f9242e9.

Note: functionality moved to feature-boundaryRadiationProperties branch
2016-05-05 12:21:23 +01:00
f4af153381 BUG: bashrc: correct WM_PROJECT, set WM_MPLIB to SYSTEMOPENMPI, 2016-05-05 11:26:08 +01:00
b6270e821c COMP: metisDecomp: change processor weights to float 2016-05-05 11:22:22 +01:00
9ce96f3c48 globalMeshData: Handle cyclic baffles in coupled edge synchronisation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2080
Patch contributed by Mattijs Janssens

Conflicts:
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C
2016-05-03 15:49:52 +01:00
1c198c52da BUG: incorrect switch output for 'prime2Mean' in fieldAverage (item #137)
- incorrect variable referenced in output of "prime2Mean" switch setting.
2016-06-02 14:50:08 +02:00
713f71088c Merge branch 'merge-foundation' of develop.openfoam.com:Development/OpenFOAM-plus into merge-foundation 2016-04-29 15:53:31 -07:00
a15b03e5e2 source scotch in etc/bashrc 2016-04-29 15:53:07 -07:00
b7ee80c926 GIT: Resolve conflict when applying Sergio's updates to new local branch 2016-04-29 15:51:08 -07:00
662f9242e9 Change boundaryRadiationProperties and boundaryRadiationPropertiesPatch to mesh object and changing tutorials accordingly 2016-04-29 15:51:08 -07:00
c91712fbc3 ENH: foamHelp solver - added option to read solver type from the system/controlDict. Fixes #37 2016-04-29 16:05:47 +01:00
1b8017697c STYLE: Minor code style correction 2016-04-29 15:56:07 +01:00
93566da71d STYLE: Updated header documentation 2016-04-29 15:55:44 +01:00
123ca7b2ce BUG: SpalartAllmarasDES - updated for SP build. Fixes #98 2016-04-29 15:54:46 +01:00
48caf88af9 STYLE: corrected header 2016-04-29 15:47:35 +01:00
79254ff222 BUG: bashrc - added missing _foamSource scotch 2016-04-29 08:55:53 +01:00
51ea7379d6 STYLE: boundaryRadiationProperties updates 2016-04-28 17:24:50 +01:00
57d0c9bdda STYLE: boundaryRadiationProperties updates 2016-04-28 17:24:50 +01:00
53d7c8121f Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus 2016-04-28 14:23:53 +01:00
cfcaaa85e4 BUG: forces/forceCoeffs - corrected behaviour for case that input fields are not available. Fixes #107 2016-04-28 14:23:38 +01:00
97eb58fa74 STYLE: Minor code clean-up 2016-04-28 14:18:17 +01:00
158a925235 ENH: Updated xxx::zero->Zero 2016-04-28 14:17:06 +01:00
af14c117a9 ENH: Integration updates 2016-04-28 09:57:03 +01:00
4228873d7f Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus 2016-04-27 12:17:26 -07:00
fd27dafcc6 ENH: Adding option for closing or opening wall/cyclic double baffle in activePressureForceBaffleVelocityFvPatchVectorField 2016-04-27 12:15:31 -07:00
f0b404748d ENH: Further tutorial update 2016-04-27 09:41:27 +01:00