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

OpenFoam model compilation error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2011, 07:41
Default OpenFoam model compilation error
  #1
New Member
 
Dominic
Join Date: Jan 2011
Location: Leeds, UK
Posts: 25
Rep Power: 15
351Cleveland is on a distinguished road
Hello fellow Foamers.

I am relatively new to OpenFoam, having gone through the training, and have moved onto attempting to develop a new turbulence model file for use with SIMPLE/PISO foam based on the E-Yliquid model.

I have managed to compile the model successfully, making changes to the backwardsCompatibilityWallFunctions files to include the new autoCreate terms, but when attempting to use the new model in a test simulation, I come up with the following error:

mysimpleFoam: symbol lookup error: <home>/lib/linux64Gcc44DPOpt/libuserRAS.so: undefined symbol: _ZN4Foam14incompressible14autoCreateYliqERKNS_4wor dERKNS_6fvMeshE


I'm pretty sure this means that something is registering an out-of-date library somewhere as I used to have a 'not specified' error when compiling the model, but that was solved. But for the life of me, i can't seem to fix this problem.
Does anyone have any ideas where the problem lies?

Much obliged.
Dom.
351Cleveland is offline   Reply With Quote

Old   January 24, 2011, 06:43
Default
  #2
New Member
 
Dominic
Join Date: Jan 2011
Location: Leeds, UK
Posts: 25
Rep Power: 15
351Cleveland is on a distinguished road
Seems I may have found a way around it, but would just like it confirmed if at all possible.

I have replaced the new autoCreate functions in my .C files with the already existing ones. Since the functions, for k, omega, epsilon, etc, all appear to be generic and the only difference is the referencing of their specific boundary conditions files; if my new function only uses uniform values/ zeroGradient as its boundary conditions; does this replacement mean that the function will run?

Much obliged.
Dominic.
351Cleveland is offline   Reply With Quote

Reply


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
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 10:30
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31


All times are GMT -4. The time now is 16:09.