CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] openfoam 2.2.x - mesquite 2.3.0 (https://www.cfd-online.com/Forums/openfoam-installation/118639-openfoam-2-2-x-mesquite-2-3-0-a.html)

joegi.geo May 31, 2013 09:40

openfoam 2.2.x - mesquite 2.3.0
 
Hi,

I compiled mesquite 2.3.0 with openfoam 2.2x and dynamicTopoFvMesh-port2.2.x. Everything compiles fine, but when I try to tun a case I am getting this error

Code:


Selecting motion solver: mesquiteMotionSolver
--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : /home/joegi/OpenFOAM/joegi-2.2.x/platforms/linux64GccDPOpt/lib/libmesquiteMotionSolver.so: undefined symbol: _ZTVN9Mesquite217LaplacianSmootherE
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libmesquiteMotionSolver.so"
--> FOAM Warning :
    From function dlLibraryTable::open(const dictionary&, const word&, const TablePtr&)
    in file /home/joegi/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/dlLibraryTableTemplates.C at line 67
    Could not open library "libmesquiteMotionSolver.so"



--> FOAM FATAL ERROR:
Unknown solver type mesquiteMotionSolver

Valid solver types are:

7
(
displacementComponentLaplacian
displacementInterpolation
displacementLaplacian
displacementLayeredMotion
displacementSBRStress
velocityComponentLaplacian
velocityLaplacian
)


    From function motionSolver::New(const polyMesh&)
    in file motionSolver/motionSolver/motionSolver.C at line 129.

FOAM exiting



Any clue what could be the problem?. Btw I get the same error with mesquite 2.2.0. I am using a case that works fine with openfoam 2.1.x and mesquite 2.2.0.



xucloud77 August 21, 2013 08:07

I have seen the same problem. But when I copy the content under the folder mesquit lib (libmesquiteMotionSolver.so) to OpenFOAM lib folder, the problem disappeared.

olivier_au_chili November 24, 2013 12:46

Hi Foamers:

I have also been some difficulties for compiling mesquite-2.3.0 and dynamicTopoFvMesh with OpenFoam-2.2.x. I followed the Install.txt of Sandeep but it is necessary to copy:

libmesquite.so and libmesquite.so.0 and libmesquite.so.0.0.0 of the repertory:
$HOME/OpenFOAM/ThirdParty-2.2.x/mesquite-2.3.0/lib

in:
$HOME/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib

louisgag February 27, 2017 10:20

Hello everyone,

I've just had the exact same issue on foam-extend-4.0 and solved it using the trick pointed out by Olivier, here's the quick command to run in bash:

Code:

for i in $(ls ~/foam/foam-extend-4.0/ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/lib/libmesquite.so*); do ln -sT $i ~/foam/foam-extend-4.0/lib/linux64GccDPOpt/$(basename $i);done
Best Regards,

-Louis


All times are GMT -4. The time now is 04:08.