openfoam merge requestshttps://develop.openfoam.com/Development/openfoam/-/merge_requests2017-07-11T11:45:21Zhttps://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/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/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/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/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/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/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/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/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/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/145Feature paraview clouds2017-09-12T13:45:39ZMark OLESENFeature paraview cloudsHandle lagrangian fields for all clouds.Handle lagrangian fields for all clouds.v1712Mark OLESENMark OLESENhttps://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/146improve consistency in parsing primitives from strings2017-09-25T17:28:48ZMark OLESENimprove consistency in parsing primitives from stringsThe motivation is to provide a simpler and safer means of extracting integers and labels from strings. There are several benefits:
- catch bad label/scalar input for command-line options/arguments which may be human generated or via s...The motivation is to provide a simpler and safer means of extracting integers and labels from strings. There are several benefits:
- catch bad label/scalar input for command-line options/arguments which may be human generated or via scripts.
- easier/clear to work with when input has already been lexed, without using an IStringStream()
- work directly with C++ strings instead of C-string.
@andyv1712Sergio FerrarisSergio Ferrarishttps://develop.openfoam.com/Development/openfoam/-/merge_requests/147ENH: Arrhenius viscocity model for incompressible viscocity,2017-09-27T07:27:54ZSergio FerrarisENH: Arrhenius viscocity model for incompressible viscocity,energyTransport FO for incompressible single and multiple phase flows and
viscousDissipation fvOption source.
Tutorial to show the use of energyTransport: multiphase/multiphaseInterFoam/laminar/mixerVessel2D
Tutorial to show viscousDissi...energyTransport FO for incompressible single and multiple phase flows and
viscousDissipation fvOption source.
Tutorial to show the use of energyTransport: multiphase/multiphaseInterFoam/laminar/mixerVessel2D
Tutorial to show viscousDissipation: compressible/rhoPimpleFoam/RAS/TJunctionv1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/152Feature list methods2017-10-11T15:34:22ZMark OLESENFeature list methodsVarious minor cleanups for lists:
- simplifications and extension to DynamicList (issue #595), notably reducing the number of template parameters and imposing instead a min allocation limit that avoids repeated re-allocation when resizi...Various minor cleanups for lists:
- simplifications and extension to DynamicList (issue #595), notably reducing the number of template parameters and imposing instead a min allocation limit that avoids repeated re-allocation when resizing small lists. A small list has been arbitrarily defined as being 16 elements.
- additional removal methods for DynamicList
- `find()` and `found()` methods for list containers, which provide some symmetry with hash containers and std::string. The `found()` method may be easier to read. Eg,
`list.found(val)` vs. `(findIndex(list, val) != -1)`
- added move constructors and move assignment for various containers.
- rebased edge on labelPair for more consistency with first/second access and to make sort/flip methods more generally available. Note that the current `edge::end()` has the misfortune of masking the underlying list iterators and thus prevents use of range-based fors with edges.v1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/154add support for KaHIP decomposition2017-10-11T15:36:50ZMark OLESENadd support for KaHIP decomposition- an alternative to metis and scotch.- an alternative to metis and scotch.v1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/156low-level binary Ostream output, additional stream classes2017-10-24T14:23:33ZMark OLESENlow-level binary Ostream output, additional stream classes- Exposing low-level raw binary output for Ostream permits direct handling of indirect lists
- Additional memory-backed streams and DynamicList backed streams to special cases to avoid excessive string copying associated with using stri...- Exposing low-level raw binary output for Ostream permits direct handling of indirect lists
- Additional memory-backed streams and DynamicList backed streams to special cases to avoid excessive string copying associated with using string streams.v1712AdminAdminhttps://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/161STYLE: Corrected file name in surface noise, added README file2017-11-07T10:52:27ZPrashant SonakarSTYLE: Corrected file name in surface noise, added README filefixes #632fixes #632v1712AdminAdmin