CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   how to rerun when compressed is on? (http://www.cfd-online.com/Forums/openfoam-post-processing/119062-how-rerun-when-compressed.html)

immortality June 9, 2013 05:51

how to rerun when compressed is on?
 
I have set
Code:

writeCompression on;
and stop the run.now it gives an error:
Code:

Create time

Create mesh for time = 4e-06

Reading thermophysical properties

Selecting thermodynamics package
{
type            hePsiThermo;
mixture        pureMixture;
transport      sutherland;
thermo          janaf;
equationOfState perfectGas;
specie          specie;
energy          sensibleEnthalpy;
}

[0]
[0]
[0] [2] --> FOAM FATAL IO ERROR:
[0] cannot find file
[0]
[0] file: /home/ehsan/Desktop/Central/Turbulent_WR/low-Re/turbulent_lR700*50/processor0/4e-06/p at line 0.
[0]
[0]    From function regIOobject::readStream()
[0]    in file db/regIOobject/regIOobjectRead.C at line 73.
[0]
FOAM parallel run exiting
[0]

[2]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[2] --> FOAM FATAL IO ERROR:
[2] cannot find file
[2]
[2] file: /home/ehsan/Desktop/Central/Turbulent_WR/low-Re/turbulent_lR700*50/processor2/4e-06/p at line 0.
[2]
[2]    From function regIOobject::readStream()
[2]    in file db/regIOobject/regIOobjectRead.C at line 73.
[2]
FOAM parallel run exiting
[2]
[3]
[3]
[3] [1] --> FOAM FATAL IO ERROR:
[3] cannot find file
[3]
[3] file: /home/ehsan/Desktop/Central/Turbulent_WR/low-Re/turbulent_lR700*50/processor3/4e-06/p at line 0.
[3]
[3]    From function regIOobject::readStream()
[3]    in file db/regIOobject/regIOobjectRead.C at line 73.
[3]
FOAM parallel run exiting
[3]
--------------------------------------------------------------------------
mpirun has exited due to process rank 0 with PID 3414 on
node Ehsan-com exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
[Ehsan-com:03412] 2 more processes have sent help message help-mpi-api.txt / mpi-abort
[Ehsan-com:03412] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Killing PID 3408
 PyFoam WARNING on line 232 of file /usr/local/lib/python2.7/dist-packages/PyFoam/Execution/FoamThread.py : Process 3408 was already dead

how can overcome this issue without decompressing individual files.

wyldckat June 9, 2013 07:04

Hi Ehsan,

Does either one of the following files exist?
Code:

/home/ehsan/Desktop/Central/Turbulent_WR/low-Re/turbulent_lR700*50/processor0/4e-06/p
/home/ehsan/Desktop/Central/Turbulent_WR/low-Re/turbulent_lR700*50/processor0/4e-06/p.gz

If neither one of them exist, then it's possible that you stopped the simulation at a bad point in time, exactly when the solver was writing the fields and you made it stop.

The safe way to stop a running case is to edit the file "system/controlDict" and change the "stopAt" control to either "writeNow" or "nextWrite", which will ensure that the time snapshot is properly saved before ending. For more information: http://www.openfoam.org/docs/user/controlDict.php

Best regards,
Bruno


All times are GMT -4. The time now is 02:37.