0% found this document useful (0 votes)
41 views3 pages

Adaptive Time Stepping

Uploaded by

wamako5066
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views3 pages

Adaptive Time Stepping

Uploaded by

wamako5066
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

2/29/24, 3:48 PM ANSYS FLUENT 12.0 User's Guide - 26.12.

2 Adaptive Time Stepping

26.12.2 Adaptive Time Stepping


As mentioned in Section 26.12.1, it is possible to have the size of the time step change as the calculation
proceeds, rather than specifying a fixed size for the entire calculation. This section provides a brief
description of the algorithm that ANSYS FLUENT uses to compute the time step size, as well as an
explanation of each of the parameters that you can set to control the adaptive time stepping.

Adaptive time stepping is available only with the pressure-based and density-based implicit
formulations; it cannot be used with the density-based explicit formulation. In addition, it cannot be
used with the discrete phase model, second-order time integration, Euler-Euler multiphase models (
this section in the separate Theory Guide), or user-defined scalars (Section 9.1).

The Adaptive Time Stepping Algorithm

The automatic determination of the time step size is based on the estimation of the truncation error associated
with the time integration scheme. If the truncation error is smaller than a specified tolerance, the size of the
time step is increased; if the truncation error is greater, the time step size is decreased.

An estimation of the truncation error can be obtained by using a predictor-corrector type of algorithm [ 28] in
association with the time integration scheme. At each time step, a predicted solution can be obtained using a
computationally inexpensive explicit method (forward Euler for the first-order unsteady formulation, Adams-
Bashford for the second-order unsteady formulation). This predicted solution is used as an initial condition
for the time step, and the correction is computed using the non-linear iterations associated with the implicit
(pressure-based or density-based) formulation. The norm of the difference between the predicted and
corrected solutions is used as a measure of the truncation error. By comparing the truncation error with the
desired level of accuracy (i.e., the truncation error tolerance), ANSYS FLUENT is able to adjust the time
step size by increasing it or decreasing it.

In cases where the truncation error remains above the specified tolerance, ANSYS FLUENT will try to meet
the tolerance within 5 attempts. If this tolerance is met, then the iteration moves on to the next time step. An
explicit scheme is used to predict the solution at each time step, then the explicit prediction is corrected with
an implicit scheme. The truncation error, which is a function of the difference between the predicted and
corrected solutions at a specific time is used to calculate the next time step. However, if the calculated
truncation error is greater than the tolerance limit, we have the option of reverting from the currently
performed iteration, which is moving from the nth step to n+1th step, and performing the iteration with a
smaller time step. Note that this option is not available for moving deforming meshes, sliding meshes, and
the discrete phase model. Since the truncation error is proportional to the time step, decreasing the time step
reduces the truncation error. This can be done until the truncation error goes below the tolerance limit.

Specifying Parameters for Adaptive Time Stepping

The parameters that control the adaptive time stepping appear in the Adaptive Time Step Settings dialog
box, as described in Section 26.12.1.

https://www.afs.enea.it/project/neptunius/docs/fluent/html/ug/node808.htm 1/3
2/29/24, 3:48 PM ANSYS FLUENT 12.0 User's Guide - 26.12.2 Adaptive Time Stepping

Figure 26.12.6: The Adaptive Time Step


Settings Dialog Box for Implicit Unsteady
Calculations and Adaptive Time Stepping

These parameters are as follows:

Truncation Error Tolerance specifies the threshold value to which the computed truncation error is
compared. Increasing this value will lead to an increase in the size of the time step and a reduction in the
accuracy of the solution. Decreasing it will lead to a reduction in the size of the time step and an increase in
the solution accuracy, although the calculation will require more computational time. For most cases, the
default value of 0.01 is acceptable.

Ending Time specifies an ending time for the calculation. Since the ending time cannot be determined by
multiplying the number of time steps by a fixed time step size, you need to specify it explicitly.

Minimum/Maximum Time Step Size specify the upper and lower limits for the size of the time step. If the
time step becomes very small, the computational expense may be too high; if the time step becomes very
large, the solution accuracy may not be acceptable to you. You can set the limits that are appropriate for your
simulation.

Minimum/Maximum Step Change Factor limit the degree to which the time step size can change at each
time step. Limiting the change results in a smoother calculation of the time step size, especially when high-
frequency noise is present in the solution. If the time step change factor, , is computed as the ratio between

the specified truncation error tolerance and the computed truncation error, the size of time step is
computed as follows:

If , is increased to meet the desired tolerance.

If , is increased, but its maximum possible value is .

If , is unchanged.

If , is decreased.

Number of Fixed Time Steps specifies the number of fixed-size time steps that should be performed before
the size of the time step starts to change. The size of the fixed time step is the value specified for Time Step
https://www.afs.enea.it/project/neptunius/docs/fluent/html/ug/node808.htm 2/3
2/29/24, 3:48 PM ANSYS FLUENT 12.0 User's Guide - 26.12.2 Adaptive Time Stepping

Size in the Run Calculation task page.

It is a good idea to perform a few fixed-size time steps before switching to the adaptive time stepping.
Sometimes spurious discretization errors can be associated with an impulsive start in time. These errors are
dissipated during the first few time steps, but they can adversely affect the adaptive time stepping and result
in extremely small time steps at the beginning of the calculation.

When the solution tends to exhibit incomplete convergence, rather than increasing the time step size
or keeping the same time step size in the next step, ANSYS FLUENT reduces the time step size by at
least half for the next time step (making sure that the time step size does not go below the specified
minimum time step size.

Specifying a User-Defined Time Stepping Method

If you want to use your own adaptive time stepping method, instead of the method described above, you can
create a user-defined function for your method and select it in the User-Defined Time Step drop-down list.
The other inputs in the Adaptive Time Step Settings dialog box will not be used when you select a user-
defined function.

See the separate UDF Manual for details about creating and using user-defined functions.

Previous: 26.12.1 User Inputs for


Up: 26.12 Performing Time-Dependent Calculations
Next: 26.12.3 Variable Time Stepping
Release 12.0 © ANSYS, Inc. 2009-01-29

https://www.afs.enea.it/project/neptunius/docs/fluent/html/ug/node808.htm 3/3

You might also like