openfoam merge requestshttps://develop.openfoam.com/Development/openfoam/-/merge_requests2017-11-07T14:16:22Zhttps://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/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/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/167Feature function object field input2017-11-13T09:10:58ZAdminFeature function object field inputEnabled use of wildcard entries when when specifying the `fields` entry for some function objects:
- `fieldMinMax`
- `residuals`
Also available for the `postProcess` utility/option, e.g.
```
postProcess -func fieldMinMax -fields '(".*"...Enabled use of wildcard entries when when specifying the `fields` entry for some function objects:
- `fieldMinMax`
- `residuals`
Also available for the `postProcess` utility/option, e.g.
```
postProcess -func fieldMinMax -fields '(".*")'
```
TODO: Update `surfaceFieldValue` and `volFieldValue` objectsv1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/168STYLE: use Ostream writeEntry when writing key/value entries2017-11-14T08:32:14ZMark OLESENSTYLE: use Ostream writeEntry when writing key/value entries- makes for clearer code- makes for clearer codev1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/170cellModel enumerations2017-11-18T13:14:40ZMark OLESENcellModel enumerations- add enumerations for known cell models in cellModel to avoid relying on strings when looking up predefined cell models.
- `cellModeller::lookup()` static is now superseded by `cellModel::ptr()` and `cellModel::ref()` statics.- add enumerations for known cell models in cellModel to avoid relying on strings when looking up predefined cell models.
- `cellModeller::lookup()` static is now superseded by `cellModel::ptr()` and `cellModel::ref()` statics.v1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/171Consistency update for list typedefs2017-11-20T07:48:09ZMark OLESENConsistency update for list typedefsv1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/164Feature multiple stitch mesh (wp04)2017-11-20T09:32:31ZMark OLESENFeature multiple stitch mesh (wp04)- dictionary-driven version of stitchMesh allowing several successive operations.
@Prashant- dictionary-driven version of stitchMesh allowing several successive operations.
@Prashantv1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/172Feature arglist option aliases2017-11-23T09:27:35ZMark OLESENFeature arglist option aliasesAllows migration of command-line options, with versioning to track the 'age' of the changes.
Eg, if `-decomposeParDict` gets changed to something like `-decompose-dict`, but we still wish to accept the older name for it:
argList:...Allows migration of command-line options, with versioning to track the 'age' of the changes.
Eg, if `-decomposeParDict` gets changed to something like `-decompose-dict`, but we still wish to accept the older name for it:
argList::addOptionCompat("decompose-dict", { "decomposeParDict", 1612});
argList::addOptionCompat("no-function-objects", {"noFunctionObjects", 1612});
This emits a warning about the option being out of date, but will rewrite it with the newer option name, which is what would be referenced internally.v1712Mark OLESENMark OLESENhttps://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/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/163Feature domain decomp (wp05)2017-11-30T19:58:21ZMark OLESENFeature domain decomp (wp05)- region-wise decomposition methods and/or numberOfSubdomains
- region-wise decomposition methods and/or numberOfSubdomains
v1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/181Minor improvements for redistributePar2017-12-08T17:09:45ZMark OLESENMinor improvements for redistributeParv1712Mark OLESENMark OLESENhttps://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/176Feature external coupled2017-12-13T19:58:09ZMark OLESENFeature external coupledCode infrastructure that help with adding arbitrary additional loops into solvers.
One example is for cht energy coupling.
Code infrastructure that help with adding arbitrary additional loops into solvers.
One example is for cht energy coupling.
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/179finite area integration2017-12-18T11:44:03ZMark OLESENfinite area integrationThis merge includes the finite-area port from Hrvoje Jasak, a number of integration fixes and preliminary post-processing of finite area meshes/fields.
## References
[Tukovic, Z: The Finite Volume Method on Domains of Changeable Sh...This merge includes the finite-area port from Hrvoje Jasak, a number of integration fixes and preliminary post-processing of finite area meshes/fields.
## References
[Tukovic, Z: The Finite Volume Method on Domains of Changeable Shape, PhD
Thesis, University of Zagreb, Croatia, 2005](http://foam-extend.fsb.hr/wp-content/uploads/2017/01/Tukovic_PhD_2005.pdf)
Tuković, Željko; Jasak, Hrvoje.
A moving mesh finite volume interface tracking method for surface
tension dominated interfacial fluid flow. Computers & fluids. 55
(2012) ; 70-84 v1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/186Updated noise fft handling via fftw2017-12-21T10:19:54ZAdminUpdated noise fft handling via fftwUpdated the noise FFT:
- now uses the real to half-complex transform
- only creates and destroys the fftw plan onceUpdated the noise FFT:
- now uses the real to half-complex transform
- only creates and destroys the fftw plan oncev1712https://develop.openfoam.com/Development/openfoam/-/merge_requests/182WIP: Integration of IH Cantabria wave modelling contributions2019-10-03T10:38:02ZAdminWIP: Integration of IH Cantabria wave modelling contributions## New code
New wave generation model:
- `streamFunction`: based on Fenton's Fourier approximation
New interFoam-based solver:
- `interPorousFoam`: alternative method to include porosity effects, to be used with new `fvOptions` (se...## New code
New wave generation model:
- `streamFunction`: based on Fenton's Fourier approximation
New interFoam-based solver:
- `interPorousFoam`: alternative method to include porosity effects, to be used with new `fvOptions` (see below)
New `fvOptions`:
- `multiphasePorositySource`: porosity for multiphase flows
- `mangrovesSource`: mangrove interaction, i.e. drag and turbulence contributions for k-epsilon based models
## Test cases:
- interPorousFoam/porousDamBreak
- interPorousFoam/mangroves
## References:
Solitary wave attenuation by vegetation patches.
Maza, M, Lara, J.L., & Losada, I.J. (2016)
Advances in Water Resources. Vol.98, pp. 159-172
https://doi.org/10.1016/j.advwatres.2016.10.021
Tsunami wave interaction with mangrove forests: A 3-D numerical approach.
Maza, M, Lara, J.L., & Losada, I.J. (2015)
Coastal Engineering. Vol.98, pp. 33-54
https://doi.org/10.1016/j.coastaleng.2015.01.002
## Code integration
- Initial code supplied in commits e0682d67 and 2124eb88; and integrated into OpenFOAM by OpenCFDv1712AdminAdmin