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

pisoFoam: symbol lookup error:

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2015, 07:01
Default pisoFoam: symbol lookup error:
  #1
Member
 
Zhiyi Li
Join Date: Mar 2015
Location: Germany
Posts: 43
Rep Power: 11
comingdaytime is on a distinguished road
Hallo, Everyone,

Today when I am running the pisoFoam today, I have this Error:

Case : /home/itvzl/OpenFOAM/gen_new/generators08052013/channel_st
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p

Reading field U

pisoFoam: symbol lookup error: /home/itvzl/OpenFOAM/itvzl-2.1.x/platforms/linux64GccDPOpt/lib/libsyntheticTurbulencePoliMi.so: undefined symbol: _ZN4Foam20turbulentLengthScale3NewINS_12fvPatchFie ldINS_6VectorIdEEEEEEPS0_RKNS_10dictionaryERKNS_4T imeERKT_RKNS_4wordE

This libsyntheticTurbulencePoliMi.so library is not the openfoam selfcontained library. And I also have the library file libsyntheticTurbulencePoliMi.so in the user folder. But there is symbol look up error. Does anybody know what happened and how could I solve this problem?

Thank you very much

Best Regards

Litchy
comingdaytime is offline   Reply With Quote

Old   May 8, 2015, 07:17
Default
  #2
Member
 
Zhiyi Li
Join Date: Mar 2015
Location: Germany
Posts: 43
Rep Power: 11
comingdaytime is on a distinguished road
And I tried today with another case, the same library needed in the controlDict. Also the same solver, it is still the same problem. Symbol look up error.Is this because of the library's problem? For example, not compiling it correctly?
comingdaytime is offline   Reply With Quote

Old   June 3, 2015, 13:37
Default
  #3
New Member
 
Join Date: Apr 2014
Posts: 3
Rep Power: 12
Sim81 is on a distinguished road
I am having the same problem, no idea
Sim81 is offline   Reply With Quote

Old   June 4, 2015, 08:08
Default
  #4
Member
 
Zhiyi Li
Join Date: Mar 2015
Location: Germany
Posts: 43
Rep Power: 11
comingdaytime is on a distinguished road
Quote:
Originally Posted by Sim81 View Post
I am having the same problem, no idea
And the same look up error? Do you think it's because the problem of the library or the way we compile it ?
comingdaytime is offline   Reply With Quote

Old   June 4, 2015, 09:25
Default
  #5
New Member
 
Join Date: Apr 2014
Posts: 3
Rep Power: 12
Sim81 is on a distinguished road
Hi,

In my case I have found what the problem was. In the file make/files I did not include the correct *.C file. That means that the library is created but the *.C files are not linked correctly. Therefore, information is missing for the solver to run. May be in your case the file that contains

turbulentLengthScale3NewINS_12fvPatchFie

is not linkedcorrectly.

I hope this helps
Sim81 is offline   Reply With Quote

Old   June 5, 2015, 05:13
Default
  #6
Member
 
Zhiyi Li
Join Date: Mar 2015
Location: Germany
Posts: 43
Rep Power: 11
comingdaytime is on a distinguished road
Quote:
Originally Posted by Sim81 View Post
Hi,

In my case I have found what the problem was. In the file make/files I did not include the correct *.C file. That means that the library is created but the *.C files are not linked correctly. Therefore, information is missing for the solver to run. May be in your case the file that contains

turbulentLengthScale3NewINS_12fvPatchFie

is not linkedcorrectly.

I hope this helps
Hey,
Thank you first for your hint.

And I check my file in the Make folder:

syntheticTurbulence=syntheticTurbulence

$(syntheticTurbulence)/syntheticTurbulence/syntheticTurbulence.C
$(syntheticTurbulence)/syntheticTurbulence/generateSyntheticFluctuations.C

$(syntheticTurbulence)/turbulentLengthScale/uniform/uniformLengthScale.C
$(syntheticTurbulence)/turbulentLengthScale/generic/genericLengthScale.C
$(syntheticTurbulence)/turbulentLengthScale/kw/kwLengthScale.C
$(syntheticTurbulence)/turbulentLengthScale/turbulentLengthScale/turbulentLengthScale.C

$(syntheticTurbulence)/syntheticTurbulenceInletFvPatchField/syntheticTurbulenceInletFvPatchField.C

LIB = $(FOAM_USER_LIBBIN)/libsyntheticTurbulencePoliMi



It seems to be fine.

But there is one thing, every *.C file should be accompanied by a *.H file with the same name, right? I just found one *.C file with a *.H file in a different name in the 'syntheticTurbulence' folder. I don't know if this is the problem. I'll try on it.

Best Regards

Litchy
comingdaytime is offline   Reply With Quote

Old   July 2, 2015, 05:38
Default PisoFoam - Error report
  #7
New Member
 
Gizela
Join Date: May 2015
Posts: 11
Rep Power: 11
Gizazu is on a distinguished road
Hi. I finally got the simulation working but i have a litlle problems with definition of delta T and courant number which sometimes send back an error during the process. Could you help me with this doubt? What possibly I´m doing wrong?

Another question is that I´m doing a 3D simulation but i can only see Ux and Uz during the calculation. Is that normal?

Please, somebody help me!!!


Regards
Gizazu is offline   Reply With Quote

Old   July 2, 2015, 05:54
Default
  #8
Member
 
Zhiyi Li
Join Date: Mar 2015
Location: Germany
Posts: 43
Rep Power: 11
comingdaytime is on a distinguished road
Maybe your courant number is larger than one in some fine mesh region? I could see Ux, Uy, Uz, in my simulation. I'm also a beginner of this. Hope others could help you.

Good luck.
comingdaytime is offline   Reply With Quote

Reply

Tags
library, openfoam 2.1.x, symbol

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
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 20:30
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 04:06
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44


All times are GMT -4. The time now is 17:06.