Commit Graph

15257 Commits

Author SHA1 Message Date
89517146b2 BUG: pressure FO - create new tmp to avoid db clash 2016-12-23 14:17:39 +00:00
b8f328c7f2 STYLE: Header updates 2016-12-23 11:15:32 +00:00
58b6fae81a BUG: Corrected logFiles usage for parallel running; doc updates. Fixes #366 2016-12-23 10:30:29 +00:00
13395c17f4 STYLE: Corrected fieldNames -> fields. Fixes #365 2016-12-23 09:12:36 +00:00
ed20508db0 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-12-22 09:32:33 -08:00
03db86279c ENH: setting topoChanging flag to false if there are no topo changes in polyTopoChanger::update.
This reset the flag from any previous topo changes
2016-12-22 09:30:09 -08:00
d2fc56d6be STYLE: added note about limitation of the ccm conversion 2016-12-22 17:44:21 +01:00
608bb5d83b COMP: update lnInclude directories when building (issue #364)
- Could be related to interrupted builds.
  So if there are any parts of the build that rely on an explicit
  'wmakeLnInclude', make sure that the contents are properly updated.

--

ENH: improved feedback from top-level Allwmake

- Report which section (libraries, applications) is being built.

- Provide final summary of date, version, etc, which can be helpful
  for later diagnosis or record keeping.

- The -log=XXX option for Allwmake now accepts a directory name
  and automatically appends an appropriate log name.
  Eg,
      ./Allwmake -log=logs/  ->> logs/log.linux64GccDPInt32Opt

  The default name is built from the value of WM_OPTIONS.

--

BUG: shell not exiting properly in combination with -log option

- the use of 'tee' causes the shell to hang around.
  Added an explicit exit to catch this.

--

- Detecting the '-k' (-non-stop) option at the top-level Allwmake, which
  may improve robustness.

- Explicit continue-on-error for foamyMesh (as optional component)

- unify format of script messages for better readability

COMP: reduce warnings when building Pstream (old-style casts in openmpi)
2016-12-22 11:26:29 +01:00
3fc66cb710 ENH: make resetOnRestart optional for valueAverage (issue #360)
ENH: ensure averaging flags are not 'sticky' (see issue #331)
2016-12-22 13:00:05 +01:00
9e645179ad BUG: fluxSummary - updated constructor for writeFile. Fixes #362 2016-12-22 10:34:36 +00:00
02ba3a2d44 ENH: InjectedParticleDistributionInjection model - added protection for the case of zero particles; updated tutorial scripts. See #363 2016-12-22 10:30:15 +00:00
40e0fb2eac ENH: Field function objects using fieldExpression - tidied outpu. See #359 2016-12-22 10:09:12 +00:00
0211b0a43b STYLE: correct the documented input names in header files (fixes #360) 2016-12-21 12:15:03 +01:00
33811401d6 ENH: blendingFactor function object - suppress warning and correct docs. Fixes #359 2016-12-21 08:12:46 +00:00
a807d1e18e STYLE: Minor code formatting 2016-12-20 23:07:16 +00:00
af434646d3 Adding flux to Make/files. And updating scalarTransport header instructions
scalarTransport does not generate its own phiMean anymore but it is given from the user.
This "flux" can be generated using the "flux" FO
2016-12-20 12:27:36 -08:00
fa32677e7a ENh: Adding flux FO 2016-12-20 12:26:47 -08:00
0a5d158991 ENH: scalarTransport function object updates 2016-12-20 17:18:34 +00:00
e0244a74ed Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-12-20 16:58:34 +00:00
46ce5659b4 STYLE: scalarTransport function object clean-up 2016-12-20 16:54:00 +00:00
484e59aefb Merge branch 'develop' of https://develop.openfoam.com/Development/OpenFOAM-plus into develop 2016-12-20 15:43:51 +01:00
f816c2d0bc COMP: include BuildIssues.txt for known build issues
- fixed library path for VTK.
  They should use lib/ and not lib64/
2016-12-20 15:33:16 +01:00
953594286f BUG: fieldAverage - read state properties using getDict. Fixes #358 2016-12-20 13:09:15 +00:00
0869f832be Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-12-20 11:17:59 +00:00
6ee70e4b4d BUG: surfaceInterpolate function object - corrected evaluation. Foxes #335 2016-12-20 11:17:51 +00:00
482f8ceeb4 BUG: localMin scheme - was using minMod instead of min 2016-12-20 10:09:11 +00:00
c537e4e8ac ENH: Updated output to use the writer class 2016-12-19 20:38:27 +00:00
83a874cdba functionObjects::volRegion: Improved parallel efficiency
Based on patch contributed by Kevin Nordin-Bates
Resolves bug-report https://bugs.openfoam.org/view.php?id=2401
2016-12-19 19:20:09 +00:00
75e86eb413 ENH: particleDistribution function object - updated output 2016-12-19 14:17:07 +00:00
ebb2ec504c STYLE: Updated header documentation 2016-12-19 14:16:13 +00:00
7b4680482e ENH: use string endsWith in a few places
fieldName.endsWith("_0")
vs
    fieldName.size() > 2 && fieldName(fieldName.size()-2, 2) == "_0"
2016-12-18 23:58:45 +01:00
2b14360662 ENH: additional startsWith(), endsWith() string methods
- 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.
2016-12-18 23:21:51 +01:00
4d6ac7ddf8 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-12-18 21:54:38 +00:00
519248d3f4 ENH: fieldExpression - added verbose flag to foundObject 2016-12-18 21:44:25 +00:00
03e1f9c433 ENH: Removed unused files 2016-12-18 21:28:35 +00:00
23dfba2f64 STYLE: Updated header documentation 2016-12-18 21:25:12 +00:00
e379720053 ENH: additional fileName methods
- 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).
2016-12-18 20:40:03 +01:00
b08dadff62 ENH: initializer list constructor for fileName
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.
2016-12-18 20:09:58 +01:00
f45db9cec9 ENH: argList option to remove the noFunctionObjects option (issue #352) 2016-12-19 20:08:58 +01:00
c2b0531081 ENH: only report the architecture information for binary output files
- not required for ASCII, and makes normal dictionaries too noisy.

STYLE: move archHint to be a file-scope static
2016-12-19 00:24:54 +01:00
6f5cece322 STYLE: documentation for wordRe DETECT vs REGEXP was swapped around
- Use wordRe::REGEXP (not wordRe::DETECT) if the content is known to
  be a regular expression anyhow.
2016-12-18 22:35:20 +01:00
7acef189cf ENH: provide machine/OpenFOAM architecture hint in output files (issue #271)
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.
2016-12-18 01:43:58 +01:00
db0d8de756 ENH: Streamline function object - report velocity field being employed - see #323 2016-12-16 20:59:13 +00:00
16f1d748ec BUG: Corrected function object usage documentation. Fixes #349 2016-12-16 20:45:13 +00:00
8b86d8b1b2 BUG: waveMOdels - corrected error introduced in commit 95f3adb1 2016-12-16 20:23:47 +00:00
6e78da0db6 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-12-16 19:54:52 +00:00
901ee44827 BUG: Re-applying commit e73d2c5d 2016-12-16 19:53:57 +00:00
e50108e428 ENH: adding header description for eddyDissipationModel 2016-12-16 09:56:06 -08:00
b53389edef GIT: Resolved conflict merging master into develop 2016-12-16 17:10:38 +00:00
91f8176a75 STYLE: using messaging macros when referring to function name 2016-12-16 16:56:55 +00:00