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

Time step continuity error on restart

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2010, 07:53
Default Time step continuity error on restart
  #1
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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
akidess is offline   Reply With Quote

Old   August 23, 2010, 08:40
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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
akidess is offline   Reply With Quote

Old   August 15, 2012, 19:05
Default
  #3
New Member
 
Anonymous
Join Date: Aug 2012
Posts: 8
Rep Power: 13
Tiffany is on a distinguished road
I'm getting this exact same error. Did you figure out how to fix this???
Tiffany is offline   Reply With Quote

Old   August 16, 2012, 02:38
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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.
akidess is offline   Reply With Quote

Old   August 16, 2012, 11:50
Default
  #5
New Member
 
Anonymous
Join Date: Aug 2012
Posts: 8
Rep Power: 13
Tiffany is on a distinguished road
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.
Tiffany is offline   Reply With Quote

Old   August 17, 2012, 01:54
Default
  #6
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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.
akidess is offline   Reply With Quote

Reply


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
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


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