CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

adaptative time step algorithm

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

LinkBack Thread Tools Display Modes
Old   July 16, 2013, 13:33
Post adaptative time step algorithm
New Member
Jacques F.
Join Date: Jul 2013
Location: Toulouse
Posts: 6
Rep Power: 6
Jacks is on a distinguished road
Hi everyone,

Does anyone know from which source or why is the adapatative time step implemented in such way in setDeltaT.H source file :

scalar maxDeltaTFact = maxCo/(CoNum + SMALL);
scalar deltaTFact = min(min(maxDeltaTFact, 1.0 + 0.1*maxDeltaTFact),1.2);   

runTime.setDeltaT ( 
       min ( 
                 maxDeltaT ) 

Jacks is offline   Reply With Quote

Old   July 17, 2013, 14:41
Andreas Ruopp
Join Date: Aug 2009
Location: Stuttgart / Germany
Posts: 31
Rep Power: 10
andyru is on a distinguished road
It scales the deltaT if courant number is to high "directly", but increases deltaT very slowly.

I think, you can also change the factor 1.2. I think, it is an assumption.

Hope, this helps.
andyru is offline   Reply With Quote


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
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09

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