CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

OpenFOAM simulation keeps restarting at a certain time step

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2023, 17:30
Default OpenFOAM simulation keeps restarting at a certain time step
  #1
New Member
 
Abdullah Saifee
Join Date: Feb 2021
Posts: 13
Rep Power: 5
saifee is on a distinguished road
I am running a pimpleFoam simulation. But at a certain time step when it reaches a a convergence, it restarts from time 0 again, and not progressing.

I am attaching the controlDict and 0.p here. But do let me know if you need anything else to better understand what's going on.

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

//application icoFoam;
application pimpleFoam;


//startFrom latestTime;
startFrom startTime;


startTime 0;

//stopAt nextWrite;
stopAt endTime;

endTime 15;

deltaT 1e-4;

//writeControl timeStep;
writeControl adjustableRunTime;

//writeInterval 100;
writeInterval 0.01;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression off;

timeFormat general;

timePrecision 6;

runTimeModifiable true;

//PIMPLE
adjustTimeStep yes;

maxCo 2;

maxDeltaT 0.01;


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

functions
{

}


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
n1
{
type totalPressure;
p0 uniform 0;
}

n2
{
type totalPressure;
p0 uniform 0;
}

naso
{
type uniformTotalPressure;
p0
{
type sine;
frequency 1/3;
amplitude 50;
scale -1;
level 0;
}
}

walls
{
type zeroGradient;
}
defaultFaces
{
type empty;
}

}

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




p.s. I am using OpenFOAM 10.
saifee is offline   Reply With Quote

Old   December 16, 2023, 18:27
Default
  #2
New Member
 
Abdullah Saifee
Join Date: Feb 2021
Posts: 13
Rep Power: 5
saifee is on a distinguished road
I just found out that if I do a scaling of the geometry by transformPoints "scale=(...)", then this is happening. Is it wrong to do scaling this way?
saifee is offline   Reply With Quote

Reply

Tags
controldict, openfoam 10, pimplefoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? EternalSeekerX SU2 3 October 9, 2020 18:28
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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