- May 21, 2016
-
-
Henry Weller authored
In most boundary conditions, fvOptions etc. required and optional fields to be looked-up from the objectRegistry are selected by setting the keyword corresponding to the standard field name in the BC etc. to the appropriate name in the objectRegistry. Usually a default is provided with sets the field name to the keyword name, e.g. in the totalPressureFvPatchScalarField the velocity is selected by setting the keyword 'U' to the appropriate name which defaults to 'U': Property | Description | Required | Default value U | velocity field name | no | U phi | flux field name | no | phi . . . However, in some BCs and functionObjects and many fvOptions another convention is used in which the field name keyword is appended by 'Name' e.g. Property | Description | Required | Default value pName | pressure field name | no | p UName | velocity field name | no | U This difference in convention is unnecessary and confusing, hinders code and dictionary reuse and complicates code maintenance. In this commit the appended 'Name' is removed from the field selection keywords standardizing OpenFOAM on the first convention above.
-
Henry Weller authored
-
Henry Weller authored
temperatureCoupledBase: Rationalized the selection of the method for obtaining the thermal conductivity kappa -> kappaMethod kappaName -> kappa
-
Henry Weller authored
-
Henry Weller authored
functionObjects, foamCalcFunctions, fvOptions: Standardized keywords for selecting fields and objects Generally fields and objects are selected using the 'field[s]' and 'object[s]' keywords but this was not consistent between all functionObject, fvOptions etc. and now fixed by applying the following renaming: fieldName -> field fieldNames -> fields objectName -> object objectNames -> objects
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
e.g. functions { libs ("libfieldFunctionObjects.so"); div { type div; field U; executeControl writeTime; writeControl writeTime; } Q { type Q; executeControl writeTime; writeControl writeTime; } }
-
Henry Weller authored
-
Henry Weller authored
functionObjects: New abstract base-class 'fieldExpression' for simple field expression evaluation functionObjects Updated and simplified 'div', 'grad' and 'mag' functionObjects by deriving from 'fieldExpression'. Corrected the handling of cached gradients in 'grad'.
-
Henry Weller authored
-
Henry Weller authored
-
- May 19, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
- May 18, 2016
-
-
Henry Weller authored
of the entry which is to provide the name of the generated class. 'redirectType' is supported for backward-compatibility.
-
Henry Weller authored
IOOutputFilter: Updated the signature of the 'write' function to correspond to the new functionObject
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
the equivalent functionality is provided by the writeRegisteredObject functionObject in a MUCH simpler, easier and extensible manner. functionObject: Removed the now redundant 'timeSet' function.
-
Henry Weller authored
codedFunctionObject: Added the "codeWrite" entry for the "write" function for consistency. The previous method of using the "code" entry for the "write" function was inconsistent and very confusing.
-
Henry Weller authored
to correspond to the new default behavior of the 'end' function in functionObject which now calls 'execute' then 'write'.
-
- May 17, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
Henry Weller authored
-
- May 16, 2016
-
-
Henry Weller authored
Description This Foam::functionObject tracks a uncoupled kinematic particle cloud in the specified velocity field of an incompressible flow (laminar, RANS or LES). It may be used in conjunction with any transient single-phase incompressible flow solver such as \c pisoFoam or \c pimpleFoam and tracks the particles or parcels without affecting the the flow-field. The \c kinematicCloud requires the the density of the fluid which is looked-up from \c constant/transportProperties dictionary and the acceleration due to gravity which is read from the \c constant/g file if present or defaults to zero. The \c kinematicCloud properties are read from the \c constant/kinematicCloudProperties dictionary in the usual manner. Example of function object specification: \verbatim tracks { libs ("liblagrangianFunctionObjects.so"); type icoUncoupledKinematicCloud; } \endverbatim \heading Function object usage \table Property | Description | Required | Default value type | Type name: icoUncoupledKinematicCloud | yes | U | Name of the velocity field | no | U kinematicCloud | Name of the kinematicCloud | no | kinematicCloud \endtable
-
Henry Weller authored
dynamicCode/functionObjectTemplate: Updated and simplified by deriving from the regionFunctionObject base-class
-
Henry Weller authored
etc/codeTemplates/functionObject: Updated and simplified using fvMeshFunctionObject as the base-class
-
Henry Weller authored
This changes simplifies the specification of functionObjects in controlDict and is consistent with the 'libs' option in controlDict to load special solver libraries. Support for the old 'functionObjectLibs' name is supported for backward compatibility.
-
Henry Weller authored
-
Henry Weller authored
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2091
-
Henry Weller authored
to simplify writing common functionObjects and avoid unnecessary code duplication
-
- May 15, 2016
-
-
Henry Weller authored
-
Henry Weller authored
Patch contributed by Bruno Santos Resolves text report http://bugs.openfoam.org/view.php?id=2089
-
Henry Weller authored
- Avoids the need for the 'OutputFilterFunctionObject' wrapper - Time-control for execution and writing is now provided by the 'timeControlFunctionObject' which instantiates the processing 'functionObject' and controls its operation. - Alternative time-control functionObjects can now be written and selected at run-time without the need to compile wrapped version of EVERY existing functionObject which would have been required in the old structure. - The separation of 'execute' and 'write' functions is now formalized in the 'functionObject' base-class and all derived classes implement the two functions. - Unnecessary implementations of functions with appropriate defaults in the 'functionObject' base-class have been removed reducing clutter and simplifying implementation of new functionObjects. - The 'coded' 'functionObject' has also been updated, simplified and tested. - Further simplification is now possible by creating some general intermediate classes derived from 'functionObject'.
-
Henry Weller authored
splitMeshRegions: handle flipping of faces for surface fields subsetMesh: subset dimensionedFields decomposePar: use run-time selection of decomposition constraints. Used to keep cells on particular processors. See the decomposeParDict in $FOAM_UTILITIES/parallel/decomposePar: - preserveBaffles: keep baffle faces on same processor - preserveFaceZones: keep faceZones owner and neighbour on same processor - preservePatches: keep owner and neighbour on same processor. Note: not suitable for cyclicAMI since these are not coupled on the patch level - singleProcessorFaceSets: keep complete faceSet on a single processor - refinementHistory: keep cells originating from a single cell on the same processor. decomposePar: clean up decomposition of refinement data from snappyHexMesh reconstructPar: reconstruct refinement data (refineHexMesh, snappyHexMesh) reconstructParMesh: reconstruct refinement data (refineHexMesh, snappyHexMesh) redistributePar: - corrected mapping surfaceFields - adding processor patches in order consistent with decomposePar argList: check that slaves are running same version as master fvMeshSubset: move to dynamicMesh library fvMeshDistribute: - support for mapping dimensionedFields - corrected mapping of surfaceFields parallel routines: allow parallel running on single processor Field: support for - distributed mapping - mapping with flipping mapDistribute: support for flipping AMIInterpolation: avoid constructing localPoints
-