|
[Sponsors] |
July 22, 2016, 10:15 |
Compiling library and linking it to a solver
|
#1 |
New Member
yagmur
Join Date: Apr 2012
Posts: 7
Rep Power: 14 |
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 |
|
July 24, 2016, 14:48 |
|
#2 |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 17 |
Hi criolla,
can you post your compilation error that you obtained, so that we can understand better ? Regards, |
|
July 27, 2016, 04:13 |
|
#3 | |
New Member
yagmur
Join Date: Apr 2012
Posts: 7
Rep Power: 14 |
Quote:
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 |
||
Tags |
openfoam, sprayfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solver linking error: undefined reference to`Foam::XxFvPatchField<double>::typeName | zhulianhua | OpenFOAM Programming & Development | 6 | March 22, 2019 01:03 |
problem loading UDF library in parallel cluster | Veera Gutti | FLUENT | 8 | July 26, 2016 08:24 |
Different errors when linking custom library via solver vs controlDict | chrisb2244 | OpenFOAM Programming & Development | 0 | February 21, 2014 04:12 |
Linking problems dynamic library | Van de Leur | OpenFOAM Programming & Development | 17 | August 2, 2012 11:52 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 16:49 |