1. 19 Feb, 2020 1 commit
  2. 31 Oct, 2019 1 commit
  3. 10 Oct, 2019 1 commit
  4. 06 Feb, 2019 1 commit
  5. 27 Sep, 2018 1 commit
    • Mark Olesen's avatar
      STYLE: add nBoundaryFaces() method to primitiveMesh · 64c3e484
      Mark Olesen authored
      - nBoundaryFaces() is often used and is identical to
        (nFaces() - nInternalFaces()).
      
      - forward the mesh nInternalFaces() and nBoundaryFaces() to
        polyBoundaryMesh as nFaces() and start() respectively,
        for use when operating on a polyBoundaryMesh.
      
      STYLE:
      
      - use identity() function with starting offset when creating boundary maps.
      
           labelList map
           (
               identity(mesh.nBoundaryFaces(), mesh.nInternalFaces())
           );
      
        vs.
      
           labelList map(mesh.nBoundaryFaces());
           forAll(map, i)
           {
               map[i] = mesh.nInternalFaces() + i;
           }
      64c3e484
  6. 03 Aug, 2018 1 commit
    • Mark Olesen's avatar
      ENH: added ZoneMesh indices(), selection() with wordRes matcher · 84e2df49
      Mark Olesen authored
      - rationalized code dealing with extraction of name or indices from
        coordinateSystems, polyBoundaryMesh, faBoundaryMesh, fvBoundaryMesh,
        ZoneMesh to use internal implementations that allow direct
        searching/matching without building an intermediate list of names.
      
      - simpler and more efficient handling of patch group matching.
      84e2df49
  7. 01 Aug, 2018 1 commit
    • Mark Olesen's avatar
      ENH: add range method to polyBoundaryMesh · edb0d1dd
      Mark Olesen authored
      - makes for easier extraction of boundary values since it encapsulates
        start/size directly.
      
      Eg,
          SubList<T>(allValues, patches.range());
      or
          bitSet(blocked, patches.range(patchi));
      edb0d1dd
  8. 30 May, 2018 1 commit
  9. 20 Feb, 2018 1 commit
  10. 08 Dec, 2017 1 commit
  11. 22 Sep, 2017 1 commit
  12. 24 Oct, 2017 1 commit
  13. 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
  14. 10 May, 2017 1 commit
  15. 10 Jan, 2016 1 commit
  16. 06 Nov, 2013 1 commit
  17. 05 Aug, 2013 1 commit
  18. 07 Jan, 2013 1 commit
  19. 29 Nov, 2012 1 commit
  20. 27 Jun, 2012 1 commit
  21. 19 Apr, 2012 1 commit
  22. 09 Dec, 2011 1 commit
  23. 06 Dec, 2011 1 commit
  24. 14 Aug, 2011 1 commit
  25. 18 Feb, 2011 1 commit
  26. 08 Feb, 2011 1 commit
  27. 19 Jan, 2011 1 commit
  28. 14 Jan, 2011 1 commit
  29. 07 Jan, 2011 2 commits
  30. 05 Jan, 2011 2 commits
  31. 02 Nov, 2010 1 commit
  32. 04 Aug, 2010 1 commit
  33. 28 Jul, 2010 1 commit
  34. 29 Apr, 2010 1 commit
  35. 12 Apr, 2010 1 commit
  36. 29 Mar, 2010 1 commit
  37. 26 Mar, 2010 1 commit
  38. 23 Nov, 2009 1 commit