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

adaptive time stepping and convergence

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2015, 23:03
Default adaptive time stepping and convergence
  #1
Senior Member
 
Nick
Join Date: Nov 2010
Posts: 126
Rep Power: 15
Nick R is on a distinguished road
Hi,


I was wondering if there is a way that you could set different residual convergence targets for different equations when using the adaptive time step. Is this possible? For example 1e-4 for continuity and 1e-5 for momentum etc. Thanks in advance.
Nick R is offline   Reply With Quote

Old   January 16, 2015, 04:08
Default
  #2
Member
 
Mohamad Alagheband
Join Date: Oct 2012
Posts: 41
Rep Power: 13
MUMMED is on a distinguished road
I think there is a way
in solver control setting you can adjust convergence control criteria for continuity and momentum and turbulency separately.
MUMMED is offline   Reply With Quote

Old   January 17, 2015, 13:36
Default
  #3
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 14
JuPa is on a distinguished road
No you can't do this. You can however have different schemes for advection and transient.
JuPa is offline   Reply With Quote

Old   January 19, 2015, 02:26
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by RicochetJ View Post
No you can't do this. You can however have different schemes for advection and transient.
Actually, you can. I asked Ansys support this questions a few years ago and their reply was that for transient models the option was not exposed in PRE, but could be changed using CCL. There will be an error message but it can be ignored.

This example shows how to set a different convergence critera for an additional variable.
Code:
FLOW: Flow Analysis 1
SOLVER CONTROL:
   Turbulence Numerics = First Order
   ADVECTION SCHEME:
     Option = High Resolution
   END
   CONVERGENCE CONTROL:
     Maximum Number of Coefficient Loops = 10
     Minimum Number of Coefficient Loops = 1
     Timescale Control = Coefficient Loops
   END
   CONVERGENCE CRITERIA:
     Residual Target = 1.E-6
     Residual Type = RMS
   END
   EQUATION CLASS: av
     ADVECTION SCHEME:
       Option = High Resolution
     END
     CONVERGENCE CRITERIA:
       Residual Target = 1.E-5
       Residual Type = RMS
     END
     TRANSIENT SCHEME:
       Option = Second Order Backward Euler
     END
   END
   TRANSIENT SCHEME:
     Option = Second Order Backward Euler
     TIMESTEP INITIALISATION:
       Option = Automatic
     END
   END
 END
END
Lance is offline   Reply With Quote

Old   January 19, 2015, 05:57
Default
  #5
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 14
JuPa is on a distinguished road
Wow, that's good to know. I take it then you must replace the CCL file in command line prior to running the simulation.
JuPa is offline   Reply With Quote

Old   January 19, 2015, 06:33
Default
  #6
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by RicochetJ View Post
Wow, that's good to know. I take it then you must replace the CCL file in command line prior to running the simulation.
Yes, do it either at the command line or right before you save the .def in PRE. Note that for additional variables there is just one set of options, so it is not possible to have different convergence criteria for different AVs.
Lance 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
How to determine time step size and Max. iterations per time step. pratik c FLUENT 46 January 21, 2024 12:21
Convergence issue with Euler_Explicit time stepping.!!! Vino SU2 2 January 27, 2015 14:27
number of iterations per time step chouki FLUENT 1 August 13, 2013 00:11
Convergence criterion when using dual time stepping abonfi SU2 7 April 18, 2013 13:05
Adaptive Time Stepping: extrange behavior! Freeman FLUENT 0 December 2, 2005 13:31


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