Skip to content
Snippets Groups Projects
  1. Sep 30, 2016
  2. Sep 29, 2016
  3. Sep 28, 2016
  4. Sep 27, 2016
  5. Sep 26, 2016
  6. Sep 25, 2016
  7. Sep 24, 2016
  8. Sep 23, 2016
  9. Sep 22, 2016
  10. Sep 21, 2016
    • Henry Weller's avatar
    • Mark Olesen's avatar
      ENH: improve startup time for foamToEnsight conversion (issue #240). · 0c168c43
      Mark Olesen authored
      Old code:
          Found 10990 time steps
          Search for moving mesh ... no moving mesh detected.
          Startup in 329.09 s
      
      Updated:
          Found 10990 time steps
          Search for moving mesh ... no moving mesh detected.
          Startup in 1.6 s
      
      - Cause was checking "polyMesh/points" via an IOobject.
        Short-circuit with a check for a polyMesh/ directory first.
      
        Limit the check to the master-node as well to further reduce
        load on the file-system.
      
      ------------------------------
      
      ENH: improve per-step conversion times for foamToEnsight.
      
      Old code:
          Converting 11001 time steps
          Time [0] = 0       Wrote in 1.53 s
          Time [1] = 1       Wrote in 1.52 s
          ...
          Time [100] = 100   Elapsed time 205.35 s
      
      Updated:
          Converting 11001 time steps
          Time [0] = 0       Wrote in 1.4 s
          Time [1] = 1       Wrote in 0.07 s
          ...
          Time [100] = 100   Elapsed time 42.4 s
      
      - Speedup by hashing test results from the first conversion step
        instead of checking each time.
      
        Check data on all nodes to avoid problems with incomplete writes.
      
      ------------------------------
      
      BUG: moving mesh detection failed for foamToEnsightParts
      
      - adjusted to agree with updated foamToEnsight
      
      ------------------------------
      
      Note:
      
      - foamToEnsightParts (serial) still has about twice the throughput of
        foamToEnsight.
      0c168c43
    • Henry Weller's avatar
      481f8e5b
    • Henry Weller's avatar
  11. Sep 20, 2016