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

[blockMesh] blockMesh not working in Foam Extend 4.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2020, 10:16
Default blockMesh not working in Foam Extend 4.0
  #1
New Member
 
Siddhesh Patil
Join Date: Feb 2020
Posts: 6
Rep Power: 6
siddhesh is on a distinguished road
Hello,
i am a beginner and started learning OpenFoam and Foam Extend recently. 1st i have installed Openfoam then Foam Extend using them simultaneously with the help of alias. When i started doing the mesh in Foam Extend starting with fe40 "blockmesh" was not running and if take another terminal window and start without any alias it works fine . but problem comes when i use solver in after blockMesh it doesnt work after that.

I got this error:
"blockMesh: symbol lookup error: /home/sid/foam/foam-extend-4.0/lib/linux64GccDPOpt/liblagrangian.so: undefined symbol: _ZNK4Foam14objectRegistry14mangleFileNameERKNS_8fi leNameE"

Please help.

OS: Ubuntu
Tutorial : PlateHole
Solver : Foam Extend
siddhesh is offline   Reply With Quote

Old   April 3, 2020, 04:15
Default
  #2
Member
 
Bram Kerkhofs1
Join Date: Oct 2016
Posts: 30
Rep Power: 10
brammekeuh987 is on a distinguished road
Hi Siddhesh

What have you tried already?

So this problem looks like it has to do with the installation of the program. Or the compilation of the second version you are running. I have no experience with OF Extend. My guess is that OF-extend looks at the wrong library (.so-file).

Have you looked at this : blockMesh: symbol lookup error
brammekeuh987 is offline   Reply With Quote

Old   April 4, 2020, 05:04
Default
  #3
New Member
 
Siddhesh Patil
Join Date: Feb 2020
Posts: 6
Rep Power: 6
siddhesh is on a distinguished road
Thanks for replying, In that thread they suggested to do this but i didnt understand can you explain.?


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.
siddhesh is offline   Reply With Quote

Old   April 8, 2020, 06:47
Default
  #4
Member
 
Bram Kerkhofs1
Join Date: Oct 2016
Posts: 30
Rep Power: 10
brammekeuh987 is on a distinguished road
Hi Siddhesh

Yes, you need to add a library.
Rougly speaking:
When you compile OpenFOAM, all it does is generate libraries that can be used by the applications. These applications refer to the library. If you want to know which libraries are being used, you can check in the source code and look for the ".H" files in the beginning of the file.

So because you use OF-extended, which is loaded over your installation of OpenFOAM, it probably uses different libraries than the standard OpenFOAM installation, and therefore you need to refer to these new libraries by adding the additional code in the control dict file. For more detailed and correct information you can check this http://www.openfoam.org/docs/user/co...plications.php
brammekeuh987 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
[Salome] Salome import "Cannot find file "points" in directory..." mismichael OpenFOAM Meshing & Mesh Conversion 6 June 24, 2024 04:17
Using createPatch and cyclicAMI in FOAM Extend to create periodicbox manuc OpenFOAM Running, Solving & CFD 1 April 12, 2022 12:36
NO Moving Probes for Moving Mesh in Foam Extend 4.0 alia OpenFOAM Running, Solving & CFD 6 June 25, 2018 10:24
[foam-extend.org] Foam Extend 4.0 on MAC simone.rowing OpenFOAM Installation 1 July 2, 2017 16:23
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56


All times are GMT -4. The time now is 22:02.