CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

adjusttimestep led to extremely small timestep

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

Like Tree4Likes
  • 2 Post By olivierG
  • 2 Post By fredo490

LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2013, 04:47
Default adjusttimestep led to extremely small timestep
Senior Member
Join Date: Jan 2013
Posts: 134
Rep Power: 13
kkpal is on a distinguished road
dear all

I'm simulating flow around an inclined cylinder at Re=3900 with pimpleFoam. I set my maxCo to be 1 and after some iterations, deltaT became very very small which made the simulation unable to progress. This warning even came out.

Courant Number mean: 0.00965307 max: 0.959928
deltaT = 3.9084e-11
--> FOAM Warning : 
    From function Time::operator++()
    in file db/Time/Time.C at line 1029
    Increased the timePrecision from 9 to 10 to distinguish between timeNames at time 0.0417741
Before this I did several cases involving flow around non-inclined cylinder at Re=3900, it worked out fine; I also simulated flow around inclined cylinder at Re=100, it was also good.

Does someone else encountered with this problem before?
kkpal is offline   Reply With Quote

Old   May 28, 2013, 05:40
Senior Member
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
olivierG is on a distinguished road

This mean that you have high non physical velocity somewhere. Check your boundary conditions (k & epsilon with bad initial guess ?) and your fvScheme (you may switch to Gauss upwind at the beginning).

kkpal and Ethon like this.
olivierG is offline   Reply With Quote

Old   May 28, 2013, 07:50
Senior Member
Join Date: Jul 2010
Posts: 249
Rep Power: 16
fredo490 is on a distinguished road
This is common if you use a uniform initialization of your problem. The initial solution is too different from your final solution, therefor the simulation must go through some crazy steps that leads to your "divergence".

You can try to run first with a fixed time step and once an approximate flow field is catch, you can turn to an adaptive time stepping.

Another solution is to initialize your case with a steady state solution (from SimpleFoam for example). Attention, potentialFoam will not give you a good initialization as the boundary layer is not included. Therefor you might get the same "divergence" problem.
kkpal and Ethon like this.
fredo490 is offline   Reply With Quote


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
[snappyHexMesh] .STL: non-closed manifold surface giulio.topazio OpenFOAM Meshing & Mesh Conversion 32 November 25, 2016 03:15
Small timestep make the simulation not converge Anna Tian CFX 1 August 7, 2012 19:25
How small to choose the timestep? kriskerst OpenFOAM Running, Solving & CFD 0 February 21, 2011 14:47
SIGFPE unless deltaT extremely small omican OpenFOAM 0 July 2, 2010 02:16
InterFoam very small timestep unoder OpenFOAM Running, Solving & CFD 12 November 27, 2005 07:47

All times are GMT -4. The time now is 01:11.