CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   First steps w moving mesh FOAM FATAL ERROR solver table is empty (https://www.cfd-online.com/Forums/openfoam-solving/59695-first-steps-w-moving-mesh-foam-fatal-error-solver-table-empty.html)

tehache May 14, 2007 04:41

Hi everybody, I am currentl
 
Hi everybody,

I am currently doing my first unsecure steps with a moving grid, starting my program I get this:

==================================================
Selecting motion solver: laplaceTetDecomposition

--> FOAM FATAL ERROR : solver table is empty

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

FOAM exiting
================================================

Code is basically just this (for the moment, nothing solving, just trying to move a mesh):

=================================================

Info<< "\nStarting time loop\n" << endl;

autoPtr<foam::motionsolver> motionPtr = motionSolver::New(mesh);

for (runTime++; !runTime.end(); runTime++)
{
Info<< "Time = " << runTime.timeName() << nl << endl;

mesh.movePoints(motionPtr->newPoints());

}
return(0);
}
=================================================

File dynamicMeshDict looks like this:

==================================================

dynamicFvMeshLib "libtetDecompositionMotionSolvers.so";
dynamicFvMesh dynamicMotionSolverFvMesh;

// twoDMotion yes;

solver laplaceTetDecomposition;

diffusion quadratic patchEnhanced;

frozenDiffusion off;

distancePatches 0 ();

==================================================

I also have a file motionU, not showing it here (could do so, if needed, of course..)

Any hint to get me continuing would be very much appreciated - I am stuck a little http://www.cfd-online.com/OpenFOAM_D...lipart/sad.gif

Thank you!

Thomas

tehache May 14, 2007 04:51

Ooops sorry for spamming - dir
 
Ooops sorry for spamming - directly after posting I had the great idea to add these libraries

-ldecompositionMethods \
-ltetDecompositionMotionSolvers \

... and its fine now

Sorry again for abusing your attention http://www.cfd-online.com/OpenFOAM_D...part/happy.gif

rafal May 14, 2007 04:59

you may want also to have a lo
 
you may want also to have a look on utilities:
moveDynamicMesh
moveEngineMesh
moveMesh
rafal


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