- Dec 17, 2020
-
-
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
-
-
-
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)
-
Mark OLESEN authored
- previously hard-coded, now adjustable within PDRsetFieldsDict // Change some predefined patch names patchNames { ground ground; outer outer; } ENH: additions to PDRutils, improve comments - expose enumerated expansion names and gridControl (PDRblock). Not commonly needed, but useful to have access when defining other grid generators TUT: update PDRsetFieldsDict and tutorials to use "ground" - remove tutorial references to unused types and legacy obstacles - use "ground" for the boundary conditions instead of "seaGround". Consistent with PDRblockMesh
-
- Dec 16, 2020
-
-
Mark OLESEN authored
-
The new functionality optionally allows the patch-averaged value to be scaled and/or offset by a pair of specified values. Example of the boundary condition specification: ``` <patchName> { // Mandatory entries (unmodifiable) type outletMappedFilterInlet; outletPatch <outletPatchName>; // Optional entries (unmodifiable) fraction 0.1; offset 10; // (1 0 0); phi phi; // Optional (inherited) entries ... } ```
-
1) PhaseIncompressibleTurbulenceModel class was changed to use uniform alpha and non-uniform rho templates. This fits the need of incompressible two phase turbulence models. 2) A new type DPMIncompressibleTurbulenceModel was created for non-uniform alpha and uniform rho. It is used in single phase flows in DPM solvers where alpha represents the volumen occupancy. 3) A new type incompressibleRhoTurbulenceModel was created where non-uniform rho is allowed. 4) A new base templated turbulent class for two-phase VOF named VoFphaseTurbulentTransportModel was implemented which is created templating on PhaseIncompressibleTurbulenceModel and incompressibleRhoTurbulenceModel 5) In order to make the chnage to rho based VOF turbulence a help class was added incompressibleInterPhaseTransportModel templated on the mixing.
-
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.
-
TUT: volFieldValue FO: adds usage example TUT: multiply FO: adds usage example
-
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.
-
- Dec 15, 2020
-
-
sergio authored
The parcel mass fractions transfer of ReactingMultiPhaseParcel was modified in order to be consistent between processors.
-
Andrew Heather authored
-
Mark OLESEN authored
- only slipped in recently, as part of !394
-
Andrew Heather authored
-
Andrew Heather authored
Failures shown in interFoam cases were found to be a result of stale ldu addressing in fvMesh. Potentially delete lduPtr_ alone, but likely safer to clear all addressing: // deleteDemandDrivenData(lduPtr_); clearAddressing(true);
-
Signed-off-by:
Sergio Ferraris <s.ferraris@opencfd.co.uk> Signed-off-by:
Kutalmis Bercin <kutalmis.bercin@esi-group.com>
-
The FO BilgerMixtureFraction needs access to specieComposition which is stored in ReactingMixture. A virtual mechanism was added to basicSpecieMixture to access specieComposition form rho and psi reationThermos. ptr was changed to autoPtr to avoid memory leaks (Kutalmis Bercin)
-
INT: moleFractions: add phaseName support
-
- Dec 14, 2020
-
-
sergio authored
If keys constantVolume and volumeUpdateMethod are not preent default to constantVolume = false
-
Mark OLESEN authored
-
Multiplies a given list of (at least two or more) fields and outputs the result into a new field. fieldResult = field1 * field2 * ... * fieldN Minimal example by using \c system/controlDict.functions: multiply1 { // Mandatory entries (unmodifiable) type multiply; libs (fieldFunctionObjects); // Mandatory (inherited) entry (runtime modifiable) fields (<field1> <field2> ... <fieldN>); ... }
-
Mark OLESEN authored
-
Mark OLESEN authored
- now also tracks the previous output time, which aids on restarts since it allows the FEA side the possibility of determining the effective deltaT between the output of forces
-
- Dec 11, 2020
-
-
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
-
// Treatment of the outer region outer { type sphere; onGround true; expansion relative; ratios 1.1; size 3; nCells 10; }
-
The SPL can now be weighted according to the new 'SPLweighting' entry that can be set to: - none: no weighting - dBA : dB(A) - dBB : dB(B) - dBC : dB(C) - dBD : dB(D) This commit also includes code refactoring of the noiseModel class to remove the dependency on noiseFFT/declutter.
-
Does not affect the current functionality of shape optimisation.
-
Affected only the first optimisation cycle, if line search was enabled If eta was not set explicitly, it was computed after evaluating the directional derivative of the merit function, which was computed wrongly, leading to an erroneous value of the extrapolated merit function value.
-
Vaggelis Papoutsis authored
-
Vaggelis Papoutsis authored
-
Vaggelis Papoutsis authored
if useSolverNameForFields is set to true. This facilitates continuation.
-
Vaggelis Papoutsis authored
fvOptionsAdjoint was needlessly duplicating a lot of the functionality of fvOptions in order to add an interface for computing sensitivity contributions emerging from fvOptions. To reduce this code duplication: - fvOptionsAdjoint was removed - the corresponding sensitivity contributions have moved to fvOptions through virtual functions (returning a zero contribution in the base so backwards compatibility is retained) - all sensitivity classes that were using fvOptionsAdjoint have been modified appropriately - all adjoint solvers are now grabbing a reference to an fvOptionList from the database instead of constructing an fvOptionsAdjointList Hence, all fvOptions contributions to the adjoint equations or the sensitivity derivatives can be given through system/fvOptions, removing the need for separate sub-dictionaries within optimisationDict.
-
Vaggelis Papoutsis authored
- Expanded the write function in the base class so that it can manage input coming from the derived ones. This reduces a lot of code duplication in the latter but keeps the functionality. - Added a default width for all entries in the objective files. - If a normalisation factor or a target is set, they are written on the header of the objective file. - Cosmetic/code consistency changes in various files.
-
Vaggelis Papoutsis authored
to files, if the corresponding adjoint solver has more than one objectives.
-