CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Compiling library and linking it to a solver (https://www.cfd-online.com/Forums/openfoam/175031-compiling-library-linking-solver.html)

criolla July 22, 2016 09:15

Compiling library and linking it to a solver
 
Hello everyone,
I would like ask about library compilation and linking the compiled library to the solver. I am working on sprayFoam. I tried to compile a new library, which adds a new phase change model as in the tutorial link below:

https://www.google.com.tr/url?sa=t&r...t1KUzQ&cad=rja


When I added this compiled library to solver, it was unsuccesful.
Secondly, I tried to link this library to sprayFoam solver as in the link:

https://www.google.com.tr/url?sa=t&r...27521224,d.bGg

But this was unsuccessful too.


Could you help me to solve the problem?
Thanks in advance

T.D. July 24, 2016 13:48

Hi criolla,

can you post your compilation error that you obtained, so that we can understand better ?

Regards,

criolla July 27, 2016 03:13

Quote:

Originally Posted by T.D. (Post 611116)
Hi criolla,

can you post your compilation error that you obtained, so that we can understand better ?

Regards,


To reply my question, I compiled each directory in lagrangian source code. And I added all compiled libraries in the controldict. Hence, the problem was solved.

Thanks for your attention


All times are GMT -4. The time now is 07:43.