Go to file
Mark Olesen 7864672c78 ENH: make cwd() behaviour user-adjustable (issue #1007)
- with the 'cwd' optimization switch it is possible to select the
  preferred behaviour for the cwd() function.

  A value of 0 causes cwd() to return the physical directory,
  which is what getcwd() and `pwd -P` return.
  Until now, this was always the standard behaviour.

  With a value of 1, cwd() instead returns the logical directory,
  which what $PWD contains and `pwd -L` returns.
  If any of the sanity checks fail (eg, PWD points to something other
  than ".", etc), a warning is emitted and the physical cwd() is
  returned instead.

  Apart from the optical difference in the output, this additional
  control helps workaround file systems with whitespace or other
  characters in the directory that normally cause OpenFOAM to balk.
  Using a cleaner symlink elsewhere should skirt this issue.

  Eg,
      cd $HOME
      ln -s "/mounted volume/user/workdir"  workdir
      cd workdir
      # start working with OpenFOAM
2018-10-16 01:30:44 +02:00
applications ENH: make cwd() behaviour user-adjustable (issue #1007) 2018-10-16 01:30:44 +02:00
bin CONFIG: improve shell env handling of paths with spaces (#1007, #1008) 2018-10-15 21:37:46 +02:00
doc STYLE: consistent ordering of "inline explicit" vs. "explicit inline" 2018-05-30 12:11:13 +02:00
etc ENH: make cwd() behaviour user-adjustable (issue #1007) 2018-10-16 01:30:44 +02:00
modules COMP: rename dictionary::read<T> to dictionary::readEntry<T> 2018-07-30 15:52:40 +02:00
src ENH: make cwd() behaviour user-adjustable (issue #1007) 2018-10-16 01:30:44 +02:00
tutorials ENH: auto-detect git in tutorials Alltest 2018-10-12 23:29:16 +02:00
wmake Merge branch 'feature-coordinateSystem' into 'develop' 2018-10-11 16:32:03 +01:00
.gitignore ENH: gitignore: Added temporary vi/vim files to the ignore list 2017-10-05 09:39:48 +01:00
.gitmodules GIT: include submodules in develop-pre-release branch 2018-06-11 11:53:29 +02:00
Allwmake ENH: improve handling of ThirdParty packages 2018-04-24 14:51:19 +02:00
BuildIssues.txt COMP: resolve size ambiguity (Darwin) 2018-05-29 12:36:12 +02:00
COPYING Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
README.md ENH: Updated config for release v1806 2018-06-28 12:56:00 +01:00

About OpenFOAM

OpenFOAM is a free, open source CFD software released and developed primarily by OpenCFD Ltd since 2004. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to acoustics, solid mechanics and electromagnetics. More...

OpenFOAM is professionally released every six months to include customer sponsored developments and contributions from the community - individual and group contributors, fork re-integrations including from FOAM-extend and OpenFOAM Foundation Ltd - in this Official Release sanctioned by the OpenFOAM Worldwide Trademark Owner aiming towards one OpenFOAM.

Copyright

OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file COPYING in this directory or http://www.gnu.org/licenses/, for a description of the GNU General Public License terms under which you can copy the files.

OpenFOAM Trademark

OpenCFD Ltd grants use of its OpenFOAM trademark by Third Parties on a licence basis. ESI Group and OpenFOAM Foundation Ltd are currently permitted to use the Name and agreed Domain Name. For information on trademark use, please refer to the trademark policy guidelines.

Please contact OpenCFD if you have any questions on the use of the OpenFOAM trademark.

Violations of the Trademark are continuously monitored, and will be duly prosecuted.

Useful Links

Copyright 2016-2018 OpenCFD Ltd