CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] Problems finding groovyBC library

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 11
Rep Power: 14
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: 4,225
Rep Power: 51
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: 11
Rep Power: 14
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


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
ERROR: unable to find library HJH CFX 6 February 26, 2019 07:52
Compiled library vs. inInclude Files, DSMC solver crashes after run GPesch OpenFOAM Programming & Development 8 April 18, 2013 08:17
[swak4Foam] groovyBC oscilating pipe flow problems duncan21187 OpenFOAM Community Contributions 8 January 27, 2013 06:21
[swak4Foam] Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Community Contributions 22 January 21, 2013 12:51
Problems in personal library compilation shrina OpenFOAM 3 February 23, 2009 12:12


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