1. 18 Dec, 2020 2 commits
  2. 17 Dec, 2020 7 commits
  3. 15 Dec, 2020 1 commit
  4. 14 Dec, 2020 1 commit
  5. 11 Dec, 2020 1 commit
  6. 10 Dec, 2020 1 commit
    • Andrew Heather's avatar
      ENH: Lagrangian - added new PatchInteractionFields cloud function object · 9d765ada
      Andrew Heather authored
      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
  7. 04 Dec, 2020 2 commits
  8. 19 Nov, 2020 1 commit
    • Mark Olesen's avatar
      STYLE: prefix zero/one with Foam:: qualifier · 98d05fa8
      Mark Olesen authored
      ENH: support construction of zero-sized IndirectList
      
      - useful when addressing is to be generated in-place after construction.
        Eg,
      
            indirectPrimitivePatch myPatches
            (
                IndirectList<face>(mesh.faces(), Zero),
                mesh.points()
            );
            labelList& patchFaces = myPatches.addressing();
      
            patchFaces.resize(...);
            // populate patchFaces
      
      STYLE: add noexcept for zero/one fields and remove old dependency files
      
      COMP: correct typedefs for geometricOneField, geometricZeroField
      98d05fa8
  9. 13 Nov, 2020 1 commit
    • Kutalmis Bercin's avatar
      ENH: PatchParticleHistogram: add a new cloud FO · 2a64d98d
      Kutalmis Bercin 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
  10. 11 Nov, 2020 1 commit
  11. 10 Nov, 2020 1 commit
  12. 28 Oct, 2020 1 commit
    • Mark Olesen's avatar
      ENH: use static to define default blockMesh verbosity · f999013f
      Mark Olesen authored
      - make handling of verbosity more consistent.
      
        Make all setter return the old value, remove (unused) default
        parameter as being counter-intuitive.  This makes it easier to
        restore the original values.
      
        For example,
      
           const bool oldVerbose = sampler.verbose(false);
           ...
           sampler.verbose(oldVerbose);
      f999013f
  13. 28 Sep, 2020 2 commits
    • Mark Olesen's avatar
      ENH: add UPstream::subProcs() static method · 5dc5ea92
      Mark Olesen authored
      - returns a range of `int` values that can be iterated across.
        For example,
      
            for (const int proci : Pstream::subProcs()) { ... }
      
        instead of
      
            for
            (
                int proci = Pstream::firstSlave();
                proci <= Pstream::lastSlave();
                ++proci
            )
            {
                ...
            }
      5dc5ea92
    • Mark Olesen's avatar
      ENH: add UPstream::allProcs() method · e18ff114
      Mark Olesen authored
      - returns a range of `int` values that can be iterated across.
        For example,
      
            for (const int proci : Pstream::allProcs()) { ... }
      
        instead of
      
            for (label proci = 0; proci < Pstream::nProcs(); ++proci) { ... }
      e18ff114
  14. 22 Sep, 2020 2 commits
    • sergio's avatar
      STY: Headers and code style · 274bb074
      sergio authored
      274bb074
    • sergio's avatar
      ENH: Adding evaporation-condensation lagragian model for solution · 11d17fec
      sergio authored
      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
  15. 07 Sep, 2020 1 commit
    • Mark Olesen's avatar
      CONFIG: improve support for compiler/link options (#1830) · 9423d2bd
      Mark Olesen authored
      - introduce WM_COMPILE_CONTROL variable to convey control information
        into the build rules.
      
        The convention (as per spack):
            - '+' to select a feature
            - '~' to deselect a feature
      
        Eg, to select the gold linker, and disable openmp
        (spaces are not required):
      
            WM_COMPILE_CONTROL="+gold ~openmp"
      
      CONFIG: accept FOAM_EXTRA_LDFLAGS for AMD, gold, Mingw linkers
      
      CONFIG: generalize PROJECT_LIBS (-ldl used almost universally)
      9423d2bd
  16. 16 Jul, 2020 2 commits
  17. 24 Jun, 2020 1 commit
  18. 17 Jun, 2020 1 commit
  19. 12 Jun, 2020 1 commit
  20. 11 Jun, 2020 3 commits
    • Andrew Heather's avatar
      ENH: Cloud function objects - added Weber number calcuation and output · ee947205
      Andrew Heather authored
      Example usage:
      
          cloudFunctions
          {
              WeberNumber1
              {
                  type    WeberNumber;
              }
          }
      
      This will calculate and write the Weber number field as a 'standard'
      cloud field, available for post-processing alongside other lagrangian
      fields in the lagrangian/<cloudName> directory.
      ee947205
    • Andrew Heather's avatar
      ENH: Cloud function objects - pass trackingData into pre|post evolve functions · 13fa1b05
      Andrew Heather authored
      Might also consider passing through the remaining hooks, e.g. for postMove,
      postPatch, postFace etc
      13fa1b05
    • Kutalmis Bercin's avatar
      INT: various integrations from openfoam.org · 5cbdb7a3
      Kutalmis Bercin authored
        ENH: add log FO
        ENH: improve log with scale, and offset entries
        BUG: ensure extrueMesh does not fail in parallel with wedge extrusion
        BUG: add missing clone and mapping funcs to copiedFixedValue, fixedMultiPhaseHeatFlux
        ENH: meshToMesh0::cellAddressing slight speed up for some geometries
        BUG:0003495: Divide-by-zero in SHF particle break-up model
        BUG:0003492: The formula in the OF is inconsistent with the Rosin-Rammler distribution theory formula
      5cbdb7a3
  21. 02 Jun, 2020 1 commit
    • Mark Olesen's avatar
      ENH: unify use of dictionary method names · 3e43edf0
      Mark Olesen authored
      - previously introduced `getOrDefault` as a dictionary _get_ method,
        now complete the transition and use it everywhere instead of
        `lookupOrDefault`. This avoids mixed usage of the two methods that
        are identical in behaviour, makes for shorter names, and promotes
        the distinction between "lookup" access (ie, return a token stream,
        locate and return an entry) and "get" access (ie, the above with
        conversion to concrete types such as scalar, label etc).
      3e43edf0
  22. 15 May, 2020 1 commit
  23. 04 May, 2020 1 commit
  24. 28 Apr, 2020 1 commit
  25. 12 Mar, 2020 1 commit
  26. 21 Feb, 2020 2 commits