OpenFOAM-5.x/etc
Henry Weller 618753c5b4 C++11: Update compilation rules to specify C++11 support and conformance
The change from C++0x to C++11 allows all of C++11 functionality to be
used in OpenFOAM, in particular constructor delegation which avoids code
duplication or constructor helper functions.  However, this also means a
change to the minimum gcc version supported which is now 4.7 rather than
4.5.

Note that gcc-4.7 does not support the entire C++11 standard but does
support all of the functionality currently needed for further OpenFOAM
development.  The minimum gcc-version which supports the entire C++11
standard is 4.8 which is now the recommended minimum gcc version.
2016-08-05 16:28:19 +01:00
..
caseDicts scalarTransport function: renamed scalar field -> s 2016-07-31 17:12:49 +01:00
codeTemplates Updated header documentation processed by Doxygen 2016-06-19 21:23:54 +01:00
config.csh C++11: Update compilation rules to specify C++11 support and conformance 2016-08-05 16:28:19 +01:00
config.sh C++11: Update compilation rules to specify C++11 support and conformance 2016-08-05 16:28:19 +01:00
templates Template cases: commenting out scalarLevels to prevent 0 directory 2016-06-15 18:06:12 +01:00
thermoData Corrected names of compounds in thermoData to use upper/lower 2015-08-08 17:51:47 +01:00
bashrc Correct handling of the CGAL version variable for makeCGAL in ThirdParty 2016-07-01 16:22:28 +01:00
cellModels Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
controlDict Legacy solver wrappers ICCG and BICCG removed 2016-06-14 14:53:28 +01:00
cshrc Correct handling of the CGAL version variable for makeCGAL in ThirdParty 2016-07-01 16:22:28 +01: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