IWT OpenFOAM FunctionObjects Library
- Create a new folder with a clear name describing what your functionObject does.
- Edit the Make/files file adding your .C file to be compiled in the list.
- Edit the Make/options file adding any libraries necessary for your new functionObject. Make sure all the libraries you add are absolutely necessary!
- Edit Allwmake adding symbolic links for your .C and .H files to lnInclude.
- Run Allwmake to check your and all preexisting functionObjects compile without errors.
- Run Allwclean to remove the compiled binaries and the lnInclude folder.
- Submit your changes in a new branch in the repository and create a pull request to be included in the next main branch's next release.
- OpenFOAM v6 installed
- OpenFOAM v6 sourced in the currently open shell
git clone https://github.com/Leibniz-IWT/IWT-FunctionObjects.git
or
- Manually download and extract the release zip archive
cd IWT-FunctionObjects
./Allwmake