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

Modified interFoam compilation fails

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By voingiappone

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 12, 2012, 02:03
Default Modified interFoam compilation fails (SOLVED)
  #1
Member
 
Luca Giannelli
Join Date: Jun 2010
Location: Kobe, Japan
Posts: 58
Rep Power: 15
voingiappone is on a distinguished road
Howdy!

I have been looking for a solution for a mixing time determination problem in the postprocessing section and I have been introduced for the first time to the modification of OpenFOAM solvers. That created another bigger problem I don't seem to be able to solve.

Despite the addition of temperature in the simpleFoam worked as expected, I cannot compile the interFoam solver.... even before making any modification! The error I get is:

Code:
Make/linux64GccDPOpt/tracer_interFoam.o: In function `main':
tracer_interFoam.C:(.text.startup+0xe8c): undefined reference to `Foam::incompressible::turbulenceModel::New(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&)'
collect2: ld returned 1 exit status
make: *** [/home/piota/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/tracer_interFoam] Error 1
I desperately searched inside the source to find something to solve the problem and I ended up identifying (probably) the .H file which causes trouble. I found that the references are in the turbulenceModel.H file which includes the volFieldsFwd.H file that defines fvPatchField and fvsPatchField.

I tried with my 0 (zero) knowledge to comment out the definitions of functions and run wmake again but it was obviously complaining that no definition of the variables was done.

Is there anybody who has an idea why the "out of the box" compiling of interFoam fails miserably like this??

Thank you in advance

Last edited by voingiappone; December 12, 2012 at 21:29. Reason: problem solved
voingiappone is offline   Reply With Quote

 

Tags
compilation error, interfoam, turbulence model


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
Pipe Junction with interFoam Pressure Bounday Fails mgdenno OpenFOAM 8 April 5, 2013 09:39
Error with modified interFoam solver robertmaier9 OpenFOAM 3 September 30, 2011 06:26
Compilation fails on Linuxx86 agrahn OpenFOAM Bugs 21 August 31, 2007 04:10
Modified boundaries for InterFoam kumar2 OpenFOAM Running, Solving & CFD 5 August 16, 2007 03:27
Compilation fails on suse linux 101 su_junwei OpenFOAM Bugs 2 July 20, 2007 04:56


All times are GMT -4. The time now is 05:24.