Skip to content
Snippets Groups Projects
  1. Sep 22, 2017
    • Chris Greenshields's avatar
    • Henry Weller's avatar
    • Henry Weller's avatar
      24694981
    • Will Bainbridge's avatar
      Lagrangian: Rewrite of the particle tracking algorithm to function in · b7d08241
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      terms of the local barycentric coordinates of the current tetrahedron,
      rather than the global coordinate system.
      
      Barycentric tracking works on any mesh, irrespective of mesh quality.
      Particles do not get "lost", and tracking does not require ad-hoc
      "corrections" or "rescues" to function robustly, because the calculation
      of particle-face intersections is unambiguous and reproducible, even at
      small angles of incidence.
      
      Each particle position is defined by topology (i.e. the decomposed tet
      cell it is in) and geometry (i.e. where it is in the cell). No search
      operations are needed on restart or reconstruct, unlike when particle
      positions are stored in the global coordinate system.
      
      The particle positions file now contains particles' local coordinates
      and topology, rather than the global coordinates and cell. This change
      to the output format is not backwards compatible. Existing cases with
      Lagrangian data will not restart, but they will still run from time
      zero without any modification. This change was necessary in order to
      guarantee that the loaded particle is valid, and therefore
      fundamentally prevent "loss" and "search-failure" type bugs (e.g.,
      2517, 2442, 2286, 1836, 1461, 1341, 1097).
      
      The tracking functions have also been converted to function in terms
      of displacement, rather than end position. This helps remove floating
      point error issues, particularly towards the end of a tracking step.
      
      Wall bounded streamlines have been removed. The implementation proved
      incompatible with the new tracking algorithm. ParaView has a surface
      LIC plugin which provides equivalent, or better, functionality.
      
      Additionally, bug report <https://bugs.openfoam.org/view.php?id=2517>
      is resolved by this change.
      b7d08241
  2. Sep 12, 2017
  3. Aug 30, 2017
  4. Aug 10, 2017
  5. Aug 09, 2017
    • Mark OLESEN's avatar
      ENH: use bash associative array for on-the-fly completion (issue #551) · 46099d77
      Mark OLESEN authored
      - this reduces the number of functions and allows lazy loading of
        completion options, which makes it easy to quickly add any other
        OpenFOAM application in completion.
      
        The generic '_of_complete_' function handles (bash) completion for
        any OpenFOAM application. On the first call for any particular
        application, it retrieves the available options from the application
        help output and adds this information to its environmental cache for
        subsequent use.
      
      - Tcsh completion uses the same function via a bash wrapper.
        But since its wrapper is transient, the on-the-fly generation would
        be less efficient. For this case, a pre-generated completion_cache
        can be used, which is generated with
      
            bin/tools/foamCreateCompletionCache
      46099d77
  6. Aug 03, 2017
  7. Aug 02, 2017
  8. Jul 31, 2017
    • Mark OLESEN's avatar
      ENH: improve bash completion functionality (issue #551) · d41647ca
      Mark OLESEN authored
      - use complete -o filenames, dropped -o nospace to make it more responsive.
      
      - restructure completion code to use a unified backend, which makes it easier
        understand, maintain and re-use.
      
      - foamCreateBashCompletions now simply outputs to a stdout, and allows
        quick generation of completion of single applications.
      
      - add -fileHandler completion in anticipation of future changes there.
      
      - relocated as etc/config.s/bash_completion to prevent inadvertently
        having two versions (.com, .org) installed at the same time.
      d41647ca
  9. Jul 14, 2017
  10. Jul 12, 2017
    • Mark OLESEN's avatar
      ENH: enable profiling output for postProcess and -postProcess (closes #526) · b890e5c0
      Mark OLESEN authored
      - added an explicit print, but only report profiling to the log
        file from master process.
      
        We don't wish to overwrite any profiling that was conducted during
        the simulation. Besides which, we don't have a proper Time object
        for handling the write nicely either.
      b890e5c0
    • Mark OLESEN's avatar
      ENH: respect the I_MPI_ROOT setting for INTELMPI (issue #524) · 47d212f1
      Mark OLESEN authored
      - add note in BuildIssues about the I_MPI_CC variable, which is needed
        when building with Intel-MPI and gcc/clang.
      
        This additional setting is needed since the changes needed to solve
        the issue of building scotch with Intel-MPI and icc (issue #434)
        means that mpiicc is now being used as the wrapper when compiling
        scotch.
      
      - have the FOAM_MPI short name for INTELMPI start with 'impi-' instead
        of just the version number.
        Intel-MPI is often installed as /opt/intel/impi/4.1.3.049, which
        results in 'FOAM_MPI=4.1.3.049' and the mpi flavour is lost.
        Prefix these cases with 'impi-'
      47d212f1
  11. Jul 11, 2017
  12. Jul 07, 2017
  13. Jul 06, 2017
  14. Jun 28, 2017
  15. Jun 27, 2017
  16. Jun 26, 2017
  17. Jun 21, 2017
  18. Jun 14, 2017
  19. Jun 08, 2017
  20. May 30, 2017