- Jun 28, 2021
-
-
Andrew Heather authored
Minor clean-up
-
- Jun 24, 2021
-
-
sergio authored
-
mattijs authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Jun 23, 2021
-
-
-
1) Adding subMesh capabilities to momentumError and div FOs. - A subMesh is created from cellZones. - The operators (div, etc) are only calculated in the subMesh. 2) Optionally, halo cells can be added to the cellZones. 3) New helper class to handle the subMesh creation and field mapping.
-
- Jun 22, 2021
-
-
Mark OLESEN authored
-
- Jun 21, 2021
-
-
Mark OLESEN authored
ENH: less cryptic error message in surfaceWriters::vtkWriter - fall back to nFields=1 and report the problem.
-
mattijs authored
-
- Jun 19, 2021
-
-
Mark OLESEN authored
- add setter/getter methods for the zone selection - construct for multiple zone selection - support explicit zone ids instead of name matcher
-
Mark OLESEN authored
-
Mark OLESEN authored
- add setter/getter methods for number of grow/shrink steps, which allows reuse of the same object. - remove the lower input hard-limit of 1 step, to allow definition of a no-op filter. - drop early exit from grow/shrink cycle (potential parallel issues).
-
- Jun 18, 2021
-
-
Mark OLESEN authored
-
- Added new faceAreaWeightAMI2D AMIMethod: - performs intersection using a new 2D triangle class; - candidate face matches set using an AABBTree method (vs advancing front for faceAreaWeightAMI). - Use by setting the AMIMethod entry when specifying the AMI in the constant/polyMesh/boundary file, e.g. AMI { type cyclicACMI; AMIMethod faceAreaWeightAMI2D; // new method Cbb 0.1; // optional coefficient nFaces 1000; startFace 100000; matchTolerance 0.0001; transform noOrdering; neighbourPatch AMI1; nonOverlapPatch AMI1_non_overlap; } - The optional Cbb coeffcient controls the size of the bounding box used when looking for candidate pairs; the value of 0.1 is the default and worked well for a large range of test cases. For badly matched AMI patches this may need to be increased. - Deprecated the partialFaceAreaWeightAMI class - primarily used by ACMI: - functionality now offered by the AMI variants.
-
-
- Jun 17, 2021
- Jun 16, 2021
-
-
Andrew Heather authored
-
Wrapper that clones the supplied object for each region. Simplifies the setup of identical post-processing requirements for multi-region cases. Applies the supplied function to all regions by default. Example of function object specification: multiRegion { type multiRegion; libs (utilityFunctionObjects); ... function { // Actual object specification type fieldMinMax; libs (fieldFunctionObjects); fields (<field1> .. <fieldN>); } // Optional entries regions (region1 region2); } Where the entries comprise: Property | Description | Reqd | Default type | Type name: multiRegion | yes | function | Function object sub-dictionary | yes | regions | List of region names | no | all
-
Computes a selected operation between multiple \c fieldValue function objects. The operation is applied to all results of each \c fieldValue object. Note Each object must generate the same number and type of results. Usage Minimal example by using \c system/controlDict.functions: multiFieldValue1 { // Mandatory entries (unmodifiable) type multiFieldValue; libs (fieldFunctionObjects); // Mandatory entries (runtime modifiable) operation subtract; // List of fieldValue function objects as dictionaries functions { region1 { ... } region2 { ... } ... regionN { ... } } // Optional (inherited) entries ... } where the entries mean: Property | Description | Type | Req'd | Dflt type | Type name: multiFieldValue | word | yes | - libs | Library name: fieldFunctionObjects | word | yes | - operation | Operation type to apply to values | word | yes | - functions | List of fieldValue function objects | dict | yes | - \endtable Options for the \c operation entry: add | add subtract | subtract min | minimum max | maximum average | average Deprecated fieldValueDelta - The fieldValueDelta function object was originally written to compute the difference between two fieldValue-type function objects. The multiFieldValue object name better describes its purpose whilst being able to operate on an arbitrary number of fieldValue-type objects.
-
- Jun 14, 2021
-
-
Mark OLESEN authored
TUT: add missing restore0Dir (finiteArea) STYLE: doc spelling
-
mattijs authored
-
Example: plane { type fan; patchType cyclic; jump uniform 0; value uniform 0; uniformJump false; relax 0.2; jumpTable ( (1000 0) (-200 1) (20 2) (-0.75 3) ); // Optional minimum jump value minJump 0; }
-
Currently only applied to the fanFvPatchField, e.g. plane { type fan; patchType cyclic; jump uniform 0; value uniform 0; uniformJump false; // Optional under-relaxation relax 0.2; ... }
-
- Jun 11, 2021
-
-
CONFIG: update completion_cache
-
- Jun 10, 2021
-
-
Mark OLESEN authored
- combines region-based and proximity-based filtering proxityRegions (post-filter): Checks the distance of the resulting faces against the original search surface. Filters based on the area-weighted distance of each topologically connected region. If the area-weighted distance of a region is greater than \c absProximity, the entire region is rejected. STYLE: 'proxityFaces' as newer synonym for 'proximity' filter
-
Mark OLESEN authored
- snGrad, internalField, neighbourField. Functional use as per swak: "... + internalField(T) ..." ENH: additional volume/patch expressions - deltaT() STYLE: rename exprDriverWriter -> fvExprDriverWriter - the original class name was a misnomer since it holds a reference to fvExprDriver BUG: expression faceToPoint/pointToFace definitions were flipped ENH: refactor expression hierarchy and code style - handle TimeState reference at the top-level for simpler derivations - unified internal search parameters (cruft)
-
Mark OLESEN authored
- support wordRes for selecting patch names - ownerPolyPatch specification is now optional, which simplifies input and also supports a faMesh spanning different patches but with a single boundary condition. Alternatively, can specify more granularity if required. ``` polyMeshPatches ( "top.*" ); boundary { inlet1 { type patch; ownerPolyPatch top1; // <- specific to this portion neighbourPolyPatch inlet; } inlet2 { type patch; ownerPolyPatch top2; // <- specific to this portion neighbourPolyPatch inlet; } outlet { type patch; neighbourPolyPatch outflow; } bound { type symmetry; neighbourPolyPatch bound; } } ```
-
- Jun 09, 2021
-
-
mattijs authored
-
-
-
- TUT: solverInfo FO: add an example to pisoFoam/cavity
-
Prior to the commit, initial residual fields were registered by the `setResidualField()` function of a linear solver with a field name prefixed by `residual:`. However, `solverInfo` FO could only access to the initial residual fields prefixed by `initialResidual:`. Due to this discrepancy, using `solverInfo` FO with `writeResidualFields=true` option was resulting in empty residual fields to be output.
-
-
-
-
- ENH: turbulentDFSEMInlet: add normalisation factors for input Reynolds stresses, mean velocity and integral-length scales as entries `Uref` and `Lref`. - ENH: turbulentDFSEMInlet: add scaling factor entries, `scale` and `m`, to enable users to tune C1 normalisation coefficient, if need be. - BUG: turbulentDFSEM: (fixes #1004 #1744 #2089) - see #2090 for theoretical issues related to the DFSEM method.
-