CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Choosing the right timestep

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

LinkBack Thread Tools Display Modes
Old   October 28, 2009, 08:52
Post Choosing the right timestep
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 8
shangzung is on a distinguished road

I simulate with sonicFoam a tube with different pressures in it and have problems with the timestep. Sometimes with a chosen timestep, simulation lasts about 1 hour before it fails (and the Courand number is over 1). Is there a way to determine, how large the Courand number will get or is there even a possibility to set the maximum Courand number, so that the timestep will vary?
shangzung is offline   Reply With Quote

Old   October 28, 2009, 12:21
Senior Member
akidess's Avatar
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 1,014
Rep Power: 18
akidess will become famous soon enough
Yes, there is a possibility to specify a maximum Courant number. See how it's implemented in the interFoam solver (, or also threads in the forum (e.g. Problems with adjustable timestep control and maxCo Number).
akidess is online now   Reply With Quote

Old   October 29, 2009, 03:58
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 8
shangzung is on a distinguished road
Thanks a lot! Like in the post of your link, I also has to add some #include statements into the solver I used (sonicFoam). Now it works great!
shangzung 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
interTrackFoam timestep virginie_e OpenFOAM Running, Solving & CFD 4 April 6, 2009 05:02
Different timestep for each equation Miguel CFX 1 September 5, 2006 15:50
Use of Timestep in obtaining solution. hagupta CFX 7 February 28, 2006 14:14
Timestep selection Jindra Kosprdova CFX 9 April 28, 2005 06:41
timestep in transinet simulations caty CFX 1 April 18, 2005 19:54

All times are GMT -4. The time now is 10:09.