Skip to content

Installation

Jibran edited this page Feb 12, 2021 · 3 revisions

The toolkit is programmed using C++ and implemented within the object oriented environment of OpenFOAM code. The major releases of the cell-centred toolkit are compatible with OpenFOAM Foundation releases (v6, v5, v4) and are listed as follows:

Currently the cell-centred repository is only compatible with the latest OpenFOAM Foundation release (v7). The vertex-centred toolkit supports OpenFOAM Foundation releases (v7, v6, v5, v4). Note that both toolkits can easily be adapted to previous versions of OpenFOAM.

Once OpenFOAM is downloaded, it is recommended to check that the sample tutorials (provided with the release) work as expected. Prior knowledge of basics of OpenFOAM is recommended, however, it is not mandatory. If someone is interested to learn OpenFOAM then this blog post might be a good starting point.

The cell-centred toolkit can be obtained by cloning the existing repository.

git clone https://github.com/jibranhaider/explicitSolidDynamics

For vertex-centred alternative use the following.

git clone https://github.com/jibranhaider/explicitSolidDynamics_vc

Both codes can then be compiled by using the Allwmake script inside the cloned directory.

./Allwmake
Clone this wiki locally