openfoam/etc
Mark Olesen a05493db41 CONFIG: csh not unsetting old paraview/cmake environment (related to #281)
- On the first call, ParaView_DIR is unset and thus the clean-path
  fails with the warning "ParaView_DIR: Undefined variable."

  This looks messy, but is of no _major_ consequence since paraview
  doesn't need to be removed anyhow. The only slight risk is that the
  path to a third-party cmake might not be cleaned.

- Patch as per Bruno's suggestion.
2016-10-31 07:00:57 +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 CONFIG: csh not unsetting old paraview/cmake environment (related to #281) 2016-10-31 07:00:57 +01:00
config.sh MRG: Resolve conflict with latest foundation merge 2016-10-26 15:37:15 +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 BUG: etc/bashrc incorrect behaviour if sourced locally (issue #280) 2016-10-28 16:48:30 +02:00
cellModels DEFEATURE: remove samm, pro-am, prostar3 convertors (issue #204) 2016-08-05 11:05:30 +02:00
controlDict GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01: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