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

Time step continuity error on restart

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

Reply
 
LinkBack Thread Tools 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: Delft, Netherlands
Posts: 919
Rep Power: 17
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: Delft, Netherlands
Posts: 919
Rep Power: 17
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: 4
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: Delft, Netherlands
Posts: 919
Rep Power: 17
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.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
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: 4
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: Delft, Netherlands
Posts: 919
Rep Power: 17
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.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 14: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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 12 September 17, 2007 17:48


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