openfoam/etc
Mark Olesen 2d7c266d37 STYLE: formatting in makefiles, config files
- fix typo in makefiles/info that affected wmake -show-compile-c

- additional safeguard in src/OpenFOAM/Make/options against self-linking.
  This is not normally required unless PROJECT_LIBS has been added into
  the link stage.
2019-04-16 12:39:25 +02:00
..
caseDicts ENH: residuals: change FO name. See #1203 2019-04-15 10:01:35 +01:00
codeTemplates BOT: Cleaned up header files 2019-02-06 12:28:23 +00:00
config.csh STYLE: formatting in makefiles, config files 2019-04-16 12:39:25 +02:00
config.sh STYLE: formatting in makefiles, config files 2019-04-16 12:39:25 +02:00
templates ENH: add directory support for foamCleanTutorials 2019-02-23 19:59:04 +01:00
thermoData thermophysicalModels: Changed specie thermodynamics from mole to mass basis 2017-02-17 11:22:14 +00:00
bashrc COMP: add wmake rules for Pgi compiler (#1234) 2019-03-11 15:56:40 +01:00
cellModels STYLE: Updating version to v1812 2018-12-19 18:07:52 +00:00
controlDict ENH: allow space char in fileName is now configurable (#1008) 2019-04-01 16:40:22 +02:00
cshrc COMP: add wmake rules for Pgi compiler (#1234) 2019-03-11 15:56:40 +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