Skip to content
Snippets Groups Projects
  1. Feb 24, 2020
    • Mark OLESEN's avatar
      CONFIG: improve prefix matching for system libraries (#1607) · 5ba2cbc5
      Mark OLESEN authored
      - missed detection of system libraries when installed with multiarch
        paths like /usr/lib/x86_64-linux-gnu
      
      CONFIG: improve handling of group/user config files (#928)
      
      - changed bashrc handling of FOAM_CONFIG_NOUSER to use
        FOAM_CONFIG_MODE instead. Propagate into foamEtcFile to make this
        a stickier control.
      
        This change allows better control, but also enables cluster
        installations to define their own value within the OpenFOAM prefs.sh
        file to prevent users accidentally mis-configuring things if
        necessary.
      
      - remove undocumented handling of an (a)ll mode in foamEtcFile to
        avoid potential pitfalls.
      
      - add support for FOAM_CONFIG_ETC handling.
        This allows injection of an extra search layer when finding
        project etc files
      
      ENH: improvements to foamConfigurePaths (#928)
      
      - handle FOAM_CONFIG_ETC implicitly, or explicitly with the new
        -etc option.
      
      STYLE: more explicit wording in foamConfigurePaths usage (#1602)
      
      - document that an...
      5ba2cbc5
  2. Feb 20, 2020
  3. Feb 12, 2020
    • Mark OLESEN's avatar
      ENH: openfoam shell session - improved and relocated · f90de021
      Mark OLESEN authored
      - '-c' option (as per shell), '-Dkey[=value]' option to provide
        preferences via the command-line. For example,
      
            etc/openfoam -DWM_COMPILER=Clang -int64  ./Allwmake -j -s -l
      
        These can also be combined with other options. Eg,
      
            etc/openfoam -DWM_COMPILER=Clang \
                -c 'wmake -show-path-cxx -show-cxxflags'
      
      - relocated from bin/tools/ => etc/ for easier access
      
      - bin/tools/openfoam.in : for autoconfig-style installation
      
      - Auto-detect if the shell script was executed with openfoam and
        interpret accordingly.
      
        Simple example,
      
            --------------
            #!/usr/bin/openfoam
            cd "${0%/*}" || exit   # Run -*-sh-*- from this dir
      
            blockMesh
            simpleFoam
            --------------
      
         Note it is NOT currently possible to provide any other parameters
         this way. Eg,
      
            `#!/usr/bin/openfoam -sp` (NOT)
      
         This will either fail to run, or result in infinite recursion.
      f90de021
  4. Feb 06, 2020
    • Mark OLESEN's avatar
      CONFIG: provide separate default settings for clang/gcc (fixes #1566) · 92a148e9
      Mark OLESEN authored
      - the foamConfigurePaths script is quite simplistic and aggressive in
        what it changes. This was particularly evident when using it to
        change gcc/clang versions.
      
        Restructured the corresponding compiler settings to define default
        versions (eg, "default_gcc_version") that limits the scope of
        changes performed by foamConfigurePaths and makes it easier to
        understand if changing manually.
      92a148e9
  5. Feb 05, 2020
  6. Feb 03, 2020
  7. Jan 16, 2020
    • Mark OLESEN's avatar
      ENH: consistency improvements for surface patch handling (fixes #483) · 2a98c4e6
      Mark OLESEN authored
      - remove (unused) Istream constructors, prune some unused methods,
        rationalize write() vs writeDict().
        Deprecate inconsistent construction order.
      
      - handle empty names for ".ftr" surface patches (for plain triSurface
        format) with double-quoted strings for more reliable streaming.
        Written on a single line.
      
        This is _backward_ compatible, but if users have been parsing these
        files manually, they will need to adjust their code.
      
      Previously:
      ```
        (
        frt-fairing:001%1
        empty
      
        windshield:002%2
        empty
        ...
        )
      ```
      
      Updated (with example handling of empty name):
      ```
        (
        frt-fairing:001%1 empty
      
        windshield:002%2 ""
        ...
        )
      ```
      2a98c4e6
  8. Jan 10, 2020
  9. Dec 23, 2019
  10. Dec 19, 2019
  11. Dec 17, 2019
  12. Dec 16, 2019
  13. Dec 13, 2019
    • Mark OLESEN's avatar
      STYLE: adjust deprecations for OSspecific · b61d4ab4
      Mark OLESEN authored
      - skip processing OSspecific/MSwindows since this can cause duplicate
        doxygen entries
      
      STYLE: adjust formatting in code templates
      
      STYLE: use std::string methods without extra qualifications
      b61d4ab4
  14. Dec 12, 2019
    • Mark OLESEN's avatar
      CONFIG: prefer use of ParaView_MESA_DIR in runTimePostProcessing · a8ab9b87
      Mark OLESEN authored
      - when using VTK from ParaView sources it can better to tag them as
        such, but simultaneously not mask the ParaView with hardware
        rendering.
      
        The additional ParaView_MESA_DIR variable allows this.
        The balance of library and path setup is unaffected by this.
      
      DOC: update doc/BuildIssues
      a8ab9b87
  15. Nov 27, 2019
  16. Nov 26, 2019
  17. Nov 25, 2019
  18. Nov 15, 2019
  19. Nov 13, 2019
  20. Oct 31, 2019
  21. Nov 11, 2019
  22. Sep 25, 2019
  23. Nov 06, 2019
  24. Nov 05, 2019
  25. Nov 01, 2019
  26. Oct 30, 2019
  27. Oct 28, 2019
  28. Oct 02, 2019
  29. Sep 25, 2019
  30. Aug 16, 2019
  31. Aug 13, 2019
  32. Jul 31, 2019
  33. Aug 07, 2019
    • Mark OLESEN's avatar
    • Mark OLESEN's avatar
      CONFIG: relax requirement on C compile option · d4a0dc63
      Mark OLESEN authored
      - with 1906, OpenFOAM is purely C++ code and the last toolchain bits C
        code have been avoided. Thus relax the wmake C rule for including
        WM_COMPILE_OPTION. This makes it much easier to add different
        compiler options with fewer files.
      
        For example, for Broadwell-specific options:
      
            cd wmake/rules/linux64Gcc
            cp c++Opt c++OptBdw
      
            edit this file and then use WM_COMPILE_OPTION=OptBdw
      
      - ensure that WM_COMPILE_OPTION is always non-empty
      d4a0dc63
  34. Jul 31, 2019
  35. Aug 02, 2019
  36. Jul 31, 2019