Skip to content
Snippets Groups Projects
  1. Mar 16, 2020
    • Mark OLESEN's avatar
      ENH: openfoam shell session - improved and relocated · ba3a31af
      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.
      ba3a31af
  2. Dec 20, 2019
  3. Dec 13, 2019
  4. 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
  5. Dec 09, 2019
  6. Nov 19, 2019
  7. Nov 13, 2019
  8. Oct 31, 2019
  9. Nov 06, 2019
  10. Aug 21, 2019
  11. Jun 26, 2019
  12. Jun 24, 2019
  13. Jun 13, 2019
  14. Jun 09, 2019
  15. Jun 07, 2019
  16. May 08, 2019
  17. Apr 28, 2019
  18. May 27, 2019
  19. Feb 06, 2019
  20. Nov 29, 2018
    • Mark OLESEN's avatar
      ENH: relocate WM_PROJECT_SITE default (issue #1050) · 9e094f1f
      Mark OLESEN authored
      - was PREFIX/site, now PROJECT/site
      
        This avoids several issues when installing OpenFOAM in clusters
        without an intermediate OpenFOAM-specific installation prefix.
      
        The 'site' directory may have a reserved meaning in these situations
        and it is undesirable to 'leak' upwards into the parent directory to
        look for configuration files.
      
        Placing the default within the project directory avoids this.
        Alternative locations can be given via the WM_PROJECT_SITE variable.
      9e094f1f
  21. Nov 22, 2018
  22. May 30, 2018
  23. Dec 13, 2017
  24. Jan 09, 2018
  25. 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
  26. Sep 29, 2017
  27. Aug 10, 2017
  28. Jun 26, 2017
  29. May 16, 2017
  30. May 10, 2017
  31. Feb 06, 2017
  32. Dec 16, 2016
  33. Nov 13, 2016
  34. Sep 27, 2016
  35. Sep 23, 2016