|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Stefanie
Join Date: Oct 2014
Posts: 7
Rep Power: 12 ![]() |
Hi everyone,
I need to link object files into mySprayFoam. There is a whole set of object that are all related. Here's the story: it more or less a standalone programm, written in C++, that I want to incorporate in my OpenFoam-solver. I have all the .cc the .h and .o files. My plan was to compile the .cc and .h files into .o files and then link them when compiling my solver. Now.... HOW do I do that? I tried to simply include them in Make/options , but that didn't work out too well... Can anybody help? PLEASE! Or do I have the wrong approach and this isn't even possible in OpenFoam? Do I need to link the .o 's into a .so library and then include in the Make/options - file Cheers, Stef |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Member
|
Hi Stef
What do you mean by standalone? You wanna make an exe file? Why not using the wmake tool compile your files and the solver? it would be easier. I don't know if you need it, but in case : Quote:
__________________
------------------------------------------------------- Gregoire Junqua Ocean University of China PhD Oceanography/ABL turbulence ------------------------------------------------------- |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
wmake compiling new solver | mksca | OpenFOAM Programming & Development | 14 | June 22, 2018 07:29 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |