openfoam/etc
Mark Olesen dec8bd46c3 BUG: _foamAddPath not available when foamPV alias/function is used
STYLE: only use paraview settings when actually available

- this means executing makeParaView prior to building OpenFOAM itself,
  but is consistent with the instructions given by makeParaView,
  and elminates anticipating the source location from the paraview
  config file, which increases the build flexibilty for ThirdParty
2016-11-28 15:35:27 +01:00
..
caseDicts functionObjects::surfaceFieldValue: New rational name for the surfaceRegion functionObject 2016-08-12 10:04:11 +01:00
codeTemplates codedFvOption: Added cellSet support 2016-09-09 12:29:06 +01:00
config.csh BUG: _foamAddPath not available when foamPV alias/function is used 2016-11-28 15:35:27 +01:00
config.sh BUG: _foamAddPath not available when foamPV alias/function is used 2016-11-28 15:35:27 +01:00
templates GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
thermoData Corrected names of compounds in thermoData to use upper/lower 2015-08-08 17:50:38 +01:00
bashrc GIT: revert back to system openmpi (issue #308) 2016-11-20 13:12:02 +01:00
cellModels DEFEATURE: remove samm, pro-am, prostar3 convertors (issue #204) 2016-08-05 11:05:30 +02:00
controlDict DEFEATURE: remove unused surfacePatchIOList class (issue #294) 2016-08-11 21:22:21 +02:00
cshrc CONFIG: remove foundation use of FOAMY_HEX_MESH control. 2016-09-29 12:36:27 +02:00
mergeHistory ENH: Added mergeHistory doc showing merges from Foundation line 2015-12-22 16:53:39 +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