CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

adaptative time step algorithm

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 16, 2013, 13:33
Post adaptative time step algorithm
  #1
New Member
 
Jacques F.
Join Date: Jul 2013
Location: Toulouse
Posts: 6
Rep Power: 4
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 :

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

runTime.setDeltaT ( 
       min ( 
                 deltaTFact*runTime.deltaTValue(), 
                 maxDeltaT ) 
   );
Thanks,

Jacks
Jacks is offline   Reply With Quote

Old   July 17, 2013, 14:41
Default
  #2
New Member
 
Andreas Ruopp
Join Date: Aug 2009
Location: Stuttgart / Germany
Posts: 29
Rep Power: 7
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

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
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
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 9 January 3, 2012 09:06
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 14:04.