Skip to content
Snippets Groups Projects
  1. Dec 14, 2017
  2. Nov 20, 2017
  3. Dec 11, 2017
  4. Nov 24, 2017
    • Mark OLESEN's avatar
      ENH: more succinct output from command-line errors. · 5947f9a3
      Mark OLESEN authored
      - unknown options or missing option values now emit a shorter message
        without the entire usage. This makes it easier to identify the errors
        and is better aligned with the behaviour of GNU system tools.
      
        ====
           $ simpleFoam -case
           Using: OpenFOAM-plus (see www.OpenFOAM.com)
           Build: plus-01234
      
           Error: option '-case' requires an argument
      
           See 'simpleFoam -help' for usage
        ====
      
      - provide for reduced (-help) and full (-help-full) usage information.
        In many cases the reduced usage provided sufficient and easier
        to find the information.
      
      - make -srcDoc an alias for -doc-source
      
      - no warnings about option aliases for future dates.
      5947f9a3
  5. Nov 22, 2017
  6. Nov 18, 2017
    • Mark OLESEN's avatar
      ENH: enumerations for known cell models in cellModel, ptr/ref lookups · 8730a762
      Mark OLESEN authored
      - this provides a better typesafe means of locating predefined cell
        models than relying on strings. The lookup is now ptr() or ref()
        directly. The lookup functions behave like on-demand singletons when
        loading "etc/cellModels".
      
        Functionality is now located entirely in cellModel but a forwarding
        version of cellModeller is provided for API (but not ABI) compatibility
        with older existing user code.
      
      STYLE: use constexpr for cellMatcher constants
      8730a762
  7. Nov 17, 2017
  8. Nov 07, 2017
  9. Nov 05, 2017
  10. Aug 30, 2017
  11. Aug 09, 2017
  12. Nov 03, 2017
  13. Oct 30, 2017
  14. Oct 23, 2017
  15. Oct 11, 2017
  16. Oct 09, 2017
  17. Sep 29, 2017
    • Mark OLESEN's avatar
      ENH: adjust infoSwitch to report host subscription (related to #531) · a56a70b7
      Mark OLESEN authored
      - this compact form shows the subscription per host in the unsorted
        mpi order
      
            nProcs : 18
            Hosts  :
            (
                (node1 6)
                (node2 8)
                (node3 4)
            )
      
        This provides a succinct overview of which hosts have been
        subscribed or oversubscribed.
      
      - The longer list of "slave.pid" ... remains available on the
        InfoSwitch 'writeHosts'
      a56a70b7
  18. Sep 26, 2017
  19. Sep 11, 2017
  20. Aug 10, 2017
  21. Aug 08, 2017
    • Mark OLESEN's avatar
      ENH: use bash associative array for on-the-fly completion (issue #551) · ce086810
      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
      ce086810
  22. Aug 04, 2017
  23. Aug 03, 2017
  24. Aug 02, 2017
  25. Jul 31, 2017
    • Mark OLESEN's avatar
      ENH: improve bash completion functionality (issue #551) · c614110d
      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.
      c614110d
  26. Jul 29, 2017
    • Mark OLESEN's avatar
      ENH: support "one-shot" changes to the dictionary inputMode (issue #429) · 4e48beff
      Mark OLESEN authored
      - Instead of relying on #inputMode to effect a global change it is now
        possible (and recommended) to a temporary change in the inputMode
        for the following entry.
      
           #default   : provide default value if entry is not already defined
           #overwrite : silently remove a previously existing entry
           #warn      : warn about duplicate entries
           #error     : error if any duplicate entries occur
           #merge     : merge sub-dictionaries when possible (the default mode)
      
        This is generally less cumbersome than the switching the global
        inputMode. For example to provide a set of fallback values.
      
            #includeIfPresent "user-files"
            ...
            #default value uniform 10;
      
        vs.
      
            #includeIfPresent "user-files"
            #inputMode protect
            ...
            value uniform 10;
            #inputMode merge    // _Assuming_ we actually had this before
      
        These directives can also be used to suppress the normal dictionary
        merge semantics:
      
           #overwrite dict { entry val; ... }
      4e48beff
  27. Jul 14, 2017
  28. Sep 14, 2017
  29. Sep 13, 2017
    • Andrew Heather's avatar
      ENH: Lagrangian - provided backwards compatibility for cases using the · 2defba00
      Andrew Heather authored
      old "positions" file form
      
      The change to barycentric-based tracking changed the contents of the
      cloud "positions" file to a new format comprising the barycentric
      co-ordinates and other cell position-based info.  This broke
      backwards compatibility, providing no option to restart old cases
      (v1706 and earlier), and caused difficulties for dependent code, e.g.
      for post-processing utilities that could only infer the contents only
      after reading.
      
      The barycentric position info is now written to a file called
      "coordinates" with provision to restart old cases for which only the
      "positions" file is available. Related utilities, e.g. for parallel
      running and data conversion have been updated to be able to support both
      file types.
      
      To write the "positions" file by default, use set the following option
      in the InfoSwitches section of the controlDict:
      
          writeLagrangianPositions 1;
      2defba00
  30. Jul 12, 2017
    • Mark OLESEN's avatar
      ENH: enable profiling output for postProcess and -postProcess (closes #526) · 9e88a8a2
      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.
      9e88a8a2
    • Mark OLESEN's avatar
      ENH: respect the I_MPI_ROOT setting for INTELMPI (issue #524) · a6ef1050
      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-'
      a6ef1050
  31. Jul 11, 2017