openfoam/etc
Mark Olesen b0fafd18fe STYLE: reorganize some legacy and less frequently used components
- older emacs tools into legacy
- old process tools

* Less frequently used scripts into bin/tools/

  - findEmptyMake
  - foamAllHC
  - foamUpdateCaseFileHeader

* Infrastructure file (only used by foamNewApp)

  - wmake/wmakeFilesAndOptions -> wmake/scripts/wmakeFilesAndOptions

* Merge wmakeRoot convenience as 'wmake -pwd'
* Remove obsolete wmakePrintBuild (superseded by wmakeBuildInfo)
* Remove unused mergeHistory file
2019-01-26 11:30:50 +01:00
..
caseDicts STYLE: documentation/comment typo 2019-01-02 16:16:45 +01:00
codeTemplates STYLE: reorganize some legacy and less frequently used components 2019-01-26 11:30:50 +01:00
config.csh DEFEATURE: remove wmakeScheduler (issue #1178) 2019-01-23 12:43:41 +01:00
config.sh DEFEATURE: remove wmakeScheduler (issue #1178) 2019-01-23 12:43:41 +01:00
templates STYLE: clarify input requirements for extrusion models (#1181) 2019-01-24 09:40:12 +01:00
thermoData thermophysicalModels: Changed specie thermodynamics from mole to mass basis 2017-02-17 11:22:14 +00:00
bashrc CONFIG: combine wmake rules for KNL architecture as a compile option 2019-01-25 17:39:05 +01:00
cellModels STYLE: Updating version to v1812 2018-12-19 18:07:52 +00:00
controlDict STYLE: clarify input requirements for extrusion models (#1181) 2019-01-24 09:40:12 +01:00
cshrc CONFIG: combine wmake rules for KNL architecture as a compile option 2019-01-25 17:39:05 +01:00
README.md CONFIG: drop config support for deprecated ensight reader library 2019-01-17 10:53:44 +01:00

OpenFOAM Configuration

The main OpenFOAM settings are located in the parent etc/ directory. Both POSIX (bash, dash,...) and csh shells are supported. To configure OpenFOAM, source either the etc/bashrc or the etc/cshrc file, as appropriate for your shell.

These source the following files in the config.sh/ or config.csh/ directories:

  • setup : finalize setup of OpenFOAM environment (called by bashrc,cshrc)
  • settings : core settings
  • aliases : aliases for interactive shells
  • unset : sourced to clear as many OpenFOAM environment settings as possible
  • mpi : MPI communications library settings
  • paraview : application settings for ParaView
  • scotch : application settings for compiling against scotch
  • metis : application settings for compiling against metis

The config.*/example directories contain additional 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