openfoam merge requestshttps://develop.openfoam.com/Development/openfoam/-/merge_requests2019-05-22T09:29:42Zhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/259Feature dictionary checking2019-05-22T09:29:42ZMark OLESENFeature dictionary checkingAdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/16Feature external coupled2015-11-26T15:43:18ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comFeature external coupled- externalCoupled moved from BC to FO
- Multi-region support
- tutorial heatTransfer/chtMultiRegionFoam/externalCoupledMultiRegionHeater/- externalCoupled moved from BC to FO
- Multi-region support
- tutorial heatTransfer/chtMultiRegionFoam/externalCoupledMultiRegionHeater/https://develop.openfoam.com/Development/openfoam/-/merge_requests/243Feature reflective solar load2019-05-02T09:45:46ZSergio FerrarisFeature reflective solar load### Summary
Adding reflecting fluxes to Solar load radiation model.
Adding functionality to the boundary radiation models and new
place holder for basic wall types such as transparent, opaqueDiffusive,
opaqueReflective. Radiation wall ...### Summary
Adding reflecting fluxes to Solar load radiation model.
Adding functionality to the boundary radiation models and new
place holder for basic wall types such as transparent, opaqueDiffusive,
opaqueReflective. Radiation wall models are now runtime selectable.
Adding multi-band capabilities to VF model and improving the set up
for using solar loads in VF and fvDOM radiation models.
### Details of new models (If applicable)
The new entry is useReflectedRays = true in the radiationProperties.
This calculates the reflected rays on reflective walls. It can handle first reflection
on surfaces. Not multiple reflection are considered.
The wall boundary type "opaqueReflective" handles specular reflection which a proportion
of diffusive heat flux
### Risks
(Possible regressions?)
The boundaryRadiationProperties entries key words are "type", not "mode". But a backward
compatibility reading was introduced.v1906AdminAdminhttps://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/54STYLE/ENH: reduce code duplication for coded boundary conditions (issue #184)2016-12-23T12:44:52ZMark OLESENSTYLE/ENH: reduce code duplication for coded boundary conditions (issue #184)- relocate common dictionary output into codedBase class
@Mattijs please test with a few examples as well- relocate common dictionary output into codedBase class
@Mattijs please test with a few examples as wellMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/83ENH: improve objectRegistry functionality (issue #322)2016-12-06T10:48:43ZMark OLESENENH: improve objectRegistry functionality (issue #322)- Recursive searching for objects within a registry is now optional
(previous it was always done).
A recursive search effectively blocks the construction of sub-sub-registries
if their names are 'masked' by some parent level sub-r...- Recursive searching for objects within a registry is now optional
(previous it was always done).
A recursive search effectively blocks the construction of sub-sub-registries
if their names are 'masked' by some parent level sub-registry with
the same name! (BUG)
- Recursive search is now turned OFF by default, which makes it consistent
with dictionary and probably causes the least number of surprises.
----
Various new convenience methods added:
lookupObjectRef()
- returns a non-const reference.
For example,
volScalarField& U = mesh().lookupObjectRef<volScalarField>("U");
Instead of
volScalarField& U = const_cast<volScalarField&>
(
mesh().lookupObject<volScalarField>("U")
);
--
lookupObjectPtr()
- returns a const pointer, and nullptr on failure.
For example,
const volScalarField* Uptr = mesh().lookupObjectPtr<volScalarField>("U");
if (Uptr)
{
const volScalarField& U = *Uptr;
...
}
Instead of
if (mesh().foundObject<volScalarField>("U"))
{
const volScalarField& U = mesh().lookupObject<volScalarField>("U");
...
}
--
lookupObjectRefPtr()
- returns a non-const pointer, and nullptr on failure.
For example,
volScalarField* Uptr = mesh().lookupObjectRefPtr<volScalarField>("U");
if (Uptr)
{
volScalarField& U = *Uptr; // use as reference
(*Uptr) = ...; // or use directly
}
Instead of
if (mesh().foundObject<volScalarField>("U"))
{
volScalarField& U = const_cast<volScalarField&>
(
mesh().lookupObject<volScalarField>("U")
);
}
--
sortedNames()
- now works with template parameters and with regular expression
matching as well.
For example,
wordList names = mesh().sortedNames();
wordList fields = mesh().sortedName<volScalarField>();
Instead of
wordList names = mesh().sortedNames();
wordList fields = mesh().names<volScalarField>();
Foam::sort(fields);
--Version v1612AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/296BUG: RASModelVariables::SpalartAllmaras cannot be combined with an...2019-11-19T11:09:23ZVaggelis PapoutsisBUG: RASModelVariables::SpalartAllmaras cannot be combined with an...BUG: RASModelVariables::SpalartAllmaras cannot be combined with an fvMotionSolver diffusivity which depends on wall distances (fixes #1501)BUG: RASModelVariables::SpalartAllmaras cannot be combined with an fvMotionSolver diffusivity which depends on wall distances (fixes #1501)v1912AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/282BUG: fix simpleFoam/T3A.nut refCast error | fixedValue to type nutWallFunctio...2019-10-10T11:50:34ZKutalmış BerçinBUG: fix simpleFoam/T3A.nut refCast error | fixedValue to type nutWallFunction (#1457)Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/294WIP: bug-1261-QRMatrix2019-12-12T07:36:25ZKutalmış BerçinWIP: bug-1261-QRMatrix@mark@markAdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/236Feature postpro2019-02-20T19:43:43ZMark OLESENFeature postpro### Summary
Extension of insitu visualization (runTimePostProcessing):
- parallel rendering
- direct use of VTK cutting plane and iso-surface filters
- *live* access to simulation data such as lagrangian clouds and geometry patches...### Summary
Extension of insitu visualization (runTimePostProcessing):
- parallel rendering
- direct use of VTK cutting plane and iso-surface filters
- *live* access to simulation data such as lagrangian clouds and geometry patches
- the ability to use stored surfaces and fields originating from another function object (eg, sampledSurfaces)
Significant cleanup and reimplementation of the surface sampling function object and all the surface writers to allow per-surface format specification. Added support for `.vtp` output of sampled surface with multiple fields in a single file.
Stored surface information can now be used for other field calculations (eg, `surfaceFieldValue`)
Images and description of the new functionality are attached to issue #1206v1906AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/67ENH: Support more C++11 initializer lists (issue #261)2016-10-18T18:31:46ZMark OLESENENH: Support more C++11 initializer lists (issue #261)DynamicList
-----------
- construction, assignment and append
HashSet
-------
- construction, insert, set.
- assignment will use the implicit List constructor
hashedWordList
--------------
- construction, assignment
- additio...DynamicList
-----------
- construction, assignment and append
HashSet
-------
- construction, insert, set.
- assignment will use the implicit List constructor
hashedWordList
--------------
- construction, assignment
- additional sort() and uniq() methods.
- Readonly access to HashTable information via lookup() method.
- NB: could avoid 'const char**' constructors in the future
Some tests are includedAdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/264Feature complex cleanup2019-06-04T10:35:36ZKutalmış BerçinFeature complex cleanupMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/266Feature vof update solvers2019-06-07T08:38:37ZSergio FerrarisFeature vof update solversNew chtMultiRegionTwoPhaseEulerFoam solver, plus corresponding BC's. Integrated MULES and CMULES new interfaces and the corresponding multiphase solvers and tutorials. All multiphase Euler tutorials are updated.
Inter type of tutorials h...New chtMultiRegionTwoPhaseEulerFoam solver, plus corresponding BC's. Integrated MULES and CMULES new interfaces and the corresponding multiphase solvers and tutorials. All multiphase Euler tutorials are updated.
Inter type of tutorials have been tested (to confirm the correct modification of new MULESinterfaces)
New library src/phaseSystemModels for the phases systems, sub-models, BC's, turbulence of the solver twoPhaseReactingEulerFoam and multiphaseReactingEulerFoam. This lib was taken out of the Euler solvers and located on /srcv1906AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/278Integration of OpenFOAM.org | Wall functions2019-10-03T10:34:11ZKutalmış BerçinIntegration of OpenFOAM.org | Wall functionsAdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/48mapping constraint patches2023-12-07T19:02:01ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.commapping constraint patchesAdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/91adding viewFactorWall to inGroups fixes #3842017-01-17T12:46:00ZPrashant Sonakaradding viewFactorWall to inGroups fixes #384@Sergio@SergioAdminAdminhttps://develop.openfoam.com/Development/openfoam/-/merge_requests/159Feature mesh stitching2017-11-04T11:39:11ZMark OLESENFeature mesh stitching- handle partially attached master/slave faces- handle partially attached master/slave facesMark OLESENMark OLESENhttps://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/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/297BUG: adjointSolverName not set correctly in adjointWallVelocityLowRe (fixes #...2019-11-19T11:08:58ZVaggelis PapoutsisBUG: adjointSolverName not set correctly in adjointWallVelocityLowRe (fixes #1502)v1912AdminAdmin