CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Compiling library and linking it to a solver

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By criolla

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2016, 10:15
Default Compiling library and linking it to a solver
  #1
New Member
 
yagmur
Join Date: Apr 2012
Posts: 7
Rep Power: 14
criolla is on a distinguished road
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
criolla is offline   Reply With Quote

Old   July 24, 2016, 14:48
Default
  #2
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 17
T.D. is on a distinguished road
Hi criolla,

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

Regards,
T.D. is offline   Reply With Quote

Old   July 27, 2016, 04:13
Default
  #3
New Member
 
yagmur
Join Date: Apr 2012
Posts: 7
Rep Power: 14
criolla is on a distinguished road
Quote:
Originally Posted by T.D. View Post
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
xywworld likes this.
criolla is offline   Reply With Quote

Reply

Tags
openfoam, sprayfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 13:17.