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

libOpenFOAM Library not found

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2014, 04:05
Default libOpenFOAM Library not found
  #1
New Member
 
Shabir Mohamed
Join Date: Jun 2014
Posts: 20
Rep Power: 12
Shabirmean is on a distinguished road
Hi,

I am trying to use swak4Foam with FOAM_EXTENDED 3.1. I have downloaded swak4foam and run configured it using ./Allwmake. I am trying to run an example case using swak4foam and I included the following lines in the controlDict file:

libs (
"libOpenFOAM.so"
"libsimpleSwakFunctionObjects.so"
"libswakFunctionObjects.so"
"libgroovyBC.so"
);

However when I run blockMesh I am getting the warning that libOpenFOAM.so is not found. I checked in my $FOAM_USER_LIBBIN and it is not there..

--> FOAM Warning :
From function dlLibraryTable:pen(const fileName& functionLibName)
in file db/dlLibraryTable/dlLibraryTable.C at line 85
could not load libOpenFOAM.so: cannot open shared object file: No such file or directory


Can someone tell me what is wrong????
Shabirmean is offline   Reply With Quote

Old   August 27, 2014, 04:18
Default libOpenFOAM ----> libfoam???
  #2
New Member
 
Shabir Mohamed
Join Date: Jun 2014
Posts: 20
Rep Power: 12
Shabirmean is on a distinguished road
I tried searching around a bit and I have a doubt???

In OpenFOAM 2.3 in the OpenFOAM libs directory:
i.e: opt/openfoam230/platforms/linux64GccDPOpt/lib/

there is a file named ---> libOpenFOAM.so

but in FOAM_EXTENDED 3.1, it its libs directory:
i.e: foam/foam-extend-3.1/lib/linux64GccDPOpt

this file is not there but there is a file with the name ----> "libfoam.so"

Are these two the same files with different naming conventions for OpenFOAM 2.3 and FOAM_EXTENDED 3.1??????
Shabirmean is offline   Reply With Quote

Old   August 28, 2014, 17:11
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: http://sourceforge.net/p/openfoam-ex...e/ReleaseNotes
Quote:
Version 3.1, nicknamed "Zagreb", is the current version of
foam-extend. The release continues the tradition and spirit of the
original FOAM code developed by prof. Jasak and Mr. Weller during
their time at Imperial College and released as the general purpose
CFD/CCM package by Nabla Ltd. in 2000. In this spirit, we reverted
18 December 2013 to the original numbering scheme (foam-2.3.2, 13
December 2004) as release number 3.0. Visit http://foam-extend.org
for more information.
Therefore, yes, as of foam-extend 3.0, the main library "libOpenFOAM.so" was renamed to "libfoam.so".
wyldckat is offline   Reply With Quote

Reply

Tags
blockmesh, library, openfoam


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
Installing OpenFoam on windows 7-64 Dadou OpenFOAM Installation 10 February 11, 2014 17:20
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 11:46
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 03:32
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41


All times are GMT -4. The time now is 16:17.