Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Feb 03, 2020
  4. 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
  5. Jan 10, 2020
  6. Dec 23, 2019
  7. Dec 19, 2019
  8. Dec 17, 2019
  9. Dec 16, 2019
  10. 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
  11. 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
  12. Nov 27, 2019
  13. Nov 26, 2019
  14. Nov 25, 2019
  15. Nov 15, 2019
  16. Nov 13, 2019
  17. Oct 31, 2019
  18. Nov 11, 2019
  19. Sep 25, 2019
  20. Nov 06, 2019
  21. Nov 05, 2019
  22. Nov 01, 2019
  23. Oct 30, 2019
  24. Oct 28, 2019
  25. Oct 02, 2019
  26. Sep 25, 2019
  27. Aug 16, 2019
  28. Aug 13, 2019
  29. Jul 31, 2019
  30. 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
  31. Jul 31, 2019
  32. Aug 02, 2019
  33. Jul 31, 2019
  34. Jul 29, 2019
  35. Jul 15, 2019
  36. Jul 10, 2019
  37. Jul 09, 2019