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

OpenFoam model compilation error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 6
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: 6
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Native ParaView Reader Bugs tj22 OpenFOAM Paraview & paraFoam 266 July 1, 2015 02:00
groovyBC sega OpenFOAM Running, Solving & CFD 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:23.