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

How to set minimum number of iterations in Fluent?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2015, 01:44
Question How to set minimum number of iterations in Fluent?
  #1
Member
 
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11
Pierre1 is on a distinguished road
Sometimes we need to set a minimum number of iterations the simulations shall run. How to set that up in Fluent? CFX has this option but I didn’t find it out in Fluent.
Pierre1 is offline   Reply With Quote

Old   March 21, 2015, 06:41
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
If there are no settings to restrict the minimum number of iterations, then you could remove the convergence criteria, run for x iterations and then turn the convergence criteria back on.
`e` is offline   Reply With Quote

Old   March 21, 2015, 08:36
Question
  #3
Member
 
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11
Pierre1 is on a distinguished road
Quote:
Originally Posted by `e` View Post
If there are no settings to restrict the minimum number of iterations, then you could remove the convergence criteria, run for x iterations and then turn the convergence criteria back on.
Sometimes I run hundreds of simulations by Workbench. I can't do that manually for each of them. Is there a better way to achieve that?
Pierre1 is offline   Reply With Quote

Old   March 21, 2015, 17:03
Default
  #4
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Ok, to automate this process, have a read of this article on using Scheme and a UDF; use the rp-variable as an iteration counter (and when it reaches x, set the convergence criteria on).
`e` is offline   Reply With Quote

Old   March 22, 2015, 19:34
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
As far as I know, there's no setting for minimum number of iterations.

I've also just turned off all convergence monitors until the minimum iterations has been reached and then turned them on. This is fairly straightfoward to do using TUI or a journal file so it is not cumbersome.

It would be a nice feature to have in future versions, especially for unsteady simulations is a very useful feature to have.
LuckyTran is offline   Reply With Quote

Old   May 23, 2018, 11:06
Default
  #6
New Member
 
Johann Möller
Join Date: Sep 2016
Posts: 1
Rep Power: 0
Johann Möller is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
As far as I know, there's no setting for minimum number of iterations.

I've also just turned off all convergence monitors until the minimum iterations has been reached and then turned them on. This is fairly straightfoward to do using TUI or a journal file so it is not cumbersome.

It would be a nice feature to have in future versions, especially for unsteady simulations is a very useful feature to have.
Hi LuckyTran,

I know this a fairly old thread, but hopefully you can still help me. I am trying to do the same the same as you - turn off all my convergence monitors and only turn then on after the minimum number of iterations - but I am struggling to manage. How did you do it?

Thanks
Johann Möller is offline   Reply With Quote

Old   May 23, 2018, 14:33
Default
  #7
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You can't do it. You have to do it manually. That means run it with all monitors off, and then turn on the monitors and run again.
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
Maximum number of iterations exceeded chtmultiregionsimpleFoam Moncef OpenFOAM Running, Solving & CFD 28 July 13, 2020 14:26
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 08:35
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37


All times are GMT -4. The time now is 17:54.