- Jun 21, 2021
-
-
mattijs authored
-
- Jun 11, 2021
-
-
CONFIG: update completion_cache
-
- Jun 08, 2021
-
-
New cloud function objects: - ReynoldsNumber (for kinematic parcels, i.e. KinematicReynoldsNumber) - ReynoldsNumber (for thermo/reacting parcels, i.e. ThermoReynoldsNumber) - NusseltNumber - HeatTransferCoeff
-
three macros: - makeParcelCloudFunctionObjects for kinematic parcels - makeThermoParcelCloudFunctionObjects for thermo parcels - makeReactingParcelCloudFunctionObjects for reacting parcels
-
-
-
- May 12, 2021
-
-
Mark OLESEN authored
- additional rcEdge(), rcEdges() methods for reverse order walk - accept generic edge() method as alternative to faceEdge() for single edge retrieval. - edge() method with points -> returns the vector - reduce the number of operations in edgeDirection methods DEFEATURE: remove longestEdge global function - deprecated and replaced by face::longestEdge() method (2017-04)
-
- May 10, 2021
-
-
Mark OLESEN authored
- reduces code, simplifies creation of new, specialized polyData writers. - new templated vtk::GenericPatchWriter, which adds support for writing both uindirectPrimitivePatch + indirectPrimitivePatch types. - handle geometric fields separately from regular fields with * vtk:GenericPatchGeoFieldsWriter * vtk:indirectPatchGeoFieldsWriter * vtk:uindirectPatchGeoFieldsWriter
-
- Apr 26, 2021
-
-
Mark OLESEN authored
- return undefinedToken on error STYLE: fix slicing of ITstream from dictionary lookup
-
Mark OLESEN authored
- some code used copy construct from dictionary::null instead. The result is the same but suggests that something else may be intended. Only need dictionary::null for const-ref usage.
-
- Apr 19, 2021
-
-
- The keyType is primarily used within dictionary reading, whereas wordRe and wordRes are used for selectors in code. Unifying on wordRe and wordRes reduces the number matching options.
-
- Mar 17, 2021
-
-
Mark OLESEN authored
- simplifies local toggling. - centralize fileModification static variables into IOobject. They were previously scattered between IOobject and regIOobject
-
- Mar 09, 2021
-
-
Mark OLESEN authored
- direct check of punctuation. For example, while (!tok.isPunctuation(token::BEGIN_LIST)) .. instead of while (!(tok.isPunctuation() && tok.pToken() == token::BEGIN_LIST)) .. Using direct comparison (tok != token::BEGIN_LIST) can be fragile when comparing int values: int c = readChar(is); while (tok != c) .. // Danger, uses LABEL comparison! - direct check of word. For example, if (tok.isWord("uniform")) .. instead of if (tok.isWord() && tok.wordToken() == "uniform") .. - make token lineNumber() a setter method ENH: adjust internal compound method empty() -> moved() - support named compound tokens STYLE: setter method for stream indentation
-
- Feb 16, 2021
-
-
- centralises existing functions (erfInv, incGamma*, invIncGamma*). Provides a location for additional functions in the future. - adjusted existing models to use these functions (e.g. distributionModels::normal)
-
Mark OLESEN authored
- eliminates a potentially invalid code branch. Since it essentially had the same internals as std::swap anyhow, make that more evident. ENH: use std::swap for basic types - makes it clearer that they do not rely on any special semantics
-
Mark OLESEN authored
- ensure surface writing is time-step and nFields aware. This avoids overwriting (ignoring) previous output fields. - allow sampled surfaces to be used for weight fields as well. Not sure why this restriction was still there. - remove old compatibility reading of orientedFields. Last used in v1612, now removed. - only use face sampling. For surfaceFieldValue we can only do something meaningful with face values. ENH: modify interface methods for surfaceWriter - replace direct modification of values with setter methods. Eg, old: writer.isPointData() = true; new: writer.isPointData(true); This makes it possible to add internal hooks to catch state changes. ENH: allow post-construction change to sampledSurface interpolation - rename interpolate() method to isPointData() for consistency with other classes and to indicate that it is a query. - additional isPointData(bool) setter method to change the expected representation type after construction - remove 'interpolate' restriction on isoSurfacePoint which was previously flagged as an error but within sampledSurfaces can use sampleScheme cellPoint and obtain representative samples. Relax this restriction since this particular iso-surface algorithm is slated for removal in the foreseeable future.
-
- Feb 15, 2021
-
-
sergio authored
1) Small modification to the tracking logic for detA zero. 2) Adding small vector displacement to locate function to avoid error where particle is inserted at the cell centre.
-
- Feb 09, 2021
-
-
Mark OLESEN authored
-
- Feb 08, 2021
-
-
mattijs authored
Was checking the old celli instead of the result of re-finding the position. See also Foundation commit 50a965f8866683a81d79cbc7811af7333baf9d10.
-
- Dec 18, 2020
-
-
Mark OLESEN authored
- adjust comments for '-world' option
-
OpenFOAM bot authored
-
- Dec 17, 2020
-
-
-
STY: Style and header-content changes
-
-
walls A new user input parameter UrMax is added to the PatchInteractionModel. In some occasions the partile remains on a patch face due to extremely low relative U. If this Ur is lower than UrMax the particle is removed
-
-
- Dealing with detA < 0 tracking issues - Modified locate function
-
-
- Dec 15, 2020
-
-
sergio authored
The parcel mass fractions transfer of ReactingMultiPhaseParcel was modified in order to be consistent between processors.
-
- Dec 14, 2020
-
-
sergio authored
If keys constantVolume and volumeUpdateMethod are not preent default to constantVolume = false
-
- Dec 11, 2020
-
-
Signed-off-by:
Kutalmis Bercin <kutalmis.bercin@esi-group.com>
-
- Dec 10, 2020
-
-
Creates volume fields whose boundaries are used to store patch interaction statistics. Current field output per patch face: - \<cloud\>\<model\>:count - cumulative particle hits - \<cloud\>\<model\>:mass - cumuluative mass of hitting particles Fields can be reset according to: - none: fields are not reset - timeStep: reset at each time step - writeTime: reset at each write time Usage patchInteractionFields1 { type patchInteractionFields; resetMode writeTime; }
-
- Dec 04, 2020
-
-
Parcels that hit an 'outflow' patch are recycled to an 'inflow' patch, with optional: - recycle fraction < 1 Example usage: RecycleInteractionCoeffs { recyclePatches ( (outlet1 inlet1) (outlet2 inlet2) ); recycleFraction 0.8; // [0-1] } Signed-off-by:
Kutalmis Bercin <kutalmis.bercin@esi-group.com>
-
- MultiInteraction: updated to call info() function of child models - PatchInteractionModel: added postEvolve hook - KinematicCloud: call patchInteraction() postEvolve hook
-
- Nov 19, 2020
-
-
Mark OLESEN authored
ENH: support construction of zero-sized IndirectList - useful when addressing is to be generated in-place after construction. Eg, indirectPrimitivePatch myPatches ( IndirectList<face>(mesh.faces(), Zero), mesh.points() ); labelList& patchFaces = myPatches.addressing(); patchFaces.resize(...); // populate patchFaces STYLE: add noexcept for zero/one fields and remove old dependency files COMP: correct typedefs for geometricOneField, geometricZeroField
-
- Nov 13, 2020
-
-
Kutalmış Berçin authored
Computes a histogram for the distribution of particle diameters and corresponding number of particles hitting on a given list of patches. A minimal example by using `constant/reactingCloud1Properties.cloudFunctions`: ``` patchParticleHistogram1 { // Mandatory entries (unmodifiable) type patchParticleHistogram; patches (<patch1> <patch2> ... <patchN>); nBins 10; min 0.1; max 10.0; maxStoredParcels 20; } ```
-
- Nov 11, 2020
-
-
Mark OLESEN authored
-
- Nov 10, 2020
-
-
sergio authored
-
- Oct 28, 2020
-
-
Mark OLESEN authored
- make handling of verbosity more consistent. Make all setter return the old value, remove (unused) default parameter as being counter-intuitive. This makes it easier to restore the original values. For example, const bool oldVerbose = sampler.verbose(false); ... sampler.verbose(oldVerbose);
-
- Sep 28, 2020
-
-
Mark OLESEN authored
- returns a range of `int` values that can be iterated across. For example, for (const int proci : Pstream::subProcs()) { ... } instead of for ( int proci = Pstream::firstSlave(); proci <= Pstream::lastSlave(); ++proci ) { ... }
-