openfoam/modules
2020-06-08 15:57:04 +02:00
..
adios@da20135092 SUBMODULE: update modules prefix handling (see #1721) 2020-06-08 15:57:04 +02:00
avalanche@f6d700cefc REL: Release preparations 2019-12-23 09:49:23 +00:00
cfmesh@1cd4051299 SUBMODULE: update modules prefix handling (see #1721) 2020-06-08 15:57:04 +02:00
doc STYLE: regularize quoting and exit on failed 'cd' 2019-11-13 13:19:16 +01:00
external-solver@06a957b95a SUBMODULE: added external-solver PETSc submodule 2020-06-08 15:57:03 +02:00
OpenQBMM@5205c3db31 SUBMODULE: update modules prefix handling (see #1721) 2020-06-08 15:57:04 +02:00
visualization@07cd1156fa SUBMODULE: update modules prefix handling (see #1721) 2020-06-08 15:57:04 +02:00
README.md DOC: update build and config information 2019-06-24 18:42:39 +02:00

OpenFOAM Modules

This directory is a location for additional OpenFOAM components or tools to placed and have them built as part of the normal OpenFOAM build process. It is assumed that each subdirectory contain an appropriate Allwmake file, and that they in all likelihood also build into $FOAM_APPBIN and $FOAM_LIBBIN instead of $FOAM_USER_APPBIN and $FOAM_USER_LIBBIN.

These additional components may be added as git submodules, by script or by hand.

git

On the first use, it will be necessary to register the submodules:

git submodule init

This will clone the relevant submodules from their respective repositories.

The following will indicate the current state:

git submodule status

On the first use, or after merging upstream changes in the OpenFOAM repository, it will be necessary to update the submodules:

git submodule update

A quick overview of git submodule can be in this blog with full details in the manpage.

An easy way to see which submodules are actually in use:

cat .gitmodules

Which will reveal content resembling the following:

[submodule "catalyst"]
    path = modules/catalyst
    url = https://develop.openfoam.com/Community/catalyst.git
[submodule "cfmesh"]
    path = modules/cfmesh
    url = https://develop.openfoam.com/Community/integration-cfmesh.git

doxygen

To build the doxygen information for the components, it is also necessary to link the directories to the doc/ subdirectory. This is a purely manual operation.