CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problems finding groovyBC library (http://www.cfd-online.com/Forums/openfoam-solving/111948-problems-finding-groovybc-library.html)

duncan21187 January 18, 2013 09:52

Problems finding groovyBC library
 
Hi All

I am trying to use groovyBC to simulate the exhaust valve pressure profile of an IC engine. I have installed groovyBC as part of the latest swak4Foam package in a directory titled src within my user folder. Having added

libs (
"libOpenFOAM.so"
"libgroovyBC.so"
"libgroovyStandardBCs.so");

to the controlDict I then tried to run the case but consistently receive the error

FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96
could not load "libgroovyBC.so"
--> FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96
could not load "libgroovyStandardBCs.so"

indicating the libraries have not been found.

Can anyone suggest reasons why this could be?

Many thanks, Duncan

gschaider January 18, 2013 17:31

Quote:

Originally Posted by duncan21187 (Post 402669)
Hi All

I am trying to use groovyBC to simulate the exhaust valve pressure profile of an IC engine. I have installed groovyBC as part of the latest swak4Foam package in a directory titled src within my user folder. Having added

libs (
"libOpenFOAM.so"
"libgroovyBC.so"
"libgroovyStandardBCs.so");

to the controlDict I then tried to run the case but consistently receive the error

FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96
could not load "libgroovyBC.so"
--> FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96
could not load "libgroovyStandardBCs.so"

indicating the libraries have not been found.

Can anyone suggest reasons why this could be?

No idea. Compilation was OK? Check whether the library is there with

ls $FOAM_USER_LIBBIN

and whether $FOAM_USER_LIBBIN is in the $LD_LIBRARY_PATH

duncan21187 January 19, 2013 10:02

Many thanks, could not find library so re-compiled and found multiple compilation errors, I suspect that I have downloaded a bad source file.


All times are GMT -4. The time now is 21:51.