CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   reconstructPar does not work in interDyMFoam (https://www.cfd-online.com/Forums/openfoam-post-processing/121988-reconstructpar-does-not-work-interdymfoam.html)

ageorg August 9, 2013 12:00

reconstructPar does not work in interDyMFoam
 
Dear All,

I am trying to execute "reconstructPar" utillity in a 3d case that I had simulated in ItterDyMFoam decomposed in 16 parts (cores) and I get the following message:



z620@Z620:~/OpenFOAM/z620-2.2.1/run/MySimulations/3DBubbleRiseAndDetachment$ reconstructPar
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.1-57f3c3617a2d
Exec : reconstructPar
Date : Aug 09 2013
Time : 17:56:01
Host : "Z620"
PID : 3480
Case : /home/z620/OpenFOAM/z620-2.2.1/run/MySimulations/3DBubbleRiseAndDetachment
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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



Reconstructing fields for mesh region0

Time = 0.001



--> FOAM FATAL IO ERROR:
cannot find file

file: /home/z620/OpenFOAM/z620-2.2.1/run/MySimulations/3DBubbleRiseAndDetachment/processor0/0.001/polyMesh/pointProcAddressing at line 0.

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

FOAM exiting

z620@Z620:~/OpenFOAM/z620-2.2.1/run/MySimulations/3DBubbleRiseAndDetachment$


Can somebody please advise me what to do?

Thank you very much in advance

ageorg

Andrea_85 August 28, 2013 10:47

Hi,

Did you solve the problem?

andrea

cosbergel November 7, 2013 07:47

try recontstructParMesh

idefix November 8, 2013 01:29

Hello,

exactly: you must use reconstructParMesh before you can use reconstructPar

look here:
http://www.cfd-online.com/Forums/ope...tpar-15-a.html

Sega posted a script for it:
Quote:

Originally Posted by sega (Post 249382)
Code:

#!/bin/bash
timeList=$(ls processor0/ | awk '$1!="constant"');

for line in $timeList
do
    echo "Recontructing mesh for t = "$line" s";
    reconstructParMesh -time $line > logTmp;

    echo "Reconstructing fields for t = "$line" s";
    reconstructPar -time $line > logTmp;

    echo "";
done

rm logTmp;



banji April 15, 2016 13:25

Hi,

I am sure you must have found some solution some way, since this was posted a long time ago. I decided to just post mine just for anybody who runs into the same problem like me.

I use OpenFOAM-2.3.x. When you run a problem using AMR in parallel. To reconstruct, first open the system/controlDict file and change the entry for write format from "ascii" to "binary". Then do the following
1) run 'reconstructParMesh'
2) run 'reconstructPar'

This works with no problem in 2.3 version, not sure of the rest.

Cheers.

Quote:

Originally Posted by ageorg (Post 444750)
Dear All,

I am trying to execute "reconstructPar" utillity in a 3d case that I had simulated in ItterDyMFoam decomposed in 16 parts (cores) and I get the following message:



z620@Z620:~/OpenFOAM/z620-2.2.1/run/MySimulations/3DBubbleRiseAndDetachment$ reconstructPar
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.1-57f3c3617a2d
Exec : reconstructPar
Date : Aug 09 2013
Time : 17:56:01
Host : "Z620"
PID : 3480
Case : /home/z620/OpenFOAM/z620-2.2.1/run/MySimulations/3DBubbleRiseAndDetachment
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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



Reconstructing fields for mesh region0

Time = 0.001



--> FOAM FATAL IO ERROR:
cannot find file

file: /home/z620/OpenFOAM/z620-2.2.1/run/MySimulations/3DBubbleRiseAndDetachment/processor0/0.001/polyMesh/pointProcAddressing at line 0.

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

FOAM exiting

z620@Z620:~/OpenFOAM/z620-2.2.1/run/MySimulations/3DBubbleRiseAndDetachment$


Can somebody please advise me what to do?

Thank you very much in advance

ageorg



All times are GMT -4. The time now is 11:20.