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

No. of Iterations per Timestep

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By TimCFD
  • 1 Post By hwsv07

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 1, 2015, 13:49
Default No. of Iterations per Timestep
  #1
Member
 
Join Date: Nov 2014
Posts: 88
Rep Power: 11
hwsv07 is on a distinguished road
I am running LES unsteady simulations and I want a time-series solution.

For a given timestep, I want to have an accurate intepretation of the evolution.

My problem is that I dunno how many iterations I should run per time step?
What do I need to judge and what parameters should I check/limit?

Appreciate all help please.
hwsv07 is offline   Reply With Quote

Old   May 2, 2015, 14:39
Default
  #2
New Member
 
Tim Meier
Join Date: Mar 2015
Posts: 16
Rep Power: 11
TimCFD is on a distinguished road
It is very important to ensure the convergence within each time step. Create some monitor points in your domain near "busy" locations (e.g. inside jets, at separation points, ...) and check the convergence of the pressure.

The pressure convergence can be checked with a plot (pressure on the y-axis and the number of iterations on the x-axis). Now you can adjust the number of inner iterations in order to get a "constant" converged pressure value within a time step.
danielslira likes this.
TimCFD is offline   Reply With Quote

Old   May 2, 2015, 15:04
Default
  #3
Member
 
Join Date: Nov 2014
Posts: 88
Rep Power: 11
hwsv07 is on a distinguished road
Quote:
Originally Posted by TimCFD View Post
It is very important to ensure the convergence within each time step. Create some monitor points in your domain near "busy" locations (e.g. inside jets, at separation points, ...) and check the convergence of the pressure.

The pressure convergence can be checked with a plot (pressure on the y-axis and the number of iterations on the x-axis). Now you can adjust the number of inner iterations in order to get a "constant" converged pressure value within a time step.
Thanks. I will try that.

Im using StarCCM to run my simulations. Within it, the default residual plot monitors the residues of x,y,z momentum and continuity.

My problem involves flow separation over a bluff body. So im guessing i should place a probe at the shear layer and monitor the pressure for convergence. But is there any smart way to select the point or I just have to choose?

typically, how many inner iterations are required?
im running 20 per timestep now. Why 20? i just picked a number cos I read somewhere that for smaller global timestep, the number of inner iterations can be small.
danielslira likes this.
hwsv07 is offline   Reply With Quote

Old   May 3, 2015, 06:35
Default
  #4
Member
 
shahrooz
Join Date: Aug 2011
Posts: 41
Rep Power: 14
shahrooz.omd is on a distinguished road
Quote:
Originally Posted by hwsv07 View Post
Thanks. I will try that.

Im using StarCCM to run my simulations. Within it, the default residual plot monitors the residues of x,y,z momentum and continuity.

My problem involves flow separation over a bluff body. So im guessing i should place a probe at the shear layer and monitor the pressure for convergence. But is there any smart way to select the point or I just have to choose?

typically, how many inner iterations are required?
im running 20 per timestep now. Why 20? i just picked a number cos I read somewhere that for smaller global timestep, the number of inner iterations can be small.
yes you can choose lower iterations for each time step if you set smaller time steps, since with smaller time steps flow changes are smaller too, so the equations converge faster
shahrooz.omd is offline   Reply With Quote

Old   May 4, 2015, 02:44
Default
  #5
New Member
 
Vukosi
Join Date: May 2015
Posts: 1
Rep Power: 0
Vukosi is on a distinguished road
I am quite new to CFD and the forum so pardon my "inappropriateness" if any exists. I am running a simulation and a set it on 1500 simulation but the solution completes before the iterations are complete, i.e at 600 iterations. What is the meaning of that? Does it mean that the solution has converged?
Vukosi is offline   Reply With Quote

Old   May 4, 2015, 02:51
Default
  #6
Member
 
shahrooz
Join Date: Aug 2011
Posts: 41
Rep Power: 14
shahrooz.omd is on a distinguished road
Quote:
Originally Posted by Vukosi View Post
I am quite new to CFD and the forum so pardon my "inappropriateness" if any exists. I am running a simulation and a set it on 1500 simulation but the solution completes before the iterations are complete, i.e at 600 iterations. What is the meaning of that? Does it mean that the solution has converged?
probably residuals become smaller than a defined value.
shahrooz.omd is offline   Reply With Quote

Old   May 4, 2015, 03:16
Default
  #7
Member
 
Join Date: Nov 2014
Posts: 88
Rep Power: 11
hwsv07 is on a distinguished road
Quote:
Originally Posted by Vukosi View Post
I am quite new to CFD and the forum so pardon my "inappropriateness" if any exists. I am running a simulation and a set it on 1500 simulation but the solution completes before the iterations are complete, i.e at 600 iterations. What is the meaning of that? Does it mean that the solution has converged?
typically u set a converging critertion and maximum number of iterations. In your case, you have set your maximum iterations to be 1500 and another criterion (e.g. pressure) to converge. So when either the max iterations is reached or your other criterion is met, your simulation stops.
hwsv07 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
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 08:35
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24


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