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

blockMesh: symbol lookup error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 6, 2011, 07:42
Default blockMesh: symbol lookup error
  #1
New Member
 
Vadims Geza
Join Date: Apr 2010
Location: Latvia
Posts: 9
Rep Power: 6
Vadims.geza is on a distinguished road
Hello OF users!

I have problem, after new installation of OF 171, blockmesh would not run saying:

blockMesh: symbol lookup error: /home/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libfiniteVolume.so: undefined symbol: _ZTIN4Foam16regionPropertiesE

the same error running splitMeshRegions, maybe for some other applications as well. Does anybody have any idea?

Thanks in advance!
Vadims.geza is offline   Reply With Quote

Old   November 1, 2013, 01:58
Default
  #2
Member
 
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 90
Rep Power: 3
Sherlock_1812 is on a distinguished road
Hi,

I know this is an old post but I am also getting a similar error. I have just compiled a BC without errors and now when i run blockMesh with that boundary condition in place i get:

blockMesh: symbol lookup error: /home/srivathsan/OpenFOAM/srivathsan-2.1.1/platforms/linuxGccDPOpt/lib/libfiniteVolume.so: undefined symbol: _ZTIN4Foam35newDirectionMixedFvPatchVectorFieldE

Were you able to correct the error? What is the problem here?
__________________
Regards,

Srivaths
Sherlock_1812 is offline   Reply With Quote

Old   November 1, 2013, 20:04
Default
  #3
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 294
Rep Power: 11
Lieven will become famous soon enough
If I'm not mistaking, you get this error when you don't include the library in the controlDict-file. So adding something like:
Code:
libs 
( 
        "libnew1.so" 
        "libnew2.so" 
);
to the controlDict-file should solve the problem.

You can find more info at http://www.openfoam.org/docs/user/co...plications.php

Cheers,

Lieven
Lieven is offline   Reply With Quote

Old   November 4, 2013, 00:30
Default
  #4
Member
 
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 90
Rep Power: 3
Sherlock_1812 is on a distinguished road
Hi Lieven,

Thank you. I understand what you've written.

I wrote my BC as a derived boundary condition and compiled it in finiteVolume/fields/fvPatchFields/derived/myNewBC (this is in FOAM_USER src directory). I made the necessary additions to the 'Make' folder in the finite volume directory and gave a wmake. Shouldn't this be enough?

I've added libfiniteVolume.so to the controlDict of my case file too, but I get the same error. I'm missing some vital point w.r.to linking libraries. Can't figure out what.
__________________
Regards,

Srivaths
Sherlock_1812 is offline   Reply With Quote

Old   November 6, 2013, 05:48
Default
  #5
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 294
Rep Power: 11
Lieven will become famous soon enough
Hi Sherlock,

Have you solved the problem.
What do you mean exactly by 'finite volume directory'?
Could you post your options-file from the Make folder?

Cheers,

Lieven
Lieven is offline   Reply With Quote

Old   November 6, 2013, 06:26
Default
  #6
Member
 
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 90
Rep Power: 3
Sherlock_1812 is on a distinguished road
Hi Lieven,

I've attached my options file. I am not sure what to add in the EXE_INC and EXE_LIBS. The boundary condition is named 'newDirectionMixed' and is present in my solver directory.

Can you spot where I've gone wrong?

Thanks.
Attached Files
File Type: txt options.txt (462 Bytes, 7 views)
__________________
Regards,

Srivaths
Sherlock_1812 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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
error while running paraFoam! padmanathan OpenFOAM 9 October 13, 2009 05:17
attach/detach (valve opening/closing) phsieh2005 OpenFOAM Running, Solving & CFD 2 March 21, 2009 06:18
Installation of Netgen in SuSE Linux 92 edvardsenpriv Open Source Meshers: Gmsh, Netgen, CGNS, ... 23 January 16, 2009 06:12
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 00:29.