CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [PyFoam] what does this message mean?"Duration of pickling 0.0856988430023 too long..." (https://www.cfd-online.com/Forums/openfoam-community-contributions/117172-what-does-message-mean-duration-pickling-0-0856988430023-too-long.html)

immortality May 3, 2013 09:36

what does this message mean?"Duration of pickling 0.0856988430023 too long..."
 
the run takes too long time and this message is displayed:
Code:

regIOobject::readIfModified() :
Re-reading object fvSolution from file "/home/ehsan/Desktop/shock_tube_and_backwards/shock_tube_650000_p/processor0/../system/fvSolution"
Mean and max Courant Numbers = 0.0410868479 0.09708383921
deltaT = 1.58982006e-08
Time = 9.38026e-08
Duration of pickling 0.0856988430023 too long. Extending frequency from 1.0 to 4.28494215012

what does it mean?and how to resolve?

ngj May 3, 2013 10:18

Hi Ehsan,

You need to provide some additional information, such as OF-version, solver (customised by yourself?), etc. I have tried searching the application and source code folders in versions OF2.1.0, OF2.2.0 and OF1.6-ext, and in none of them the word "pickling" is to be found.

This makes it very hard to tell anything on the source of the error.

Kind regards

Niels

gschaider May 4, 2013 18:34

Quote:

Originally Posted by immortality (Post 424988)
the run takes too long time and this message is displayed:
Code:

regIOobject::readIfModified() :
Re-reading object fvSolution from file "/home/ehsan/Desktop/shock_tube_and_backwards/shock_tube_650000_p/processor0/../system/fvSolution"
Mean and max Courant Numbers = 0.0410868479 0.09708383921
deltaT = 1.58982006e-08
Time = 9.38026e-08
Duration of pickling 0.0856988430023 too long. Extending frequency from 1.0 to 4.28494215012

what does it mean?and how to resolve?

That is a warning by PyFoam. It writes a file with information every second. If writing the file takes too long then this frequency is increased (to make sure that writing data is not the only thing the computer does)
Only a warning not a problem. So no need to do anything about it

immortality May 5, 2013 05:07

thank you Niels for your consideration and thank you Bernhard for the answer.
could you give me any more information just to know.why writing may takes too long?is it related to results of run?
thanks.

gschaider May 5, 2013 17:18

Quote:

Originally Posted by immortality (Post 425284)
thank you Niels for your consideration and thank you Bernhard for the answer.
could you give me any more information just to know.why writing may takes too long?is it related to results of run?
thanks.

Can be a lot of things. Slow filesystem. Lots of data ...
If it bothers you: switch it off with or increase the frequency. The options are there and you already know about --help

KYPCK444 September 17, 2013 08:18

hi,

I have kind of the same problem with pyFoamPlotWatcher.
It starts running but after a while it extends frequency:

Duration of pickling 0.0379099845886 too long. Extending frequency from 1.0 to 1.89549922943

so it gives me what follows:

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::LimitedScheme<double, Foam::limitedLinearLimiter<Foam::NVDTVD>, Foam::limitFuncs::magSqr>::limiter(Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#4 Foam::limitedSurfaceInterpolationScheme<double>::w eights(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#5 Foam::fv::gaussConvectionScheme<double>::fvmDiv(Fo am::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#6 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double , Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#7 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double , Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#8 Foam::incompressible::RASModels::kEpsilon::correct () in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#9
in "/home/fsauser/OpenFOAM/fsauser-2.1.x/platforms/linux64GccDPOpt/bin/simplePipeFoam"
#10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11
in "/home/fsauser/OpenFOAM/fsauser-2.1.x/platforms/linux64GccDPOpt/bin/simplePipeFoam"

I use OF 2.1.x and a edited form of simpleFoam solver (including gradP term in UEqn).

can anyone help me understanding?

thanks in advance

gschaider September 17, 2013 08:31

Quote:

Originally Posted by KYPCK444 (Post 452202)
hi,

I have kind of the same problem with pyFoamPlotWatcher.
It starts running but after a while it extends frequency:

Duration of pickling 0.0379099845886 too long. Extending frequency from 1.0 to 1.89549922943

so it gives me what follows:

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::LimitedScheme<double, Foam::limitedLinearLimiter<Foam::NVDTVD>, Foam::limitFuncs::magSqr>::limiter(Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#4 Foam::limitedSurfaceInterpolationScheme<double>::w eights(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#5 Foam::fv::gaussConvectionScheme<double>::fvmDiv(Fo am::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#6 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double , Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#7 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double , Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#8 Foam::incompressible::RASModels::kEpsilon::correct () in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#9
in "/home/fsauser/OpenFOAM/fsauser-2.1.x/platforms/linux64GccDPOpt/bin/simplePipeFoam"
#10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11
in "/home/fsauser/OpenFOAM/fsauser-2.1.x/platforms/linux64GccDPOpt/bin/simplePipeFoam"

I use OF 2.1.x and a edited form of simpleFoam solver (including gradP term in UEqn).

can anyone help me understanding?

thanks in advance

That is not a PyFoam problem. The solver crashed. That's where the stack-trace is from. PyFoamPlotWatcher is just echoing it

KYPCK444 September 17, 2013 08:52

ok, I was just starting believing it is a matter of solver.

thanks

immortality September 17, 2013 12:03

it was because of bad BC's,so that the speed of flow was too slow according to groovyBC BC's.that time I corrected the BC's and all became fine again.

Alih December 29, 2014 17:20

hi Bernhard

how switch it off or increase the frequency??

wyldckat December 29, 2014 19:50

Quote:

Originally Posted by Alih (Post 525479)
how switch it off or increase the frequency??

Quick answer:
Code:

pyFoamPlotWatcher --help

Alih December 30, 2014 05:59

Hi Bruno,
Thank you for answer.
I use utilityRunner from PyFoam.Execution to run patchAverage (utility of openFoam).
but this error is occurred. and no output exist in pInlet file.
what does it mean?and how to resolve?

Best regard.

error
Code:

Duration of pickling 2.50788116455 too long. Extending frequency from 60.0 to 125.394058228
End Run
Getting LinuxMem: [Errno 2] No such file or directory: '/proc/5750/status'
Unused output: Reading volScalarField p
Unused output: Average of volScalarField over patch inlet[0] = 94845.7
Unused output:
Unused output: End
Unused output:
Duration of pickling 2.13459920883 too long. Extending frequency from 60.0 to 106.729960442

code
Code:

from PyFoam.Execution.UtilityRunner import UtilityRunner
       
       
    eUtil=UtilityRunner(argv=["patchAverage p inlet -latestTime","-case",case],silent = True,logname = "pInlet")
    eUtil.start()


Alih December 31, 2014 12:27

hi Bruno
which option of pyFoamPlotWatcher switch it off or increase the frequency??

gschaider January 7, 2015 15:38

Quote:

Originally Posted by Alih (Post 525708)
hi Bruno
which option of pyFoamPlotWatcher switch it off or increase the frequency??

He answered that above. Use --help and look for "frequency"


All times are GMT -4. The time now is 07:22.