|
[Sponsors] |
Proper Referencing of Custom Libraries in Options File |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 31, 2013, 12:10 |
Proper Referencing of Custom Libraries in Options File
|
#1 |
Member
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
Hi all,
I'm trying to build an incompressible form of the firefoam solver, to do this i've edited the combustion model I want to use and compiled it as a new library. I'm trying to compile my edited version of the firefoam solver and I'm not sure if i'm referencing the library properly. The way I'm doing it at the moment is: Code:
EXE_LIBS = \ -L$(FOAM_USER_LIBBIN)/customcombustionModels \ -lincompressibleTransportModels \ -lincompressibleTurbulenceModel \ -lincompressibleRASModels \ -lincompressibleLESModels \ |
|
March 31, 2013, 19:31 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hi Cameron,
No, I think you will be running into troubles in this way. I have successfully been using the following format previously with the original libraries first and then your custom libraries: Code:
LIBS = \ -lincompressibleTransportModels \ -lincompressibleTurbulenceModel \ -lincompressibleRASModels \ -lincompressibleLESModels \ -L$(FOAM_USER_LIBBIN) \ -lcustomcombustionModels Kind regards, Niels |
|
March 31, 2013, 20:37 |
|
#3 |
Member
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
Thanks a lot, that got it sorted.
|
|
Tags |
compiling, firefoam, incompressible, libraries |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |