openfoam merge requestshttps://develop.openfoam.com/Development/openfoam/-/merge_requests2017-07-21T15:04:37Zhttps://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/184Style config2017-12-14T12:02:14ZMark OLESENStyle configv1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/185update for third-party versions2017-12-15T12:28:38ZMark OLESENupdate for third-party versionsv1712Mark OLESENMark OLESENhttps://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/183Support for additional modules2017-12-13T19:43:10ZMark OLESENSupport for additional modules- Provides hooks for placing additional OpenFOAM-related components
into a modules/ subdirectory and having is build along with the
normal OpenFOAM build.
- To avoid possible collisions with other OpenFOAM components,
the nam...- Provides hooks for placing additional OpenFOAM-related components
into a modules/ subdirectory and having is build along with the
normal OpenFOAM build.
- To avoid possible collisions with other OpenFOAM components,
the namespace Foam::Module is provided.
- The additional components could come from one of the Community repositories, any other repository or even just from an unpacked tar-file.v1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/162dictionary compatibility/migration methods2017-11-08T19:55:08ZMark OLESENdictionary compatibility/migration methods- additional methods for handling changed keywords between version.
- old keywords are tagged with the version number to allow future culling of old content.
- minor adjustments to dictionary add/set method to make it easier to build sub...- additional methods for handling changed keywords between version.
- old keywords are tagged with the version number to allow future culling of old content.
- minor adjustments to dictionary add/set method to make it easier to build sub dictionaries on-the-fly without copying.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 #632v1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/165Feature field average windowing2017-11-13T08:59:37ZAdminFeature field average windowingExtended the fieldAverage FO to include an 'exact' windowing method.
In earlier versions the window option generated a pseudo/approximate window average. The type must now be specified by the `windowType` entry, e.g. for backwards compa...Extended the fieldAverage FO to include an 'exact' windowing method.
In earlier versions the window option generated a pseudo/approximate window average. The type must now be specified by the `windowType` entry, e.g. for backwards compatibility, use :
```
windowType approximate;
```
and for the new `exact` window average
```
windowType exact;
```
Note that the `exact` method requires all instances of the field to be cached within the windowing interval, leading to increased memory usage, and also need to be written to enable a clean restart. To suppress writing of all intermediate field files (disabling smooth restart) use the option
```
allowRestart yes;
```v1712https://develop.openfoam.com/Development/openfoam/-/merge_requests/160Improvements to token handling2017-11-07T14:16:22ZMark OLESENImprovements to token handling- code simplification, movable/swappable tokens, Pstreams tweak.- code simplification, movable/swappable tokens, Pstreams tweak.v1712Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/175preliminary improvements for externalCoupled2017-11-28T16:54:07ZMark OLESENpreliminary improvements for externalCoupled- added interpretation of lock file contents to function similarly to the abort function object, which allows the slave process to signal OpenFOAM to stop.
- various adjustments to time and residuals control for more flexibility.- added interpretation of lock file contents to function similarly to the abort function object, which allows the slave process to signal OpenFOAM to stop.
- various adjustments to time and residuals control for more flexibility.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/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/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/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/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/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/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/174consolidate surfaceFormats for reading/writing triSurface2017-11-30T08:46:44ZMark OLESENconsolidate surfaceFormats for reading/writing triSurface- eliminates previous code duplication and improves maintainability
- issue #294
- eliminates previous code duplication and improves maintainability
- issue #294
v1712AdminAdminhttps://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/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.v1712AdminAdmin