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

What velocity value to use for time step size?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By LuckyTran
  • 1 Post By praveen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2018, 15:08
Default What velocity value to use for time step size?
  #1
New Member
 
Violet
Join Date: Jun 2016
Posts: 8
Rep Power: 9
violethill is on a distinguished road
Hi CFD earthlings,

I understand that when calculating the time step size, you take into account the delta x( of the smallest mesh cell) and the velocity. But what velocity value do I use? The maximum velocity? Free stream velocity?

My geometry resembles a cylinder with pipes. However, the inlet surface area is much bigger than the area in the small pipes. Which maximum velocity do I take into account? The one at the inlet surface or once the velocity has been developed in the narrower pipes? Thank you.
violethill is offline   Reply With Quote

Old   February 7, 2018, 16:43
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,668
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You take the velocity of the same cell, the "smallest mesh cell" one. Use your best judgment to guess what that velocity will be. Note that it doesn't have to be the smallest mesh cell, but guessing from the global maximum velocity and global minimum cell size are both good places to start.
lcarasik likes this.
LuckyTran is offline   Reply With Quote

Old   February 7, 2018, 21:59
Default
  #3
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 342
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
You compute time step for each cell using the velocity in that cell and size of that cell. This is usually called the local time step. Then take the minimum of all the cell time steps and use that as your global time step. For example in 1-D this would look like
\Delta t = CFL \cdot  \min_i \Delta t_i, \qquad \Delta t_i = \frac{\Delta x_i}{|v_i|}
lcarasik likes this.
praveen is offline   Reply With Quote

Old   February 8, 2018, 03:35
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
The correct stability analysis considers the most critical value of the ratio between the grid size and the velocity. OF course for homogeneous grid size one considers only the most critical velocity.
Be careful that in multidimensional case the constraint of the CFL extends to the sum of each term
FMDenaro 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
Time step size and max iterations per time step pUl| FLUENT 33 October 23, 2020 22:50
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 10:08
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, cfdproject OpenFOAM Meshing & Mesh Conversion 0 April 14, 2009 15:45
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59


All times are GMT -4. The time now is 15:26.