CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

implementing the CFL criterion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2002, 18:14
Default implementing the CFL criterion
  #1
Ben Houston
Guest
 
Posts: n/a
Hi all,

I am currently exploring how I should convert my current NS solver to more strictly step within the CFL criterion. Currently I have to generate CFD results at specified times (i.e t0, t1, t2, ... tN) but sometimes I need to make smaller steps.

I know that the CFL condition is determined by the velocity feild. But I am thinking that the CFL condition is also determined by the output of the mass conservation calculation -- unfortunately the way that I have implemented the mass conversation calculation I have to give it a time step. It seems that I should iteratively adjust the time step size by seeing what the results of the mass conservation calculation are for each of the time step sizes. This seems a bit wasteful though.

How do other people determine what the CFL condition is for their simulations?

PS. I am using dt < dc / |u|, where dt is the time step, dc is the cell width and |u| is the maximum velocity in the velocity field after the mass conservation correction.

Thanks for any suggestions

-ben houston.

http://www.exocortex.org/ben
  Reply With Quote

Old   December 4, 2002, 11:16
Default Re: implementing the CFL criterion
  #2
Jim Park
Guest
 
Posts: n/a
You need to look at the smallest time step over the entire mesh including all flow directions. As in dtmin = min[(dx/|u|), (dy/|v|),(dz/|w|)].

I can usually get away with running a practical time step that's a fraction of the result,

dtuseful = c*dtmin, 0.4 < c < 0.8 typically.

Unless your flow is very time-dependent, you should be able to do a time step with dtuseful, accept the result, then use that result to determine dtuseful for the next time step. That is, you normally won't need to iterate within a time step to change the time step.

Hope this helps.
  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
problem with Min/max rho tH3f0rC3 OpenFOAM 8 July 31, 2019 10:48
Courant Number Limit, CFL criterion barath.ezhilan OpenFOAM Running, Solving & CFD 2 September 24, 2010 08:48
CFL criterion in transient run prabhu CFX 2 July 5, 2007 18:30
CFL limits for separated flow Bigarella Main CFD Forum 3 August 11, 2002 08:22
CFL criterion / IMPES Neyval Main CFD Forum 1 August 9, 2001 22:05


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