CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   how to add an external library to openFOAM (https://www.cfd-online.com/Forums/openfoam-programming-development/210633-how-add-external-library-openfoam.html)

snb1994 October 31, 2018 09:57

how to add an external library to openFOAM
 
hello there



I'm new to openFOAM and I try to use a mathematical library solving level set equation.Is there any way to add an external library (*.a file) to an openFOAM project?

zhangyan October 31, 2018 20:23

Example:
Code:

options

EXE_INC = \
    -I/public/home/yao1/packages_ZY/cantera-master/cantera_build/include

EXE_LIBS = \   
    /public/home/yao1/packages_ZY/cantera-master/cantera_build/lib/libcantera.a



All times are GMT -4. The time now is 10:35.