Skip to content
Snippets Groups Projects
  1. Dec 01, 2023
    • Andrew Heather's avatar
      ENH: checkMesh - added -writeChecks option · f8742146
      Andrew Heather authored
      Added -writeChecks <format> option
      
      - writes computed mesh metrics to file in using <format>
      - currently supported formats are OpenFOAM dictionary and JSON
      f8742146
    • Andrew Heather's avatar
      9d20dd84
    • Andrew Heather's avatar
      ENH: Added new caseInfo function object · 6242e70d
      Andrew Heather authored
      Collects and writes case information to file in OpenFOAM dictionary or JSON
      format.  Data includes:
      
      - meta: case name, path, regions, parallel etc.
      - dictionaries: entries retrieved from dictionaries - registered or from file
      - per region: mesh metrics, boundary and boundary field types
      - function object results
      
      Example of function object specification:
      
          caseInfo
          {
              type            caseInfo;
              libs            (utilityFunctionObjects);
      
              // Warn when entries are not found
              lookupMode  warn; // none | warn | error;
      
              // Write format
              writeFormat json; //  dictionary | json;
      
              dictionaries
              {
                  USolver // User-specified names
                  {
                      // Look up using registered name
                      name        "fvSolution";
      
                      // Optionally limit to specific entries
                      include
                      (
                          "solvers/U/solver"
                      );
                  }
                  fvSchemes
                  {
                      name        "fvSchemes";
      
                      // include all entries by default
                  }
                  timeScheme
                  {
                      name        "fvSchemes";
      
                      include
                      (
                          "/ddtSchemes/default"
                      );
                  }
      
                  turbulence
                  {
                      name        "turbulenceProperties";
      
                      // include all entries by default
                  }
                  controlDict
                  {
                      // Look up using file path
                      path        "<case>/system/controlDict";
      
                      include
                      (
                          "application"
                          "deltaT"
                          "startTime"
                          "endTime"
                      );
                  }
              }
      
              functionObjects (minMax1);
          }
      6242e70d
    • Andrew Heather's avatar
      ENH: Added new JSONformatter to write Ostream content in JSON format · d77db0ed
      Andrew Heather authored
      New Ostream wrapper that writes entries as JSON objects/convert OpenFOAM
      dictionaries to JSON dictionaries, e.g.
      
          dictionary dict ...
      
          // Create file for writing
          OFstream os("myData.json");
      
          // Wrap Ostream
          JSONformatter json(os);
      
          // Write dictionary as JSON
          json.writeDict(dict);
      d77db0ed
    • Andrew Heather's avatar
      ENH: polyMeshCheck - added mesh quality metrics to meshState dictionary · c7a639d0
      Andrew Heather authored
      Quality metrics, e.g. non-orthogonality, skewness etc are calculated/reported
      in polyMeshCheck functions. These results are now added to the meshState/mesh
      dictionary to enable external access.
      c7a639d0
    • Andrew Heather's avatar
    • Andrew Heather's avatar
      STYLE: Refactoring use of meshState in {fv|faMesh} · 79cd147d
      Andrew Heather authored
      {fv|fa}Mesh classes inherited the [old] data class (renamed meshState)
      - meshState removed from inheritance list and added as data members
      79cd147d
    • Andrew Heather's avatar
      STYLE: renamed/moved 'data' to 'meshState' · da20ff26
      Andrew Heather authored
      ENH: added 'mesh' dictionary to meshState to hold mesh properties
      
      - solver information now stored in a 'solver' dictionary (was solverPerformance)
        - {first|final}Iteration entry now stored in solver dict instead of top level
      - mesh data (new) stored in 'mesh' dictionary
      da20ff26
  2. Nov 29, 2023
  3. Nov 28, 2023
  4. Nov 27, 2023
  5. Nov 24, 2023
  6. Nov 23, 2023
  7. Nov 22, 2023
  8. Nov 21, 2023
  9. Nov 20, 2023
    • Andrew Heather's avatar
    • Mattijs Janssens's avatar
      Merge branch 'pstream-updates' into 'develop' · 11ecf55a
      Mattijs Janssens authored
      Extend some Pstream, PstreamBuffers and globalIndex functionality
      
      See merge request !640
      11ecf55a
    • Mark OLESEN's avatar
      ENH: extend mpiAllGather to include integer and float types · 88182011
      Mark OLESEN authored
      - was previously limited to 'char' whereas gatherv/scatterv
        already supported various integer and float types
      
      STYLE: rebundle allToAll declarations with macros
      
      ENH: provide a version of allToAllConsensus returning the Map
      
      - simplifies use and avoids ambiguities in the send/recv parameters
      
      - the Map version will now also transmit zero value data if they exist
        in the Map. Unlike the List version, zero values are not necessary to
        signal connectivity with a Map.
      
      COMP: forwarding template parameters for NBX routines
      
      ENH: consolidate PstreamBuffers size exchange options
      
      - had a variety of nearly identical backends for all-to-all,
        gather/scatter. Now combined internally with a dispatch enumeration
        which provides better control over which size exchange algorithm
        is used.
      
      DEFEATURE: remove experimental full-NBX PstreamBuffers variant
      
      - no advantages seen compared to the hybrid NBX/PEX approach.
        Removal reduces some code cruft.
      
      DEFEATURE: remove experimental "double non-blocking" NBX version
      
      - the idea was to avoid blocking receives for very large data transfers,
        but that is usually better accomplished with a hybrid NBX/PEX approach
        like PstreamBuffers allows
      88182011
    • Mark OLESEN's avatar
      ENH: globalIndex contains(), findProcAbove(), findProcBelow() methods · 3fd1b74b
      Mark OLESEN authored
      - these help when building upper or lower connected topologies.
        The new findProc() method is a non-failing whichProcID alternative
      3fd1b74b