1. 08 Jun, 2020 1 commit
  2. 31 Oct, 2019 1 commit
  3. 14 Nov, 2018 1 commit
  4. 06 Nov, 2018 1 commit
    • Mark Olesen's avatar
      ENH: additional topoSources, and consistency changes (#1060) · 6090faed
      Mark Olesen authored
      - faceBitSet, pointBitSet and faceBoolSet (similar to cellBitSet)
        * allows topo sources in a wider variety of places.
        * With copy or move constructors.
      
      - cylinderToPoint, searchableSurfaceToFace, searchableSurfaceToPoint,
        sphereToFace, sphereToPoint sources
      
      - optional innerRadius for sphere and cylinder sources to treat as hollow.
      
      - support "sets" as well as "set" for cellToCell, faceToFace... sources.
      
        * convenience and avoids writing the set during processing.
      6090faed
  5. 31 Oct, 2018 1 commit
  6. 30 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: topoSetSource::SUBTRACT enum action (#1060) · 7325e3ac
      Mark Olesen authored
      - old 'DELETE' enum was easily confused with 'REMOVE', which removes
        the set, not the elements from the set.
      
      - provide corresponding subtractSet() method
      
      STYLE: HashSet set/unset instead of insert/erase methods in topoSetSource
      
      - simplifies switching to/from bitSet storage
      7325e3ac
  7. 06 Jul, 2018 1 commit
  8. 07 Jul, 2017 1 commit
    • Andrew Heather's avatar
      INT: Integration of Mattijs' collocated parallel IO additions · d8d6030a
      Andrew Heather authored
      Original commit message:
      ------------------------
      
      Parallel IO: New collated file format
      
      When an OpenFOAM simulation runs in parallel, the data for decomposed fields and
      mesh(es) has historically been stored in multiple files within separate
      directories for each processor.  Processor directories are named 'processorN',
      where N is the processor number.
      
      This commit introduces an alternative "collated" file format where the data for
      each decomposed field (and mesh) is collated into a single file, which is
      written and read on the master processor.  The files are stored in a single
      directory named 'processors'.
      
      The new format produces significantly fewer files - one per field, instead of N
      per field.  For large parallel cases, this avoids the restriction on the number
      of open files imposed by the operating system limits.
      
      The file writing can be threaded allowing the simulation to continue running
      while the data is being written to file.  NFS (Network File System) is not
      needed when using the the collated format and additionally, there is an option
      to run without NFS with the original uncollated approach, known as
      "masterUncollated".
      
      The controls for the file handling are in the OptimisationSwitches of
      etc/controlDict:
      
      OptimisationSwitches
      {
          ...
      
          //- Parallel IO file handler
          //  uncollated (default), collated or masterUncollated
          fileHandler uncollated;
      
          //- collated: thread buffer size for queued file writes.
          //  If set to 0 or not sufficient for the file size threading is not used.
          //  Default: 2e9
          maxThreadFileBufferSize 2e9;
      
          //- masterUncollated: non-blocking buffer size.
          //  If the file exceeds this buffer size scheduled transfer is used.
          //  Default: 2e9
          maxMasterFileBufferSize 2e9;
      }
      
      When using the collated file handling, memory is allocated for the data in the
      thread.  maxThreadFileBufferSize sets the maximum size of memory in bytes that
      is allocated.  If the data exceeds this size, the write does not use threading.
      
      When using the masterUncollated file handling, non-blocking MPI communication
      requires a sufficiently large memory buffer on the master node.
      maxMasterFileBufferSize sets the maximum size in bytes of the buffer.  If the
      data exceeds this size, the system uses scheduled communication.
      
      The installation defaults for the fileHandler choice, maxThreadFileBufferSize
      and maxMasterFileBufferSize (set in etc/controlDict) can be over-ridden within
      the case controlDict file, like other parameters.  Additionally the fileHandler
      can be set by:
      - the "-fileHandler" command line argument;
      - a FOAM_FILEHANDLER environment variable.
      
      A foamFormatConvert utility allows users to convert files between the collated
      and uncollated formats, e.g.
          mpirun -np 2 foamFormatConvert -parallel -fileHandler uncollated
      
      An example case demonstrating the file handling methods is provided in:
      $FOAM_TUTORIALS/IO/fileHandling
      
      The work was undertaken by Mattijs Janssens, in collaboration with Henry Weller.
      d8d6030a
  9. 25 Nov, 2016 1 commit
    • Henry Weller's avatar
      topoSet: cellZoneSet, pointZoneSet extensions · 81de1dc9
      Henry Weller authored
      cellZones and pointZones can now be created in one action without the
      need to first create a cellSet or pointSet and converting that to the
      corresponding zone, e.g.
      
      actions
      (
          // Example: create cellZone from a box region
          {
              name    c0;
              type    cellZoneSet;
              action  new;
              source  boxToCell;
              sourceInfo
              {
                  box   (0.04 0 0)(0.06 100 100);
              }
          }
      );
      81de1dc9
  10. 14 Aug, 2011 1 commit
  11. 19 Jan, 2011 1 commit
  12. 14 Jan, 2011 1 commit
  13. 07 Jan, 2011 1 commit
  14. 05 Jan, 2011 2 commits
  15. 28 Jul, 2010 1 commit
  16. 12 Apr, 2010 1 commit
  17. 29 Mar, 2010 1 commit
  18. 04 Dec, 2009 1 commit
  19. 29 Sep, 2009 1 commit
  20. 24 Sep, 2009 1 commit
  21. 31 Dec, 2008 1 commit
  22. 25 Jun, 2008 2 commits
  23. 15 Apr, 2008 1 commit