|
[Sponsors] |
August 10, 2017, 10:49 |
Symbol lookup error: simpleFoam
|
#1 |
Member
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 9 |
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 Code:
myLaunderSharmaKE.C LIB = $(FOAM_USER_LIBBIN)/libincompressibleRASModels 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 |
|
August 10, 2017, 14:59 |
|
#2 |
Senior Member
|
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. |
|
August 10, 2017, 17:18 |
|
#3 |
Member
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 9 |
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 |
|
August 11, 2017, 04:45 |
|
#4 | |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
Quote:
Addition of New Turbulence Models giviing errors |
||
March 1, 2018, 20:20 |
|
#5 | |
Member
ESI
Join Date: Sep 2017
Posts: 49
Rep Power: 9 |
Quote:
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 |
||
August 18, 2019, 03:26 |
|
#6 |
New Member
xin
Join Date: Jun 2016
Posts: 9
Rep Power: 10 |
Hi Could you explain more about the " removed all the references to compressible/incompressible solvers from USER_BIN" ?
|
|
Tags |
runtime, simplefoam, solver, symbol lookup error, undefined |
|
|
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 21:47 |
Symbol lookup error after upgrading to 2.1.1 | ChrisA | OpenFOAM Programming & Development | 2 | March 6, 2013 21:38 |
using METIS functions in fortran | dokeun | Main CFD Forum | 7 | January 29, 2013 05:06 |
POSDAT problem | piotka | STAR-CD | 4 | June 12, 2009 09:43 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |