Skip to content
Snippets Groups Projects
  1. Mar 24, 2022
  2. Mar 23, 2022
  3. Mar 17, 2022
    • mattijs's avatar
      ENH: distributedTriSurfaceMesh: work with flipped shells. Fixes #2405 · 9c7d265e
      mattijs authored
      Two problems:
      - flipping inside snappyHexMesh is not done in a parallel
      consistent way. So e.g. the octree-cached inside/outside information
      has already been calculated. For now flipping of
      distributedTriSurfaceMesh is disabled.
      - octree-cached inside/outside information was using already
      cached information and would only work for outwards pointing
      volumes
      9c7d265e
  4. Mar 13, 2022
  5. Mar 10, 2022
  6. Mar 07, 2022
  7. Mar 04, 2022
    • Mark OLESEN's avatar
      ENH: direct support for broadcast of bitSet · e11fde90
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      - the internal data are contiguous so can broadcast size and internals
        directly without an intermediate stream.
      
      ENH: split out broadcast time for profilingPstream information
      
      STYLE: minor Pstream cleanup
      
      - UPstream::commsType_ from protected to private, since it already has
        inlined noexcept getters/setters that should be used.
      
      - don't pass unused/unneed tag into low-level MPI reduction templates.
        Document where tags are not needed
      
      - had Pstream::broadcast instead of UPstream::broadcast in internals
      e11fde90
    • Mark OLESEN's avatar
      ENH: improve processor topology handling in zoneDistribute (#2371) · 2b54d861
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      - now largely encapsulated using PstreamBuffers methods,
        which makes it simpler to centralize and maintain
      
      - avoid building intermediate structures when sending data,
        remove unused methods/data
      
      TUT: parallel version of depthCharge2D
      
      STYLE: minor update in ProcessorTopology
      2b54d861
  8. Mar 02, 2022
  9. Feb 28, 2022
    • Mark OLESEN's avatar
      ENH: add fieldLevel handling for surface writers (#2382) · 1a55829e
      Mark OLESEN authored
      - this can be used to apply a uniform field level to remove from
        a sampled field. For example,
      
            fieldLevel
            {
                "p.*"   1e5;        // Absolute -> gauge [Pa]
                T       273.15;     // [K] -> [C]
                U       #eval{ 10/sqrt(3) };  // Uniform mag(U)=10
            }
      
        After the fieldLevel has been removed, any fieldScale is applied.
        For example
      
            fieldScale
            {
                "p.*"   0.01;       // [Pa] -> [mbar]
            }
      
        The fieldLevel for vector and tensor fields may still need some
        further refinement.
      1a55829e
  10. Feb 18, 2022
  11. Feb 10, 2022
    • Mark OLESEN's avatar
      DEFEATURE: remove alpha-field support (partly broken) from gltf output · df18b8bb
      Mark OLESEN authored
      - when used with *any* alphaField and normalised (the usual case)
        would largely give a 0-1 corresponding to the min/max of the first
        component, but could also yield negative values.
      
      - if the alpha field corresponds identically to colour field, it is
        readily possible to combine as into RGBA sequences. However, if the
        fields are different it potentially means referencing an opacity
        field that has not yet been sampled.  This impedes using the format
        for a streaming sampler without additional overhead and/or rewriting
        the alpha channel later.
      df18b8bb
    • Mark OLESEN's avatar
      ENH: add probes sampleOnExecute option (#2358) · 0511aebd
      Mark OLESEN authored
      - supports sampling/probing of values to obtain min/max/average/size
        at execution intervals without writing any output or generating
        output directories.
      
      - 'verbose' option for additional output
      0511aebd
    • mattijs's avatar
      ENH: tutorials: added dummy fv* files · 13b68986
      mattijs authored
      (createPatch now operates on fvMesh)
      13b68986
  12. Jan 20, 2022
  13. Jan 14, 2022
  14. Jan 11, 2022
  15. Dec 20, 2021
  16. Dec 16, 2021
  17. Dec 15, 2021
  18. Dec 14, 2021
  19. Dec 13, 2021
  20. Dec 10, 2021
    • mattijs's avatar
    • Mark OLESEN's avatar
      ENH: add exprField function object · 8d4ad043
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      - provides a simple means of defining/modifying fields. For example,
      
        ```
        <name1>
        {
            type    exprField;
            libs    (fieldFunctionObjects);
            field   pTotal;
      
            expression  "p + 0.5*(rho*magSqr(U))";
            dimensions  [ Pa ];
        }
        ```
        It is is also possible to modify an existing field.
        For example, to modify the previous one.
        ```
        <name2>
        {
            type    exprField;
            libs    (fieldFunctionObjects);
            field   pTotal;
            action  modify;
      
            // Static pressure only in these regions
            fieldMask
            #{
                (mag(pos()) < 0.05) && (pos().y() > 0)
             || cellZone(inlet)
            #};
            expression  "p";
        }
        ```
      
        To use as a simple post-process calculator, simply avoid storing the
        result and only generate on write:
        ```
        <name2>
        {
            store            false;
            executionControl none;
            writeControl     writeTime;
            ...
        }
        ```
      8d4ad043
    • Mark OLESEN's avatar
      STYLE: qualify expression debug flags · a6cbfcb9
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      - for debug/tracing handle the following keywords:
      
         * debug.driver   (was "debugBaseDriver")
         * debug.scanner  (was "debugScanner")
         * debug.parser   (was "debugParser")
      a6cbfcb9
    • Mark OLESEN's avatar
      ENH: code reduction, improvements for expressions · 510ffb33
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      - literal lookups only for expression strings
      
      - code reduction for setExprFields.
      
      - changed keyword "condition" to "fieldMask" (option -field-mask).
        This is a better description of its purpose and avoids possible
        naming ambiguities with functionObject triggers (for example)
        if we apply similar syntax elsewhere.
      
      BUG: erroneous check in volumeExpr::parseDriver::isResultType()
      
      - not triggered since this method is not used anywhere
        (may remove in future version)
      510ffb33
    • Andrew Heather's avatar