# implementing the CFL criterion

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

 December 3, 2002, 18:14 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

 December 4, 2002, 11:16 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.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post tH3f0rC3 OpenFOAM 7 February 23, 2013 06:37 barath.ezhilan OpenFOAM Running, Solving & CFD 2 September 24, 2010 07:48 prabhu CFX 2 July 5, 2007 17:30 Bigarella Main CFD Forum 3 August 11, 2002 07:22 Neyval Main CFD Forum 1 August 9, 2001 21:05

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