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

[blockMesh] blockMesh: symbol lookup error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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, 00:58
Default
  #2
Senior Member
 
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13
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, 19:04
Default
  #3
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22
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
Senior Member
 
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13
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: Leuven, Belgium
Posts: 299
Rep Power: 22
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
Senior Member
 
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13
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, 43 views)
__________________
Regards,

Srivaths
Sherlock_1812 is offline   Reply With Quote

Old   September 21, 2018, 10:18
Default blockMesh: symbol lookup error.
  #7
New Member
 
Sunil
Join Date: Aug 2016
Posts: 7
Rep Power: 9
sunilkonatham is on a distinguished road
Hi Srivathsan,
This is 5 years back, but I'm facing same issue now.
Same is the case with me, I have created my own boundary condition in finite volume directory and compiled it with wmake, when I run any command like blockMesh or icoFoam or any other solver it is showing me same error, is your issue solved back then? Can you please share your experience?

Thanks,
Sunil.
sunilkonatham is offline   Reply With Quote

Reply


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
Caffa 3D code Waliur Rahman Main CFD Forum 0 May 29, 2018 00:53
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 09:40
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 20:30
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31


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