CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Error OF15dev interDyMFoam keyword agglomerator is undefined in dictionary (

eberberovic February 15, 2009 06:35

Dear all, I have compiled t
Dear all,

I have compiled the sources of 1.5-dev (snapshot 2009-02-02 from powerlab) using the system gcc-compiler (ver. 4.2.1) on my openSuSE 10.3 (64-bit). Compilation gave no errors and foamInstalationTest also says that all is OK. Now, when I run the damBreakWithObstacle tutorial with interDyMFoam, the calculation starts, but I obtain the following error:

Starting time loop

Courant Number mean: 0 max: 0 velocity magnitude: 0
deltaT = 0.00117647
Time = 0.00217647

Selected 192 cells for refinement out of 32256.
Refined from 32256 to 33600 cells.
Selected 0 split points out of a possible 192.
Execution time for mesh.update() = 0.19 s
time step continuity errors : sum local = 1.83574, global = 0, cumulative = 0

keyword agglomerator is undefined in dictionary ""

file: from line 0 to line 0.

From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 213.

FOAM exiting

I have the recompiled the application interDyMFoam with gcc-4.3.1, but I again get the same error.

Does this mean that the fvSolution dictionary cannot be read? Can anybody help on this?

Best Regards,

hannes February 19, 2009 05:25

Hi Edin, I got the same pro
Hi Edin,

I got the same problem. The solution is to change in system/fvSolution:

preconditioner GAMG


type GAMG;

Best regards, Hannes

eberberovic February 19, 2009 05:38

Thanks Hannes. I have alrea
Thanks Hannes.

I have already done that. I have also changed the
dynamicMeshDict as follows:

lowerRefineLevel 0.01;
upperRefineLevel 0.99;
maxRefinement 3;
maxCells 5000000;

But now the calculation starts and it crashes after several time steps on floating point exception. Did you have same experiences?

Best regards,

gmc March 23, 2009 16:25

Hello everybody
We are used OpenFOAM1.5.1 with suse11, 64bits, and tried to refinement our mesh, we are used dynamicRefineMeshDict and didn`t understand some parameter like:

// All points are candidates for unrefining
unrefineLevel 10;
nBufferLayers 1;

// Maximum refinement level (starts from 0)
maxRefinement 2;

// Maximum cell limit (approximate)
maxCells 50000;

(default values in interDyMFoam)
we are change itīs, and noticed some different respect to default values, eg, maxRefinement 10; maxCells 500000 but when we changes
unrefineLevel ;
we didn`t see any difference in refinement mesh.

Somebody could to explained us what`s it means this parameters?
we are appreciate any comments.
Sonia and Ana

AlGates August 10, 2009 08:34


As I got mad, trying to refine the mesh, I started searching the web for a solution. Unfortunatelly I couldn't find any.

At least some of you got the same problem as I did.

I also have the same problem as Edin. My mesh is refining, but afterwards it ends with a floating point exception.

Sometimes it works for a few iterations if the changes are not very big (only 10-40 cells) but if it is 100 cells in total or more: goodbye. :-(

Btw, I wouldn't suggest to use GAMG to solve anything, because there is that agglomerator problem, which always hangs up on my mesh (due to some unequal field sizes). PCG got a better result.
Not it is "only" the floating point error.

So does anyone have any experience with that problem?

Btw: I changed the interDyMFoam solver to be able to calculate multiphases (copied from the multiphaseInterFoam solver); maybe the problem is in the incompatibility?

lth October 6, 2009 10:26

GAMG error messages
Dear Foamers,

I am trying to test the GAMG presconditioner in OF1.5 for my pressure and continue to get Istream errors. Does anyone know how to resolve this :confused:. No problems with DIC preconditioner, and planning to work in 3D and believe this to significantly reduce computation time.

Thanks for any insight or advice, Lori Holmes

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

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting viscoelastic model multiMode
Selecting viscoelastic model Giesekus

Starting time loop

Courant Number mean: 0 max: 7.39649e-05
deltaT = 1.19999e-05
Time = 1.19999e-05

DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 7.816e-11, No Iterations 2
DILUPBiCG: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0

Istream not OK for reading dictionary

file: /home/pec/Desktop/solving_cases/giesekus_orig_GAMG/system/fvSolution::p::preconditioner at line 30.

From function dictionary::read(Istream&, const word&)
in file db/dictionary/dictionaryIO.C at line 37.

FOAM exiting

All times are GMT -4. The time now is 09:32.