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

Symbol lookup error: simpleFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2017, 09:49
Default Symbol lookup error: simpleFoam
  #1
Member
 
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 5
vcvedant is an unknown quantity at this point
After using wmake for a user defined turbulence model named myLaunderSharmaKE, I receive the following error when I try to run 'simpleFoam'.
Code:
simpleFoam: symbol lookup error: /storage/home/vjc5126/OpenFOAM/vjc5126-2.3.x/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so: undefined symbol: _ZTIN4Foam14incompressible8RASModelE
The Make/files
Code:
myLaunderSharmaKE.C
LIB = $(FOAM_USER_LIBBIN)/libincompressibleRASModels
and Make/options
Code:
EXE_INC = \
    -I$(LIB_SRC)/turbulenceModels/ \
    -I$(LIB_SRC)/turbulenceModels/incompressible/RAS/lnInclude \
    -I$(LIB_SRC)/turbulenceModels/incompressible/lnInclude \
    -I$(LIB_SRC)/transportModels \
    -I$(LIB_SRC)/tranportModels/incompressible/lnInclude \
    -I$(LIB_SRC)/finiteVolume/lnInclude \
    -I$(LIB_SRC)/meshTools/lnInclude

LIB_LIBS = \
    -L$(FOAM_USER_LIBBIN)\
    -lincompressibleTurbulenceModel \
    -lincompressibleRASModels \
    -lfiniteVolume \
    -lmeshTools
Please help me resolve this issue. I have not encountered any solutions on the forum yet.
vcvedant is offline   Reply With Quote

Old   August 10, 2017, 13:59
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,922
Rep Power: 35
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Did you try calling your library libmyincompressibleRASModels and loading it in controlDict? Now it looks like conflict between OpenFOAM's libincompressibleRASModels and your new libincompressibleRASModels.
alexeym is offline   Reply With Quote

Old   August 10, 2017, 16:18
Default
  #3
Member
 
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 5
vcvedant is an unknown quantity at this point
I tried calling it in controlDict but got the same error.
So, I just removed all the references to compressible/incompressible solvers from USER_BIN and now my simpleFoam works. I think there was a conflict in calling the library as you mentioned.

Thanks
vcvedant is offline   Reply With Quote

Old   August 11, 2017, 03:45
Default
  #4
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 253
Rep Power: 17
floquation will become famous soon enough
Quote:
Originally Posted by vcvedant View Post
I tried calling it in controlDict but got the same error.
So, I just removed all the references to compressible/incompressible solvers from USER_BIN and now my simpleFoam works. I think there was a conflict in calling the library as you mentioned.

Thanks
Thank you for asking the same question in (at least) two different topics. A great way to waste people's times answering in one topic, to later see that you solved it in a different topic!
Addition of New Turbulence Models giviing errors
floquation is offline   Reply With Quote

Old   March 1, 2018, 19:20
Default
  #5
New Member
 
ESI
Join Date: Sep 2017
Posts: 24
Rep Power: 5
ht2017 is on a distinguished road
Quote:
Originally Posted by vcvedant View Post
I tried calling it in controlDict but got the same error.
So, I just removed all the references to compressible/incompressible solvers from USER_BIN and now my simpleFoam works. I think there was a conflict in calling the library as you mentioned.

Thanks
Hi you.
Now, I have the same error with you but I can't fix it. You can say clearly the way that you implement to fix it.
Thank you very much
ht2017 is offline   Reply With Quote

Old   August 18, 2019, 02:26
Default
  #6
New Member
 
xin
Join Date: Jun 2016
Posts: 9
Rep Power: 6
xinsui178 is on a distinguished road
Hi Could you explain more about the " removed all the references to compressible/incompressible solvers from USER_BIN" ?
xinsui178 is offline   Reply With Quote

Reply

Tags
runtime, simplefoam, solver, symbol lookup error, undefined

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DPMFoam - Serious Error --particle-laden flow in simple geometric config benz25 OpenFOAM Running, Solving & CFD 27 December 19, 2017 20:47
Symbol lookup error after upgrading to 2.1.1 ChrisA OpenFOAM Programming & Development 2 March 6, 2013 20:38
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 04:06
POSDAT problem piotka STAR-CD 4 June 12, 2009 08:43
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 18:48.