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

Question Regarding Convergence and Time Step Selection

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2009, 16:56
Default Question Regarding Convergence and Time Step Selection
  #1
New Member
 
Claudio
Join Date: Jul 2009
Posts: 9
Rep Power: 17
Claudio2010 is on a distinguished road
Hi,

I've been reading practical tutorials and seen that a reasonable target value for RMS residual for steady state simulations is 0.0001.

However, I'm not quite sure for transient problems what is an appropriatte target value. I understand transient simulations are solved by computing a steady state solution for many discrete points in time. Each steady state solution is iterated through a number of inner loops called “coefficient loops”. What is a reasonable RMS target for each time step? I've read that 3-5 loops should allow you to reach convergence.

I've noticed CFX by default monitors the RMS for each timestep. If the RMS value for that timestep is above the target, does that mean the solution is not converged? Should I wait until all monitored RMS quantities are below the target for all time steps from there on to be confident about my solution?

What other quantities are good practice to monitor in order to trust the obtained solution?

Thanks!
Claudio2010 is offline   Reply With Quote

Old   September 12, 2009, 17:40
Default
  #2
Member
 
Jules Bell
Join Date: May 2009
Posts: 32
Rep Power: 17
Jules is on a distinguished road
I usually use a target value of 1e-4 for the MAX Residual.

And yes, if the residual is higher than your set convergence limit, then the solution for that timestep has not converged within the maximum number of coefficient loop iterations.
Jules is offline   Reply With Quote

Old   September 13, 2009, 02:45
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
seen that a reasonable target value for RMS residual for steady state simulations is 0.0001.
No. It is problem dependent. Some need tighter convergence some looser. That's why you have to do a sensitivity check for your type of simulation. 1e-4 is a useful starting point but it nothing more than your first guess.

Quote:
I understand transient simulations are solved by computing a steady state solution for many discrete points in time.
Wrong. Transient simulations are quite different to steady state as the underlying equations now have additional transient terms. Because the underlying equations are different the numerical approach is different. But yes, I can see how it looks like a series of steady state simulations - but it is not. The residual values to converge a steady state simulation are not equivalent to the residuals reported in the same simulation run as a transient - the residual is calculated different and so the numbers are not comparable.

Quote:
What is a reasonable RMS target for each time step? [For a transient simulation]
1e-4 is a good starting point, but again nothing more than a starting point. You need to do a sensitivity analysis to determine whether tighter or looser is OK.

Quote:
I've read that 3-5 loops should allow you to reach convergence.
Yes, this is a good way of determining the timestep size for a transient simulation. Note that this will also mean that as you tighten the convergence critereon you will get smaller timesteps - the two effects are coupled numerically.

Quote:
Should I wait until all monitored RMS quantities are below the target for all time steps from there on to be confident about my solution?
Once you have determined what convergence you require by a sensitivity analysis then yes, if you have not achieved it your simulation is not converged. If you have guessed the convergence critereon then who knows whether it is converged or not.

Quote:
What other quantities are good practice to monitor in order to trust the obtained solution?
That depends on the problem and what you want to do with it. If you are looking at aerofoils then you are probably most interested in lift and drag. If you are looking at a valve design then maybe pressure loss. If you are looking at a HVAC flow then maybe the temperature at various points in the room. You should monitor whatever is important to your analysis and check it looks like it has converged.
ghorrocks is offline   Reply With Quote

Old   September 14, 2009, 11:31
Default
  #4
New Member
 
Claudio
Join Date: Jul 2009
Posts: 9
Rep Power: 17
Claudio2010 is on a distinguished road
Hi,

Thank you very much for your replies.

Glen,

I'm not exactly sure how to perform that sensitivity analysis. What you mean is that I should see how my answer varies as I use different target values for RMS? As long as the answer doesn't change significantly as I increase the target RMS, I could use that higher value (or lower, eventually), right?
Claudio2010 is offline   Reply With Quote

Old   September 14, 2009, 19:39
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
I should see how my answer varies as I use different target values for RMS?
Yes, that is correct. You vary the input and see how the output changes. You can then set the input to the level which gives a level of convergence acceptable for the accuracy you are looking for.
ghorrocks 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 31 October 23, 2020 23:50
Changing deltaT of current time step olwi OpenFOAM Running, Solving & CFD 1 April 30, 2009 05:55
false time step implementation for steady state Kushagra CFX 1 June 22, 2008 20:06
Time step - Turbulence - Convergence Camilo Costa CFX 0 March 13, 2008 15:23
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 05:01.