CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Problems finding groovyBC library

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 18, 2013, 09:52
Default Problems finding groovyBC library
  #1
New Member
 
Duncan Weatherhead
Join Date: Feb 2012
Location: University of Exeter
Posts: 10
Rep Power: 5
duncan21187 is on a distinguished road
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:pen(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96
could not load "libgroovyBC.so"
--> FOAM Warning :
From function dlLibraryTable:pen(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
duncan21187 is offline   Reply With Quote

Old   January 18, 2013, 17:31
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by duncan21187 View Post
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:pen(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96
could not load "libgroovyBC.so"
--> FOAM Warning :
From function dlLibraryTable:pen(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
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   January 19, 2013, 10:02
Default
  #3
New Member
 
Duncan Weatherhead
Join Date: Feb 2012
Location: University of Exeter
Posts: 10
Rep Power: 5
duncan21187 is on a distinguished road
Many thanks, could not find library so re-compiled and found multiple compilation errors, I suspect that I have downloaded a bad source file.
duncan21187 is offline   Reply With Quote

Reply

Tags
groovybc, libraries, swak4foam

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi species mass transport library [update] novyno OpenFOAM 80 June 21, 2015 16:43
integer part , groovyBC T.D. OpenFOAM 7 February 28, 2014 11:41
GroovyBC for 2D wave flume! Hisham OpenFOAM Running, Solving & CFD 13 January 20, 2012 06:04
Problems in personal library compilation shrina OpenFOAM 3 February 23, 2009 12:12
OpenFOAM141dev linking error on IBM AIX 52 matthias OpenFOAM Installation 24 April 28, 2008 15:49


All times are GMT -4. The time now is 20:58.