As mentioned in Section  25.17.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 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 (Section  23.2.1), or user-defined scalars (Section  9.3).

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 [ 129] 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), FLUENT is able to adjust the time step size by increasing it or decreasing it.

Specifying Parameters for Adaptive Time Stepping

The parameters that control the adaptive time stepping appear in the Iterate panel, as described in Section  25.17.1.

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 Size in the Iterate panel.

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, 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 under Adaptive Time Stepping 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: 25.17.1 User Inputs for
Up: 25.17 Performing Time-Dependent Calculations
Next: 25.17.3 Variable Time Stepping