CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] blockMesh not working in Foam Extend 4.0 (https://www.cfd-online.com/Forums/openfoam-meshing/225551-blockmesh-not-working-foam-extend-4-0-a.html)

siddhesh March 31, 2020 09:16

blockMesh not working in Foam Extend 4.0
 
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

brammekeuh987 April 3, 2020 03:15

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 : https://www.cfd-online.com/Forums/op...kup-error.html

siddhesh April 4, 2020 04:04

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.

brammekeuh987 April 8, 2020 05:47

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


All times are GMT -4. The time now is 13:10.