Skip to content
Snippets Groups Projects
  1. Mar 24, 2022
  2. Mar 13, 2022
  3. Mar 10, 2022
    • Mark OLESEN's avatar
      TUT: update tutorials to use dictionary-style sets · 8a7221cf
      Mark OLESEN authored
      - can now specify sampled sets as dictionary entries instead of a list
        entry.
          can now use:  sets { ... }
          instead of:   sets ( ... );
      
        This is similar to sampled surfaces and makes it easier to
        manage with dictionary manipulation tools.
      
      TUT: update to use writeTime instead of outputTime
      8a7221cf
  4. 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
  5. Jan 11, 2022
  6. Dec 20, 2021
  7. Dec 15, 2021
  8. Dec 09, 2021
  9. Dec 06, 2021
  10. Nov 22, 2021
  11. Aug 04, 2021
  12. Jul 16, 2021
  13. Jun 28, 2021
  14. Jun 16, 2021
    • Andrew Heather's avatar
      ENH: new multiFieldValue function object · ea12bfdb
      Andrew Heather authored and Mark OLESEN's avatar Mark OLESEN committed
          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.
      ea12bfdb
  15. Jun 08, 2021
  16. May 19, 2021
  17. Mar 12, 2021
  18. Mar 05, 2021
  19. Dec 23, 2020
  20. Dec 22, 2020
  21. Dec 21, 2020
  22. Dec 18, 2020
  23. Dec 17, 2020
  24. Dec 16, 2020
  25. Dec 11, 2020
  26. Dec 10, 2020
    • Andrew Heather's avatar
      ENH: Lagrangian - added new PatchInteractionFields cloud function object · 9d765ada
      Andrew Heather authored and Andrew Heather's avatar Andrew Heather committed
      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;
          }
      9d765ada
  27. Dec 04, 2020
  28. Nov 30, 2020
    • Mark OLESEN's avatar
      ENH: support surfaceFieldValue on multiple faceZones or patches (#1874) · 6cf81518
      Mark OLESEN authored
      - additional "names" entry to specify a word/regex list of selections
        For example,
        {
            type    patch;
            name    inlets;
            names   ("inlet_[0-9].*" inlet);
        }
      
      - if "names" exists AND contains a literal (non-regex) that can be used
        as a suitable value for "name", the "name" entry becomes optional.
        For example,
        {
            type    patch;
            names   ("inlet_[0-9].*" inlet);
      
            // inferred name = inlet
        }
      
      - reduce some overhead in surfaceFieldValue
      
      TUT: surfaceFieldValue on patches : reactingParcelFoam/verticalChannel
      6cf81518
  29. Nov 13, 2020
    • Kutalmış Berçin's avatar
      ENH: PatchParticleHistogram: add a new cloud FO · 2a64d98d
      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;
        }
        ```
      2a64d98d
  30. Oct 05, 2020
    • Mark OLESEN's avatar
      TUT: use new 'arc' specification in several tutorials · 121c69ef
      Mark OLESEN authored
      - in most cases this eliminates manually calculation of circumferential
        points.
      
      TUT: improve parameterization of sphere blockMeshDict
      
      - allow separate parameterization of radius, ratio of inner to outer,
        and the number of divisions in x/y/z and radial directions
      121c69ef
  31. Sep 22, 2020
    • sergio's avatar
      STY: Headers and code style · 274bb074
      sergio authored and Andrew Heather's avatar Andrew Heather committed
      274bb074
    • sergio's avatar
      ENH: Adding evaporation-condensation lagragian model for solution · 11d17fec
      sergio authored and Andrew Heather's avatar Andrew Heather committed
      1) Adding LiquidEvapFuchsKnudsen model for lagrangian evaporation.
         This models is based on a diffusion type of evaporation/
         condensation on particles composed of solution (liquid + solid).
      
      2) Adding modes of calculating the particle rho and volume change.
         The new keyword in constantProperties is 'volumeUpdateMethod'
         which three options:
              a) constantRho
              b) constantVolume
              c) updateRhoAndVol
      
         The old keyword 'constantVolume' true/face is still valid
      
      3) The entry rho0 is now optional for multicomponent parcels.
         If defined , it is used, but if it is not the actual mixture
         provided is used to calculate rho0 of the particle.
         T0 is still used as initial T and Cp0 is over-written in the
         multicomponent cloud but still required.
      
      4) Adding tutorial for evaporation/condensation model
      11d17fec
  32. Jun 29, 2020
  33. Jun 11, 2020
  34. Jun 08, 2020
    • Kutalmış Berçin's avatar
      DOC: elaborate the usage of function objects · a5c6516e
      Kutalmış Berçin authored and Andrew Heather's avatar Andrew Heather committed
        ENH: update libs of etc/caseDicts/postProcess items
        ENH: ensure destructor=default
        ENH: ensure constness
        ENH: ensure no 'copy construct' and 'no copy assignment' exist
        TUT: add examples of function objects with full set
             of settings into a TUT if unavailable
        TUT: update pisoFoam/RAS/cavity tutorial in terms of usage
      a5c6516e