CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Problems with reconstructPar after run interDyMFoam (

FG_HSRM December 9, 2009 06:22

Problems with reconstructPar after run interDyMFoam
Hello all,
that's maybe a kind of newbie problem, but I found no way to handle it.

I'm working on a interDyMFoam case. The case is running fine.

The Problem is only the reconstruction of the case.
I used: decomposePar -> "run the case" -> reconstructPar
I tried metis/ simpel / hierarchical method and there is no difference.

Thanks in advance!

The error message is:

Create time

Create mesh for time = 0

Time = 0.02

cannot open file

file: /home/geiger/OpenFOAM/geiger-1.6/run/eigen/dynmesh/tes/processor0/0.02/polyMesh/pointProcAddressing at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 62.

FOAM exiting

LarsPT December 9, 2009 07:49


try these commands


Dynamic meshes always save the current mesh in each time stept just because it may change by time. So, reconstructParMesh is necessary to reconstruct the the mesh in each region, reconstructPar is necessary to to put all the regions together to one mesh.

Hope this helps!

Best regards!


FG_HSRM December 9, 2009 12:33

Hi Lars,
thanks for your quick reply and your help.

There is only a small problem left.
The reconstructParMesh command only run for one timestep.
Is there maybe more easy to handle way?

Kind regards!

pille December 13, 2011 12:16

hallo friedrich,

its a bit too late now, but for others it might be helpful.
in that case i make loop in the shell that looks like this.
(X=number of processors -1; TIME=wanted time folder)
if you want to reconstruct a lot of time folders, you can generate a second loop for TIME inside the first.


for i in `seq 0 X`; do
cp processor${i}/0/polyMesh/pointProcAddressing.gz processor${i}/TIME/polyMesh/
cp processor${i}/0/polyMesh/faceProcAddressing.gz processor${i}/TIME/polyMesh/
cp processor${i}/0/polyMesh/cellProcAddressing.gz processor${i}/TIME/polyMesh/
cp processor${i}/0/polyMesh/boundaryProcAddressing.gz processor${i}/TIME/polyMesh/

All times are GMT -4. The time now is 14:04.