CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Case files (constant) being deleted while running. (https://www.cfd-online.com/Forums/openfoam/215078-case-files-constant-being-deleted-while-running.html)

Kieran February 21, 2019 14:16

Case files (constant) being deleted while running.
 
Hi,

On 3 occasions now (2 today), I've encountered a problem in which the Constant file is deleted in my case folder as the case is running, causing it to fail.

I think it could be occuring during the writing of files, because as far as I can tell on both occasions today it happened on a time-step that was being saved. I don't know if available storage has anything to do with it, but while I am low-ish on space, I still have around 10-20GB available.


Has anyone ever encountered this before, or know what it might be? I can't find any mentions of this problem online. I can't think of anything I have changed in the last day or two.


Potentially useful information: OpenFOAM version 5. SFRSimpleFOAM case, parallel, deconstructed over 16 cores.

Thanks in advance, I'm very confused by this, and any insight would be really appreciated.

Kieran

Edit: This happened again today. Again it seemed to occur at a time-step that was being saved, although I freed up plenty of space on the hard drive so I don't think lack of space is an issue.

In case it is something to with how files are being saved, here is my ControlDict file:

Quote:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application SRFSimpleFoam;

startFrom latestTime;

startTime 0;

stopAt endTime; //writeNow;

endTime 20000;

deltaT 1;

writeControl timeStep;

writeInterval 100;

purgeWrite 20;

writeFormat ascii;

writePrecision 6;

writeCompression on;

timeFormat general;

timePrecision 6;

runTimeModifiable true;

functions
{
#include "residuals"
#include "forces"
#include "forceCoeffs"
}


// ************************************************** *********************** //


All times are GMT -4. The time now is 12:49.