OpenFOAM-5.x/etc
Henry Weller 7bdbab7f4e Rationalize the "pos" function
"pos" now returns 1 if the argument is greater than 0, otherwise it returns 0.
This is consistent with the common mathematical definition of the "pos" function:

https://en.wikipedia.org/wiki/Sign_(mathematics)

However the previous implementation in which 1 was also returned for a 0
argument is useful in many situations so the "pos0" has been added which returns
1 if the argument is greater or equal to 0.  Additionally the "neg0" has been
added which returns 1 if if the argument is less than or equal to 0.
2017-06-22 14:32:18 +01:00
..
caseDicts postProcessing: reverted isosurface function to use isoSurface algorithm 2017-05-19 15:20:08 +01:00
codeTemplates Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
config.csh Upgraded to OpenMPI-2.0.2 2017-03-10 17:08:16 +00:00
config.sh Bash [TAB] completion: enabled for new -list* options 2017-06-13 19:02:35 +01:00
templates compressibleInflowOutflow template case: added missing wallDist in fvSchemes 2017-06-04 12:33:22 +01:00
thermoData thermophysicalModels: Changed specie thermodynamics from mole to mass basis 2017-02-17 11:22:14 +00:00
bashrc Added Bash [TAB] completion to all OpenFOAM applications 2017-05-14 10:53:27 +01:00
cellModels Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
controlDict doxyDocDirs: Added support for HTTP servers 2017-05-15 15:33:51 +01:00
cshrc etc/bashrc,cshrc: Added FJMPI and INTELMPI 2016-12-01 19:53:08 +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