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

how to add an external library to openFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By zhangyan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2018, 10:57
Default how to add an external library to openFOAM
  #1
New Member
 
Join Date: Apr 2018
Posts: 1
Rep Power: 0
snb1994 is on a distinguished road
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?
snb1994 is offline   Reply With Quote

Old   October 31, 2018, 21:23
Default
  #2
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12
zhangyan is on a distinguished road
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
joshwilliams likes this.
zhangyan is offline   Reply With Quote

Reply

Tags
level set, library


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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
Where/How to add a shared library (.so) to wmake? klausb OpenFOAM Programming & Development 0 October 4, 2017 18:27
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
How to add external time varying force achyutan OpenFOAM Running, Solving & CFD 0 January 8, 2014 08:57
including third party GPU library in OpenFOAM spelai OpenFOAM Programming & Development 3 November 2, 2012 06:06


All times are GMT -4. The time now is 08:06.