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

Solver table is empty

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2010, 06:45
Thumbs up Solver table is empty
  #1
Member
 
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 16
aut_iut is on a distinguished road
Hello,

I'm one of the new people trying to run "moving cone" tutorial on the openfoam 1.5 (on the mac).
I did blockMesh and then icoDyMFoam.
but the execution interrupted with the following error:

/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: velocityComponentLaplacian
--> FOAM Warning :
From function dlLibraryTable:pen(const fileName& functionLibName)
in file db/dlLibraryTable/
dlLibraryTable.C at line 79
could not load dlopen(libfvMotionSolvers.so, 9): image not found


solver table is empty

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

FOAM exiting


I tried to use moveDynamicMesh command but it doesn't fix.
Can anybody help me for this problem?
Is there any tutorial for the moving mesh and FSI in the openFOAM?
I really need them for my thesis!!!!

Thanks a lot!
aut_iut is offline   Reply With Quote

Old   April 15, 2010, 08:10
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 aut_iut View Post
Hello,

I'm one of the new people trying to run "moving cone" tutorial on the openfoam 1.5 (on the mac).
I did blockMesh and then icoDyMFoam.
but the execution interrupted with the following error:

/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: velocityComponentLaplacian
--> FOAM Warning :
From function dlLibraryTable:pen(const fileName& functionLibName)
in file db/dlLibraryTable/
dlLibraryTable.C at line 79
could not load dlopen(libfvMotionSolvers.so, 9): image not found


solver table is empty

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

FOAM exiting


I tried to use moveDynamicMesh command but it doesn't fix.
Can anybody help me for this problem?
Is there any tutorial for the moving mesh and FSI in the openFOAM?
I really need them for my thesis!!!!

Thanks a lot!
Check with "ls $FOAM_LIBBIN". Probably the library is there but has the extension dylib. Some of the Mac-patches floating around (at least mine) replace so with dylib on the fly before loading the library.

Either change .so to .dylib in the relevant library or create a symlink in $OFAM_LIBBIN

Bernhard
gschaider is offline   Reply With Quote

Old   April 16, 2010, 05:07
Default
  #3
Member
 
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 16
aut_iut is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Check with "ls $FOAM_LIBBIN". Probably the library is there but has the extension dylib. Some of the Mac-patches floating around (at least mine) replace so with dylib on the fly before loading the library.

Either change .so to .dylib in the relevant library or create a symlink in $OFAM_LIBBIN

Bernhard


Thanks a lot Dear Bernhard!!!
aut_iut is offline   Reply With Quote

Old   May 19, 2010, 13:10
Default
  #4
New Member
 
Daniele Trimarchi
Join Date: Mar 2010
Location: Southampton, Uk
Posts: 11
Rep Power: 16
Daniele Trimarchi is on a distinguished road
Hi Foamers, I'm happily running the moving cone, and I'm now trying to do some minor modifications. In particular, I'm using the velocityLaplacian solver, and I can impose rigid body motion in the domain.
Now I'd like to modify the solver, in order to apply a correction function to the velocity. For example, I'd like to impose a simple deforming body motion u(y).
don't know if there is any simpler way, but I think I want to try by modifying the solver, where the motion law is. So I:
1_ copied the FvMotionSolvers/ in my working dir, and renamed as MyFvMotionSolver. There, I copied the Make/ folder also.
2_ Deleted folders I don't need to modify, for instance displacements
3_ renamed fvmotionSolver/ and velocity/ as MyfvmotionSolver and Myvelocity/
4_ In Myvelocity, deleted ComponentLaplacian, that I don't need. Renamed laplacian in Mylaplacian
5_ Substituted in the full set of files fvMotionSolver -> MyfvMotionSolver. And velocityLaplacianFvMotionSolver ->MyvelocityLaplacianFvMotionSolver with sed s/oldstring/newstring/g <oldfile >newfile
6_ In the Make/file, I just left
MyfvMotionSolver/MyfvMotionSolver.C
Myvelocity/Mylaplacian/MyvelocityLaplacianFvMotionSolver.C
LIB = $(FOAM_LIBBIN)/libMyfvMotionSolvers
7_ In the Make/options, I left all as I found, but I added the line:
-I$(LIB_SRC)/fvMotionSolver/lnInclude
Daniele Trimarchi is offline   Reply With Quote

Old   May 19, 2010, 13:15
Default
  #5
New Member
 
Daniele Trimarchi
Join Date: Mar 2010
Location: Southampton, Uk
Posts: 11
Rep Power: 16
Daniele Trimarchi is on a distinguished road
** Sorry, continue from the last message...(n.4) ***

for recovering all the necessary dependancies.

Now, when I try to recompile with 'wmake libso', I get compilation errors such as:
-------------------------------------------
Myvelocity/Mylaplacian/MyvelocityLaplacianFvMotionSolver.C: In constructor ‘Foam::MyvelocityLaplacianFvMotionSolver::Myveloci tyLaplacianFvMotionSolver(const Foam:olyMesh&, Foam::Istream&)’:
Myvelocity/Mylaplacian/MyvelocityLaplacianFvMotionSolver.C:90: error: no matching function for call to ‘Foam::motionDiffusivity::New(Foam::MyvelocityLapl acianFvMotionSolver&, Foam::ITstream&)’
/home/daniele/OpenFOAM/OpenFOAM-1.6.x/src/fvMotionSolver/lnInclude/motionDiffusivity.H:86: note: candidates are: static Foam::autoPtr<Foam::motionDiffusivity> Foam::motionDiffusivity::New(const Foam::fvMotionSolver&, Foam::Istream&)
Myvelocity/Mylaplacian/MyvelocityLaplacianFvMotionSolver.C: In member function ‘virtual void Foam::MyvelocityLaplacianFvMotionSolver::updateMes h(const Foam::mapPolyMesh&)’:
Myvelocity/Mylaplacian/MyvelocityLaplacianFvMotionSolver.C:155: error: no matching function for call to ‘Foam::motionDiffusivity::New(Foam::MyvelocityLapl acianFvMotionSolver&, Foam::ITstream&)’
/home/daniele/OpenFOAM/OpenFOAM-1.6.x/src/fvMotionSolver/lnInclude/motionDiffusivity.H:86: note: candidates are: static Foam::autoPtr<Foam::motionDiffusivity> Foam::motionDiffusivity::New(const Foam::fvMotionSolver&, Foam::Istream&)
make: *** [Make/linuxGccDPOpt/MyvelocityLaplacianFvMotionSolver.o] Error 1
-------------------------------------------------

Can anyone help me understanding where I'm wrong?

Cheers,
Daniele
Daniele Trimarchi is offline   Reply With Quote

Old   May 21, 2010, 12:26
Default velocityLaplacian Modified
  #6
New Member
 
Daniele Trimarchi
Join Date: Mar 2010
Location: Southampton, Uk
Posts: 11
Rep Power: 16
Daniele Trimarchi is on a distinguished road
Hi Foamers, after a lot of struggling, I decided to use the original sources, recompiled from another location. Less 'nice' but it works.
Actually I managed to impose some body deformations [u=y(y)], and the geometry seems to deform well. This has been done by modifying velocitylaplacianfvMotionSolver.C, l.112 et following, as:

tmp<pointField> tcurPoints
(
fvMesh_.points()
//+ fvMesh_.time().deltaT().value()*pointMotionU_.inte rnalField()
+ fvMesh_.time().deltaT().value()*pointMotionU_.inte rnalField()*fvMesh_.points().component(vector::Y)

);

Now, it seems that my boundary conditions on the beam are not updated in the right way. In fact (I post a picture) the x-component of the velocity at the beam is constant, and not linear, following the beam body motion.
I tried to have a look about the possible causes, or corrections to do, but I'm quite lost...
Attached Images
File Type: jpeg Screenshot.jpeg (18.5 KB, 31 views)
Daniele Trimarchi is offline   Reply With Quote

Reply


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
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
First steps w moving mesh FOAM FATAL ERROR solver table is empty tehache OpenFOAM Running, Solving & CFD 2 May 14, 2007 04:59
Solver and Table ali CFX 0 January 22, 2007 13:07
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 16:25


All times are GMT -4. The time now is 22:50.