openfoam merge requestshttps://develop.openfoam.com/Development/openfoam/-/merge_requests2017-09-22T12:56:39Zhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/144Integration openfoam.org2017-09-22T12:56:39ZAdminIntegration openfoam.orgIntegration of selected (cherry-picked and updated as necessary) code changes from openfoam.org, including:
- barycentric tracking
- OpenCFD update: re-instated `wallBoundedStreamLines`
- OpenCFD update: provide backwards-compat...Integration of selected (cherry-picked and updated as necessary) code changes from openfoam.org, including:
- barycentric tracking
- OpenCFD update: re-instated `wallBoundedStreamLines`
- OpenCFD update: provide backwards-compatibility for writing out of Lagrangian data using the earlier `positions` file content, and restarting from cases using the earlier file format
- collocated I/O for parallel running
- includes large changeset from [OpenCFD history repository](https://github.com/OpenCFD/OpenFOAM-history) (see commit [from May 2014](https://github.com/OpenCFD/OpenFOAM-history/commit/3c8cd2ac66f127a0c98299174558c96e8e9ddaf0))
New boundary conditions:
- `interfaceCompression`: sets the phase fraction to zero if it is less than 0.5. Useful for ship hulls to prevent bleeding of the phase fraction along the surface
- `flowRateOutletVelocity`: outlet equivalent of flowRateOutletVelocityFvPatchVectorField
- `swirlInletVelocity`: general swirl inlet condition
- `matchedFlowRateOutletVelocity`: flow rate outlet condition
Deprecated:
- `foamList`: `-listXXX` options now available within each application
- `foamDebugSwitches`: use `<application> -listSwitches`, e.g. `icoFoam -listSwitches`
@mattijsv1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/143BugFix: corrected keyword for flowRateInletVelocity BC fixes #5772017-08-30T08:49:53ZPrashant SonakarBugFix: corrected keyword for flowRateInletVelocity BC fixes #577corrected as : volumetricFlowRate instead of volumeFlowRatecorrected as : volumetricFlowRate instead of volumeFlowRatev1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/142ENH: Adds basic information for faceZone and cellZones during checkMesh (fixe...2017-08-31T12:16:33ZPrashant SonakarENH: Adds basic information for faceZone and cellZones during checkMesh (fixes #560)zone information
- name
- points
- boundingBox
@andy : Please confirm if parallel OKzone information
- name
- points
- boundingBox
@andy : Please confirm if parallel OKv1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/141Feature surface field value operations2017-09-12T07:37:47ZMark OLESENFeature surface field value operations- add absolute weighting for surfaceFieldValue (issue #567).
Useful either for flow-rate weighting where backflow should be ignored or when surfaces have inconsistent orientation.
- support derived field pTotal for incompressible flow- add absolute weighting for surfaceFieldValue (issue #567).
Useful either for flow-rate weighting where backflow should be ignored or when surfaces have inconsistent orientation.
- support derived field pTotal for incompressible flowv1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/140Bug pstream token sending2017-08-10T12:56:42ZMark OLESENBug pstream token sendingisspace filtering would interfere with sending of tokenType.
This is not currently an issue or a bug, but will become when new token types are added. Instead append the tokenType directly to the buffer.isspace filtering would interfere with sending of tokenType.
This is not currently an issue or a bug, but will become when new token types are added. Instead append the tokenType directly to the buffer.v1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/139Feature surface scaling2017-09-12T07:36:13ZMark OLESENFeature surface scalingAdds -scale option to various surface utilities or a "scale" dictionary entry when a dictionary is being used.
Adds -scale option to various surface utilities or a "scale" dictionary entry when a dictionary is being used.
v1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/138CONFIG: add settings for Cray compiler and cray mpich2017-10-24T17:28:54ZMark OLESENCONFIG: add settings for Cray compiler and cray mpichMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/137Feature bash completion2017-08-09T09:57:15ZMark OLESENFeature bash completionThis change adds on-the-fly definition of bash completions for (FOAM_APPBIN) OpenFOAM applications. This makes it easier and less error-prone than recreating the bash_completions via a script and reduces the environment overhead compared...This change adds on-the-fly definition of bash completions for (FOAM_APPBIN) OpenFOAM applications. This makes it easier and less error-prone than recreating the bash_completions via a script and reduces the environment overhead compared to using separate functions for each application. It also makes it relatively easy to provide as a backport for previous OpenFOAM versions.
Tcsh users now get completion as well, but for efficiency the completion_cache should be pre-built (via the `bin/tools/foamCreateCompletionCache` script).
v1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/136Style string methods2017-08-02T15:28:43ZMark OLESENStyle string methodsMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/134Feature robuster IOobjectList construction2017-08-09T09:58:20ZMark OLESENFeature robuster IOobjectList constructionImprove the robustness when loading file lists with contents that *almost* could look like OpenFOAM content (ie, start with `FoamFile`), but which in fact are not.
@petebachantImprove the robustness when loading file lists with contents that *almost* could look like OpenFOAM content (ie, start with `FoamFile`), but which in fact are not.
@petebachantv1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/132BUG: Correct viscosity in simpleFoam motorBike tutorial (fixes #550)2017-07-29T10:31:39ZAdminBUG: Correct viscosity in simpleFoam motorBike tutorial (fixes #550)https://develop.openfoam.com/Development/openfoam/-/merge_requests/131STYLE: New syntax compatible with v1706 (Fixes #548)2017-08-17T13:51:47ZPrashant SonakarSTYLE: New syntax compatible with v1706 (Fixes #548)Fixes #548Fixes #548AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/129Regression icc2017-07-21T15:04:18ZMark OLESENRegression icc- C++11 user-defined conversions appear to present issues for some intel compilers.
- the _deg conversion (issue #544) causes compilation to crash.- C++11 user-defined conversions appear to present issues for some intel compilers.
- the _deg conversion (issue #544) causes compilation to crash.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/128Consistent use of string methods2017-07-21T15:04:37ZMark OLESENConsistent use of string methods- use more standard forms of string access. Eg, substr() instead of the operator()(...) form, or even resize().
- turn off underscore prefixing by default for word::validated()
- new SubStrings container and associated stringOps::split...- use more standard forms of string access. Eg, substr() instead of the operator()(...) form, or even resize().
- turn off underscore prefixing by default for word::validated()
- new SubStrings container and associated stringOps::split operator. This container may also be useful for writing simple parsers.v1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/127Feature streams cleanup2017-07-18T11:48:32ZMark OLESENFeature streams cleanup* Resolves issues encountered with rewinding input file streams and output string streams.
* Make the coding for allocated streams more consistent, which makes their cleanup less messy.
* Resolves issues encountered with rewinding input file streams and output string streams.
* Make the coding for allocated streams more consistent, which makes their cleanup less messy.
v1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/126Feature external file coupler2017-07-18T10:12:06ZMark OLESENFeature external file coupler* Promoted code from `lumpedPointMotion` into the `cfdTools` directory
* refactored the `externalCoupler` into `externalFileCoupler`* Promoted code from `lumpedPointMotion` into the `cfdTools` directory
* refactored the `externalCoupler` into `externalFileCoupler`v1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/125STYLE: checkMesh: remove duplicate writeSets entry from header (resolves #293)2017-07-18T11:18:24ZAdminSTYLE: checkMesh: remove duplicate writeSets entry from header (resolves #293)Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/124Feature dictionary scoping lvalue2017-10-29T15:36:08ZMark OLESENFeature dictionary scoping lvalue* Supports using '/' within dictionary scoping, which avoids the ambiguity of having a '.' which could mean scoping, or be part of a keyword.
* General dictionary searcher classes/methods for clearer searching semantics and to enable ad...* Supports using '/' within dictionary scoping, which avoids the ambiguity of having a '.' which could mean scoping, or be part of a keyword.
* General dictionary searcher classes/methods for clearer searching semantics and to enable addressing a dictionary entry as an lvalue.
* The `#remove` directive now functions across scopes
* Can specify a keyword with a defined scope. If needed, any intermediate dictionaries are created.
For example,
"/boundaryField/lowerWall/type" noSlip;
"/boundaryField/newBoundary" { type fixedValue; value uniform (0 0 0); }
Manage "one-shot" change of the inputMode.
For example,
#includeIfPresent "user-files"
...
#default value uniform 10;
vs.
#includeIfPresent "user-files"
#inputMode protect
...
value uniform 10;
#inputMode merge // _Assuming_ we actually had this before
v1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/123Feature post release cleaning2017-07-11T11:45:21ZMark OLESENFeature post release cleaningA few commits that somehow slipped through a rebaseA few commits that somehow slipped through a rebasev1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/122Feature post release cleaning2017-07-07T16:29:09ZMark OLESENFeature post release cleaningVarious code tidying up to use newer C++11 and 1706 features but would have been too late for the June code-freeze.
- FoamArch : combine from argList and regIOobject
- cleanup run-time selectables to use auto and cfind
- remove Name...Various code tidying up to use newer C++11 and 1706 features but would have been too late for the June code-freeze.
- FoamArch : combine from argList and regIOobject
- cleanup run-time selectables to use auto and cfind
- remove NamedEnum from loads of places.
- ABORT function object using a sub-list of Time stopAtControls enumeration
- degToRad() user literals and eliminate duplicate code
- streams :: name() - non-virtual
- MPI_BUFFER_SIZE, NAN, FPE setting via etc/controlDict, optionally via env-variables
- clamp handling for various tables (duplicate and untidy code)AdminAdmin