|
[Sponsors] |
August 23, 2010, 07:53 |
Time step continuity error on restart
|
#1 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Hello everybody,
I have a solver I developed based on interFoam (1.6.x). It works like a charm running from t=0, but if I try to restart a simulation at an arbitrary t!=0 I get a time step continuity error. Any idea how to fix this? I already tried changing the 'writePrecision' in controlDict from 6 to 10, but that didn't help. - Anton Code:
time step continuity errors : sum local = 6.660168758e-11, global = 6.639932847e-11, cumulative = 6.639932847e-11 --> FOAM FATAL ERROR: Continuity error cannot be removed by adjusting the outflow. Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow. Total flux : 1.43477e-07 Specified mass inflow : 1.17455e-13 Specified mass outflow : 2.17053e-13 Adjustable mass outflow : 0 |
|
August 23, 2010, 08:40 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
I forgot to mention that this happens right after reading the transport properties, ie. before any computations are done. Also, all boundary conditions for U are fixedValue 0, and for p are zeroGradient.
Now I noticed the solver is unhappy with the call to adjustPhi in correctPhi.H using pCorr. If I remove the include for correctPhi.H, the solver seems to run as it should, but I don't really understand why this breaks things... Can anyone provide an insight if it is safe to remove this initialization? Last edited by akidess; August 23, 2010 at 10:00. Reason: Added more information |
|
August 15, 2012, 19:05 |
|
#3 |
New Member
Anonymous
Join Date: Aug 2012
Posts: 8
Rep Power: 13 |
I'm getting this exact same error. Did you figure out how to fix this???
|
|
August 16, 2012, 02:38 |
|
#4 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
A possible fix is already mentioned in my post #2.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
August 16, 2012, 11:50 |
|
#5 |
New Member
Anonymous
Join Date: Aug 2012
Posts: 8
Rep Power: 13 |
Sorry, I meant did you find a way to fix this error without editing the solver (i.e. removing the include for correctPhi.H)? I'm getting this error when trying to run interFoam and don't want to attempt to edit the solver to run my case for obvious reasons. I'm wondering what setting(s) I can change to get this to work for me.
|
|
August 17, 2012, 01:54 |
|
#6 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Unfortunately that's the only solution I found.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 16, 2019 23:12 |
time step continuity error, fvScheme | achinta | OpenFOAM | 24 | May 20, 2010 03:08 |
time step continuity errors | robingilbert | OpenFOAM Running, Solving & CFD | 1 | January 19, 2010 13:05 |
interDyMFoam - change in volume fraction | gopala | OpenFOAM Running, Solving & CFD | 0 | April 27, 2009 10:46 |
Modeling in micron scale using icoFoam | m9819348 | OpenFOAM Running, Solving & CFD | 7 | October 27, 2007 00:36 |