Skip to content

Files

Latest commit

6a90c5e · May 14, 2021

History

History

etc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 14, 2021
Jan 31, 2020
Jun 24, 2020
Jul 17, 2020
May 14, 2021
Mar 5, 2018
Feb 10, 2016
Jul 21, 2020
Jul 21, 2020
Jul 21, 2020
Jul 21, 2020
Jul 21, 2020

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