OpenFOAM-5.x/etc
Henry Weller 64d256f79e etc/config.sh/CGAL: updated
Patch contributed by Bruno Santos:
 - "etc/config.sh/CGAL":
   - Indented the contents of the recently added if block.
   - Added comment about using system versions.
   - Library paths are now only added if the respective version is not "boost-system" and "cgal-system".

 - "src/renumber/Allwmake":
   It now relies on the previous file to get the version for
   Boost (the same way as in "makeCGAL"). This is so that it will also
   build "SloanRenumber" if "boost_version" is set to "boost-system".

 - "applications/utilities/mesh/generation/Allwmake":
   It now also relies on the script "config.sh/CGAL" to get the
   version for CGAL. If "cgal_version" is set to "cgal-system", it
   will now also build "foamy*Mesh" utilities and respective
   libraries.

Resolves report http://www.openfoam.org/mantisbt/view.php?id=1232
2016-03-22 07:58:38 +00:00
..
caseDicts Packaged coordinateSystem: updated localAxesRotation -> cylindrical 2016-02-26 16:12:50 -06:00
codeTemplates Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
config.csh etc/cshrc, etc/config.csh: foamCompiler -> WM_COMPILER_TYPE 2016-03-09 09:05:35 +00:00
config.sh etc/config.sh/CGAL: updated 2016-03-22 07:58:38 +00:00
templates scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
thermoData Corrected names of compounds in thermoData to use upper/lower 2015-08-08 17:51:47 +01:00
bashrc etc/bashrc, etc/config.sh: Updates provided by Bruno Santos: 2016-03-09 09:01:09 +00:00
cellModels Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
controlDict Rationalize the autoMesh library: autoHexMesh -> snappyHexMesh 2016-03-01 16:21:31 +00:00
cshrc etc/cshrc, etc/config.csh: foamCompiler -> WM_COMPILER_TYPE 2016-03-09 09:05:35 +00:00
README.org etc/README.org: Added mpi 2016-02-10 20:49:04 +00:00

OpenFOAM Configuration

The main OpenFOAM settings are located in the parent etc/ directory. The bash and csh shells are supported and to configure OpenFOAM source etc/bashrc or etc/cshrc respectively which source the following files in the config.sh or config.csh respectively:

  • settings: core settings
  • aliases: aliases for interactive shells
  • unset: sourced to clear as many OpenFOAM environment settings as possible
  • mpi: MPI communications library settings
  • ensight: application settings for EnSight
  • paraview: application settings for ParaView
  • scotch: application settings for compiling against scotch
  • metis: application settings for compiling against metis 5

The config.*/example directories contains various example configuration files for the corresponding shell:

  • compiler: an example of fine tuning ThirdParty compiler settings
  • openmpi: an example of fine tuning openmpi settings for OpenFOAM
  • paraview: an example of chaining to the standard config/paraview with a different ParaView_VERSION
  • prefs: an example of supplying alternative site-defined settings