OpenFOAM-4.x/etc
Henry Weller 91aba2db2e functionObjects: rewritten to all be derived from 'functionObject'
- Avoids the need for the 'OutputFilterFunctionObject' wrapper
  - Time-control for execution and writing is now provided by the
    'timeControlFunctionObject' which instantiates the processing
    'functionObject' and controls its operation.
  - Alternative time-control functionObjects can now be written and
    selected at run-time without the need to compile wrapped version of
    EVERY existing functionObject which would have been required in the
    old structure.
  - The separation of 'execute' and 'write' functions is now formalized in the
    'functionObject' base-class and all derived classes implement the
    two functions.
  - Unnecessary implementations of functions with appropriate defaults
    in the 'functionObject' base-class have been removed reducing
    clutter and simplifying implementation of new functionObjects.
  - The 'coded' 'functionObject' has also been updated, simplified and tested.
  - Further simplification is now possible by creating some general
    intermediate classes derived from 'functionObject'.
2016-05-15 16:40:01 +01:00
..
caseDicts Standardized the naming of functions which control the writing of fields etc. 2016-05-12 17:38:01 +01:00
codeTemplates functionObjects: rewritten to all be derived from 'functionObject' 2016-05-15 16:40:01 +01:00
config.csh etc/config.*/settings: Remove unnecessary $WM_COMPILE_OPTION from $FOAM_EXT_LIBBIN 2016-05-11 14:37:07 +01:00
config.sh etc/config.sh/metis: Added $WM_PRECISION_OPTION to support SP 2016-05-11 14:39:28 +01:00
templates Standardized the naming of functions which control the writing of fields etc. 2016-05-12 17:38:01 +01:00
thermoData Corrected names of compounds in thermoData to use upper/lower 2015-08-08 17:51:47 +01:00
bashrc etc/config.*/unset: Updated for changes in foamOldDirs 2016-05-05 23:37:33 +01:00
cellModels Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
controlDict GeometricField: Rationalized and simplified access to the dimensioned internal field 2016-04-27 21:32:45 +01:00
cshrc etc/cshrc: Removed continuation lines from $foamOldDirs 2016-05-05 23:36:35 +01: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