29a5793b5b
STYLE: argList::opt method instead of the longer argList::lookupOrDefault
...
- also replaced a few instances of readIfPresent with opt<> for
constant values.
2018-12-12 12:10:39 +01:00
f38190213c
ENH: support usage descriptions for command arguments
2018-12-12 11:58:56 +01:00
c3b6c787a7
BUG: sampledSurface::originalIds not virtual
2018-12-12 10:52:11 +01:00
a66e9c7468
ENH: adjust completion parser
...
- restrict to text between "^[Oo]ptions:" and "-help-full" to avoid
potential issues when more text is introduced in the usage output.
2018-12-12 03:07:14 +01:00
d29388f1c5
STYLE: use foamVersion::api instead of OPENFOAM define
...
- for referencing the etc locations, or reporting the current API
value.
2018-12-12 03:02:49 +01:00
99b85e3b3d
COMP: disambiguate for 64-bit label
2018-12-11 19:36:23 +01:00
a93a1abec7
COMP: define Scotch and Zoltan include dirs before mpi directories
...
- the local third-party headers are to be searched before any MPI
include directories. This stops the situation where an mpi-specific
version of ptscotch.h is installed into the MPI directories.
This "system" version may well have a different SCOTCH_Num size
(32 bit vs 64 bit) from the third-party library etc.
2018-12-11 18:50:19 +01:00
69f257adc7
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2018-12-11 13:55:14 -08:00
aaa041b3c7
Fixing reconstruction of lagragian fields for hopper
2018-12-11 13:53:54 -08:00
08b70bb222
STYLE: remove unused variable (vtm writer)
2018-12-11 16:40:14 +01:00
98158f5409
TUT: add End marker for tutorials
2018-12-11 16:25:28 +01:00
a1cc72f8ac
SUBMODULES: update for -help usage
2018-12-11 16:26:45 +01:00
68ec561df8
STYLE: add usage notes to more utilities and solvers
2018-12-11 15:25:27 +01:00
ee5199cc65
STYLE: adjust manpage layouts
2018-12-10 22:40:53 +01:00
e7400ef271
TUT: split off an Allrun.pre for windAroundBuildings
2018-12-10 21:05:27 +01:00
27a705bb3f
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2018-12-10 12:04:31 -08:00
51fae75b8e
STY: Deleting unused variable
2018-12-10 12:04:00 -08:00
199c857d65
ENH: check if MPI buffer really was attached before deattaching
...
- can occur if MPI has be initialized for communication but OpenFOAM
itself is operating in serial mode and thus did not attach any
MPI buffers.
2018-12-10 17:39:20 +01:00
f0fc2a2671
BUG: paraview target was tagged with ParaVIEW_MAJOR instead of PARAVIEW_API
...
- regression was introduced by 628b2445fc
2018-12-10 16:43:32 +01:00
170baf4d3b
STYLE: use '&&', '||' instead of '-a' and '-o' for some shell commands
2018-12-10 15:13:15 +01:00
51a3f4e6e4
ENH: make foamToVTK faceZone writing explicit ( closes #1117 )
...
- change previous default (convert all faceZones unless -noFaceZones
specified) with the default behaviour to only convert face zones on
request.
- uses the '-faceZones' option as per foamToEnsight
2018-12-10 14:35:44 +01:00
5415991e79
ENH: argList::getList with optional parameter
...
- this allows it to work like readListIfPresent() but with a list as
the return value, which can be useful for a const context.
2018-12-10 14:09:53 +01:00
a38b459ab0
CONFIG: use project api instead of version when finding config files
2018-12-10 14:04:01 +01:00
ba7b032687
STYLE: adjust comments in config setup
2018-12-10 13:15:31 +01:00
9f45518378
ENH: Added invertAlpha option to the setAlphaField utility. Fixes #1113
2018-12-10 11:33:57 +00:00
ef6eb77712
ENH: use vtp output for AMIWeights function object
...
- allows inclusion of the cyclicACMIPolyPatch mask in the same file
2018-12-10 11:26:11 +01:00
b6cb62a53f
ENH: handle odd c-shell sourcing patterns
...
- the result of lsof, which is used in the etc/cshrc to locate the
installation, may contain trailing information about host and mount
point.
There is also a moderate concern with people sourcing the
file indirectly with their own version in the same directory.
For example, a 'etc/cshrc-site' that actually sources 'etc/cshrc'.
This leads to multiple matches in the lsof output, so we only take
the first one, stop there and hope they didn't do something even
trickier.
2018-12-10 10:34:11 +01:00
38c56c5c6b
BUG: command-args overload ignored for etc/config.csh/paraview
...
- now needs local 'set' instead of 'setenv'
- fixed inconsistency in edit of ParaView_VERSION for csh version
2018-12-10 09:50:46 +01:00
69006ef0a7
ENH: adjust wmakeBuildInfo to work with older git versions as well
2018-12-10 09:49:45 +01:00
a44e59502f
STYLE: additional information at end of top-level Allwmake
...
- report api, patch as well as the number of entries in the
FOAM_APPBIN, FOAM_LIBBIN for a quick visual sanity check
2018-12-09 23:27:47 +01:00
438cdb083e
Merge branch 'feature-AMIWeights-FO' into 'develop'
...
ENH: Added new AMIWeights function object
See merge request Development/OpenFOAM-plus!225
2018-12-10 09:55:03 +00:00
689db16064
ENH: add explicit doubleVector, doubleTensor typedefs
...
- the counterpart to floatVector, doubleTensor, which can be useful
for connecting to programs that always expect double precision for
the arguments, when using single-precision for OpenFOAM itself.
Eg,
doubleVector pos = ...;
vtkcamera->SetPosition(pos.v_);
2018-12-09 17:44:12 +01:00
0a056fdbbf
STYLE: use fallthrough for 'use' action in selections ( #926 )
...
- applyToSet() automatically handles NEW like ADD, so no need to do
so explicitly
2018-12-09 11:51:13 +01:00
08bcee7a3f
ENH: support 'use' action for selections in vtkWrite, ensightWrite ( #926 )
...
- have 'use' as the action appears more intuitive as the first entry
instead of 'add'. Was previously also added to vtkCloud.
2018-12-08 22:16:58 +01:00
0e4ccd7cef
ENH: improve build naming without git
...
- now defaults to the project-version when absolutely nothing else is
known
STYLE: simplify internal calling in wmakeBuildInfo
2018-12-08 18:18:17 +01:00
c45ff8cefc
BUG: WM_THIRD_PARTY_DIR not set in csh (bug noted in merge !222 )
...
- local csh variable in foreach was masking the setenv
2018-12-08 18:01:44 +01:00
5e4d7386ec
ENH: use foamVersion::api internally in etcFiles searching ( #1010 )
...
- prefer this to using the OPENFOAM define since this improves the
internal consistency with the build information.
The API information could change between builds without the
etcFiles.C being recompiled whereas the value of
Foam::foamVersion::api is force updated during the build (triggers
recompilation of globals.Cver)
2018-12-08 17:42:31 +01:00
a4dc9966ed
ENH: Added new AMIWeights function object
...
Reports the min|max|average AMI weights to text file and optionally
writes VTK surfaces of the sum of the weights, and mask field for
ACMI patches.
Example usage:
AMIWeights
{
type AMIWeights;
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
writeFields yes;
}
2018-12-07 17:24:13 +00:00
afc373d683
BUG: dimensioned<Type> - corrected handling of lookupOrDefault. Closes #1116
2018-12-07 11:45:47 +00:00
31642a7d88
ENH: residuals FO - extended writing to include solver name, initial
...
and final residuals, nIterations. See #1115 .
2018-12-07 11:17:23 +00:00
f9116e9e40
TUT: Added interIsoFoam cases
2018-12-07 09:49:39 +00:00
0b5f681fb9
DOC: Updated header documentation
2018-12-06 23:09:10 +00:00
a16fd1fa9e
TUT: Added new decay of isotropic turbulence case based on CBC data
...
Reference:
Comte-Bellot, G., and Corrsin, S., "Simple Eulerian Time Correlation of
Full- and Narrow-Band Velocity Signals in Grid-Generated, 'Isotropic'
Turbulence," Journal of Fluid Mechanics, Vol. 48, No. 2, 1971,
pp. 273–337.
2018-12-06 22:56:32 +00:00
a1558b88f5
ENH: Added new utility to create a box of isotropic turbulence
2018-12-06 22:28:43 +00:00
546de48ffe
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2018-12-06 09:06:31 -08:00
ff74469087
BUG: Correct division by zero when initial U = 0 in fvOption
...
source directionalPressureGradientExplicitSource
2018-12-06 09:04:08 -08:00
65475a7e40
Merge branch 'feature-isoSurfaceTopo' into 'develop'
...
ENH: isoSurfaceTopo: replacement for isoSurfaceCell.
See merge request Development/OpenFOAM-plus!224
2018-12-06 15:56:26 +00:00
7943603bf0
ENH: isoSurfaceTopo: replacement for isoSurfaceCell.
2018-12-06 15:56:26 +00:00
069dd14413
Merge branch 'feature-config' into 'develop'
...
ENH: update handling of versioning and make control (issue #1010 )
See merge request Development/OpenFOAM-plus!222
2018-12-06 08:37:48 +00:00
6e32d05848
SUBMODULE: adjust for catalyst
2018-12-05 23:13:59 +01:00