- 22 Dec, 2020 1 commit
-
-
Andrew Heather authored
-
- 21 Dec, 2020 2 commits
-
-
mattijs authored
The polyMesh construct-from-components will now ignore the readOpt for the supplied primitives as before. This again re-allows READ_IF_PRESENT for fv* in combination with supplied primitives.
-
This makes the initialisation order of dynamicMesh consistent with plain ones using the virtual mechanism. It does not solve the cyclicACMI construction order yet.
-
- 18 Dec, 2020 3 commits
-
-
Mark OLESEN authored
- adjust comments for '-world' option
-
Mark OLESEN authored
-
OpenFOAM bot authored
-
- 17 Dec, 2020 3 commits
-
-
-
-
Mark OLESEN authored
- replaces previous code that used an autoPtr to hold a singleton. In some circumstances this deletion would conflict with clearing the objectRegistry - leading to error messages on exit. Now store directly on the registry (similar to a MeshObject)
-
- 16 Dec, 2020 6 commits
-
-
Mark OLESEN authored
-
mattijs authored
In reconstruct mode redistributePar will have - master read undecomposed mesh - slaves construct dummy mesh (0 faces/points etc.) but correct patches and zones so all processors have two valid meshes. This was all handled inside fvMeshTools::newMesh and this was behaving differently.
-
Function1 wrapper that limits the input range of another Function1 Example usage for limiting a polynomial: limitedPolyTest limitRange; limitedPolyTestCoeffs { min 0.4; max 1.4; value polynomial ( (5 1) (-2 2) (-2 3) (1 4) ); } Here the return value will be: - poly(0.4) for x <= 0.4; - poly(1.4) for x >= 1.4; and - poly(x) for 0.4 < x < 1.4.
-
-
-
Mark OLESEN authored
- previously always called dlclose on opened libraries when destroying the dlLibraryTable. However, by force closing the libraries the situation can arise that the library is missing its own code that it needs on unload (#1524). This is also sometimes evident when closing VTK libraries for runTimePostProcessing (#354, #1585). - The new default is to not forcibly dlclose any libraries, unless the dlcloseOnTerminate OptimisationSwitch specifies otherwise. - The dlLibraryTable::close() method can be used to explicitly close all libraries and clear the list. - The dlLibraryTable::clear() method now only clears the entries, without a dlclose.
-
- 15 Dec, 2020 1 commit
-
-
Andrew Heather authored
-
- 14 Dec, 2020 1 commit
-
-
Mark OLESEN authored
-
- 11 Dec, 2020 2 commits
-
-
Mark OLESEN authored
COMP: fix SP/DP inconsistency in fvGeometryScheme STYLE: rename polyMesh::updateGeom to polyMesh::updateGeomPoints - avoids compiler complaints and potential masking of primitiveMesh::updateGeom / fvMesh::updateGeom - mark argument as movable, since that is what is happening inside. GIT: remove merge cruft TUT: better clean on MPPICInterFoam
-
This adds a 'geometry' scheme section to the system/fvSchemes: geometry { type highAspectRatio; } These 'fvGeometryMethod's are used to calculate - deltaCoeffs - nonOrthoCoeffs etc and can even modify the basic face/cellCentres calculation.
-
- 10 Dec, 2020 2 commits
-
-
mattijs authored
-
- New solver: `acousticFoam` - New base finite-area region class: `regionFaModel` - New base shell model classes: - `vibrationShellModel` - `thermalShellModel` - New shell models: - A vibration-shell model: `KirchhoffShell` - A thermal-shell model: `thermalShell` - New finite-area/finite-volume boundary conditions: - `clampedPlate` - `timeVaryingFixedValue` - `acousticWaveTransmissive` - New base classes for `fvOption` of finite-area methods: `faOption` - New `faOption`s: - `contactHeatFluxSource` - `externalFileSource` - `externalHeatFluxSource` - `jouleHeatingSource` - New tutorial: `compressible/acousticFoam/obliqueAirJet` Signed-off-by:
Kutalmis Bercin <kutalmis.bercin@esi-group.com>
-
- 09 Dec, 2020 2 commits
-
-
mattijs authored
-
Mark OLESEN authored
- implicitly enabled when timeStampMaster (default) is used for the fileModificationChecking - When running with non-distributed roots (eg, NFS-share) read for processor directories on master only and send to sub-processes instead individual reads. - If disabled (old default, or when running with distributed roots), uses the regular fileHandler readDir, which may perform readDir on each processor. Potentially slow startup times on large systems. Improvements based on analysis from T.Aoyagi(RIST), A.Azami(RIST)
-
- 08 Dec, 2020 5 commits
-
-
Mark OLESEN authored
- for boundary meshes, zones etc. The behaviour with an empty matcher was either not properly documented, and looped through all names just to establish there was no match. STYLE: removed redundant typedefs for point fields
-
Mark OLESEN authored
- robuster matching behaviour when encountering paths that themselves contain the word "processor" in them. For example, "/path/processor0generation2/case1/processor10/system" will now correctly match on processor10 instead of failing. - use procRangeType for encapsulating the processor ranges - provision for information of distributed vs non-distributed roots. The information is currently available from the initial setup, but can useful to access directly within fileOperation. STYLE: modernize list iteration
-
Mark OLESEN authored
- the NullObject singleton can also be cast to a bitSet (sufficient size and bit-pattern). Useful for places that need to hold a reference on construction
-
Mark OLESEN authored
- UPstream::rangeType as typedef for IntRange<int> for better use semantics
-
Mark OLESEN authored
- (tet, pyr, hex) can be identified from their number of faces and vertices. For these common shapes can use static `test()` method instead of the virtual isA() method. This is much cheaper for calling on an individual basis since it avoids the overhead of constructing an object. ENH: tetCell edge/reverseEdge (already had tetEdge)
-
- 30 Nov, 2020 2 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- bitSet and PackedList fill() as per boost dynamic_bitset. Silently deprecate assign(val), which is potentially confusing with other forms of assign(). - FixedList fill() as per std::array. Add missing assignment from Foam::zero - minor code simplication in bitSet and PackedList STYLE: fix typo in comment, qualify Foam::zero
-
- 26 Nov, 2020 1 commit
-
-
Mark OLESEN authored
-
- 25 Nov, 2020 6 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- findZone(), cfindZone() to return pointer to existing or nullptr if not found. This fits with methods such as findObject() etc for other classes and can simplify code without checks for '-1' as not found. - use simpler constructors for empty cell/face/point zones
-
Mark OLESEN authored
-
Mark OLESEN authored
- change to a templated implementation instead of relying on the container's writeList() method. This inlines the generation while also adding the flexibility to define different delimiters (at compile time) without the performance penalty of passing run-time parameters.
-
Mark OLESEN authored
- deprecate get(key, deflt) in favour of lookup(key, deflt). Method name compatibility with HashTable. - deprecate operator(). The meaning is too opaque and equally served by other means: - use get(key) instead of operator()(key). Const access whereas HashTable::operator()(key) creates missing entry. - lookup(key, deflt) - instead of operator()(key, deflt). Const access whereas HashTable::operator()(key, deflt) creates a missing entry. - make Enum iterable to allow participation in range-for etc.
-
Mark OLESEN authored
- were deprecated Aug-2018, but not marked as such
-
- 19 Nov, 2020 3 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- For slow oscillations it can be more intuitive to specify the period. ENH: separate mark/space for Square - makes it easier to tailor the desired intervals. BUG: incorrect square wave fraction with negative phase shifts ENH: additional cosine Function1 STYLE: avoid code duplication by inheriting Cosine/Square from Sine.
-
Mark OLESEN authored
- deprecated Feb-2018, but not marked as such. The set() method originally enforce an additional run-time check (Fatal if pointer was already set), but this was rarely used. In fact, the set() method was invariably used in constructors where the pointer by definition was unset. Can now mark as deprecated to catch the last of these. We prefer reset() for similarity with std::unique_ptr Eg, FOAM_EXTRA_CXXFLAGS="-DFoam_autoPtr_deprecate_setMethod" wmake
-