CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Choosing the right timestep

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2009, 07:52
Post Choosing the right timestep
  #1
Member
 
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 16
shangzung is on a distinguished road
Hello!

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, 11:21
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
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 (http://www.opencfd.co.uk/openfoam/doc/damBreak.html), or also threads in the forum (e.g. http://www.cfd-online.com/Forums/ope...co-number.html).
akidess is offline   Reply With Quote

Old   October 29, 2009, 02:58
Talking
  #3
Member
 
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 16
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

Reply


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
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 13: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 05:46.