Skip to content
Snippets Groups Projects
  1. May 31, 2022
  2. May 30, 2022
  3. May 29, 2022
    • Mark OLESEN's avatar
      ENH: handle uniform Su/Sp/SuSp source terms directly · 96cc6024
      Mark OLESEN authored
      - avoid any operations for zero sources
      
      - explicit sources are applied to the entire mesh can be added directly,
        without an intermediate DimensionedField
      
      - update some legacy faMatrix/fvMatrix methods that used Istream
        instead of dictionary or dimensionSet for their parameters.
        Simplify handling of tmps.
      
      - align faMatrix methods with the updated their fvMatrix counterparts
        (eg, DimensionedField instead of GeometricField for sources)
      96cc6024
  4. May 27, 2022
  5. May 26, 2022
  6. May 25, 2022
    • Sergio Ferraris's avatar
      Merge branch 'feature-function-objects-2206' into 'develop' · c6d9c031
      Sergio Ferraris authored
      New function objects
      
      See merge request !541
      c6d9c031
    • Andrew Heather's avatar
      ENH: Added new particleZoneInfo cloud function object. · 5cb0dc9d
      Andrew Heather authored and Sergio Ferraris's avatar Sergio Ferraris committed
      Reports cloud information for particles passing through a specified cell
      zone.
      
      Example usage:
      
          cloudFunctions
          {
              particleZoneInfo1
              {
                  type            particleZoneInfo;
                  cellZone        leftFluid;
      
                  // Optional entries
                  //writer          vtk;
              }
          }
      
      Results are written to file:
      - \<case\>/postProcessing/lagrangian/\<cloudName\>/\<functionName\>/\<time\>
      
          \# cellZone        : leftFluid
          \# time            : 1.0000000000e+00
          \#
          \# origID    origProc    (x y z)    time0    age    d0    d    mass0    mass
      
      Where
      - origID : particle ID
      - origProc : processor ID
      - (x y z) : Cartesian co-ordinates
      - time0 : time particle enters the cellZone
      - age : time spent in the cellZone
      - d0 : diameter on entry to the cellZone
      - d : current diameter
      - mass0 : mass on entry to the cellZone
      - mass : current mass
      
      If the optional \c writer entry is supplied, cloud data is written in the
      specified format.
      
      During the run, output statistics are reported after the cloud solution,
      e.g.:
      
          particleZoneInfo:
              Cell zone                       = leftFluid
              Contributions                   = 257
      
      Here, 'Contributions' refers to the number of incremental particle-move
      contributions recorded during this time step. At write times, the output
      is extended, e.g.:
      
          particleZoneInfo:
              Cell zone                       = leftFluid
              Contributions                   = 822
              Number of particles             = 199
              Written data to "postProcessing/lagrangian/reactingCloud1/
      
      TUT: filter: add an example for the particleZoneInfo function object
      5cb0dc9d
    • Andrew Heather's avatar
      ENH: multiFieldValue - extended to operate on general function objects · 8d90b165
      Andrew Heather authored and Sergio Ferraris's avatar Sergio Ferraris committed
      - Previously, the multiFieldValue function object was limited to operate on
        lists of fieldValue function objects.
      - Any function objects that generate results can now be used, e.g.
      
      pressureAverage
      {
          type    multiFieldValue;
          libs    (fieldFunctionObjects);
      
          operation   average;
      
          functions
          {
              inlet
              {
                  type            surfaceFieldValue;
                  operation       areaAverage;
                  regionType      patch;
                  name            inlet;
                  fields          (p);
      
                  writeFields     no;
                  writeToFile     no;
                  log             no;
                  resultFields    (areaAverage(inlet,p));
              }
              outlet
              {
                  type            surfaceFieldValue;
                  operation       areaAverage;
                  regionType      patch;
                  name            outlet;
                  fields          (p);
      
                  writeFields     no;
                  writeToFile     no;
                  log             no;
              }
              average
              {
                  type            valueAverage;
                  functionObject  testSample1;
                  fields          (average(p));
      
                  writeToFile     no;
                  log             no;
              }
          }
      }
      
      TUT: cavity: add an example for the multiFieldValue function object
      8d90b165
    • mattijs's avatar
      ENH: controlDict: include missing library. · 34ef9ae3
      mattijs authored
      With libs it can run with disallowGeneric
      34ef9ae3
    • Andrew Heather's avatar
      Merge branch 'feature-redistributePar' into 'develop' · 50d99578
      Andrew Heather authored
      redistributePar support for point fields and area fields
      
      See merge request !538
      50d99578
    • mattijs's avatar
      ENH: TUT: misspelled patch name · d58b8110
      mattijs authored and Andrew Heather's avatar Andrew Heather committed
      (happened to fall back to the 'empty' boundary condition)
      d58b8110