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

Grid and time step independence study

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2015, 16:12
Default Grid and time step independence study
  #1
Senior Member
 
navid
Join Date: Jan 2010
Posts: 110
Rep Power: 16
ndabir is on a distinguished road
Hi All,

I have a rather simple though important question. I am doing an unsteady analysis of a compressible flow using coupled pressure-based solver (The reason I use pressure-base is I have to use VOF method which is not compatible with density-base solver).

My main question is how can I do a reliable mesh size and time step size independence study so that I can make sure my results will not change further significantly? Here is what I think:

1) Shall I first fix time step and refine grid. Then when the results are almost independent, refine the time step on that grid to find the desired time step?

2) Or shall I use a fix CFL number for the flow (such as 0.25), and based on CFL= velocity of sound*dt/dx and a grid size (dx), find the time step and do a simulation. Then by keeping CFL the same (0.25), half the grid size (therefore the time step should be half) and do another simulation and compare the results?

Is there another method too?
Are both the 1st and 2nd methods I mentioned above correct?
ndabir is offline   Reply With Quote

Old   February 16, 2015, 12:03
Default
  #2
Senior Member
 
navid
Join Date: Jan 2010
Posts: 110
Rep Power: 16
ndabir is on a distinguished road
Let me make my question more clear:

How do you guys usually do grid and time step size study for an unsteady flow?
what is the correct procedure for that?
ndabir is offline   Reply With Quote

Old   February 16, 2015, 13:50
Default
  #3
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by ndabir View Post
Hi All,

I have a rather simple though important question. I am doing an unsteady analysis of a compressible flow using coupled pressure-based solver (The reason I use pressure-base is I have to use VOF method which is not compatible with density-base solver).

My main question is how can I do a reliable mesh size and time step size independence study so that I can make sure my results will not change further significantly? Here is what I think:

1) Shall I first fix time step and refine grid. Then when the results are almost independent, refine the time step on that grid to find the desired time step?

2) Or shall I use a fix CFL number for the flow (such as 0.25), and based on CFL= velocity of sound*dt/dx and a grid size (dx), find the time step and do a simulation. Then by keeping CFL the same (0.25), half the grid size (therefore the time step should be half) and do another simulation and compare the results?

Is there another method too?
Are both the 1st and 2nd methods I mentioned above correct?
Both these methods are correct. However there is a third way similar to 1). I'm going to call it 1b.

1a) Fix the time-step, refine the grid.
1b) Fix the grid, refine the time-step. That is, half the time-step on your original grid.
2) refine both grid and time-step, keeping Courant number the same

1a) allows you to quantify the grid sensitivity
1b) allows you to quantify the time-step sensitivity
2) allows you to quantify both

Unless you are specifically interested in what is the grid's contribution and what is the time-step contribution to your sensitivity, you do not need to do 1a & 1b. Hence, I always do 2. 2) captures both grid and time-step sensitivity, but does not allow you to distinguish how much sensitivity came from where. If you just want overall sensitivity, doing 2) is sufficient.
ndabir, kinney and Kummi like this.
LuckyTran is offline   Reply With Quote

Old   February 16, 2015, 16:21
Default
  #4
Senior Member
 
navid
Join Date: Jan 2010
Posts: 110
Rep Power: 16
ndabir is on a distinguished road
Thanks LuckyTran for your reply.

Is there a way to find what courant number should be used in method 2?
I am using 0.25 but if you have a high speed computer I think the smaller the courant number, the better the result. What is your idea?

Is it reasonable (or do people usually do it) to compare several courant numbers together such as 0.75, 0.5, 0.25 and report the results based on that?or you can just pick a arbitrary courant number and do the grid and time step study?
ndabir is offline   Reply With Quote

Old   February 16, 2015, 16:40
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by ndabir View Post
Thanks LuckyTran for your reply.

Is there a way to find what courant number should be used in method 2?
I am using 0.25 but if you have a high speed computer I think the smaller the courant number, the better the result. What is your idea?

Is it reasonable (or do people usually do it) to compare several courant numbers together such as 0.75, 0.5, 0.25 and report the results based on that?or you can just pick a arbitrary courant number and do the grid and time step study?
Courant number is not very useful in this regard. Think of the example of 1b). The Courant number sensitivity is already determined from that test. So going to 2) should also capture the same effects. But by halving the grid size, you halved the Courant number even though your time-step is obviously superior than before.

What is truly important in transient/unsteady simulations is the time-step size relative to the time-scale of the phenomenon. Unfortunately Courant number entangles that with an arbitrary length scale. That is, Courant number is more closely related to a length scale (the grid size) than the characteristic time-scales of the flow.
LuckyTran 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
On grid independent solution for pulsatile flow David FLUENT 5 March 25, 2022 03:33
courant number in vof reza_gharib1369 FLUENT 49 February 26, 2020 16:55
grid independence and time step independence in VOF computation yhy20081016 FLUENT 0 July 6, 2014 06:42
interDyMFoam in parallel idefix OpenFOAM Running, Solving & CFD 0 May 21, 2013 02:34
time step and grid convergence ojha.mayank485 CFX 1 May 3, 2011 19:04


All times are GMT -4. The time now is 11:20.