Temporal discretization
In case of transient problems, the simulations conducted using CAE packages require discretizing the governing equations both in space and time. Such problems are unsteady (for e.g.; flow problems) and therefore provide solution which varies with time for a particular position. Temporal discretization involves the integration of every term in different equations over a time step (Δt). The spatial domain can be discretized to produce a semi-discrete form:[1]
If the discretization is done using backward differences; The first order temporal discretization is given as:[2]
And the second order discretization is given as:
where
φ = a scalar quantity.
n+1 = value at the next time level,t+Δt.
n = value at the current time level,t.
n-1 = value at the previous time level, t-Δt.
The function F() is evaluated using implicit and explicit time integration.[3]
Description
The temporal discretization is done through integration over time on the general discretized equation. First, values at a given control volume P at time interval t are assumed and then value at time interval t+Δt is found. This method states that the time integral of a given variable is equal to a weighted average between current and future values. The integral form of the equation can be written as:
where f is weighing factor ranges between 0 and 1. If
f = 0.0 results in the fully explicit scheme. f = 1.0 results in the fully implicit scheme. f = 0.5 results in the Crank-Nicolson scheme.
For any control volume this integration holds true for any discretized variable. The following equation is obtained when applied to the governing equation including full discretized diffusion, convection, and source terms.[4]
Methods for evaluating function F()
After discretizing the time derivative, function F() remains to be evaluated. The function is now evaluated using implicit and explicit time integration.[5]
Implicit Time Integration
This methods evaluates the function F() at a future time.
Formulation
The evaluation using Implicit Time Integration is given as:
This is called implicit integration as φ(n+1) in a given cell is related to φ(n+1) in neighboring cells through F(φ(n+1)):
In case of Implicit method, the setup is unconditionally stable and can is handle large time step (Δt). But, stability doesn't mean accuracy. Therefore, large Δt affects accuracy and defines time resolution. But, behavior may involve physical timescale that needs to be resolved.
Explicit Time Integration
This methods evaluates the function F() at a current time.
Formulation
The evaluation using Explicit Time Integration is given as:
And is referred as explicit integration since φ(n+1) can be expressed explicitly in the existing solution values, φ(n):
Here, the time step (Δt) is restricted by stability limit of the solver (i.e., time step is limited by the Courant–Friedrichs–Lewy condition. To be accurate w.r.t time, same time step should be used in all the domain and to be stable, the time step must be the minimum of all the local time steps in the domain. This method is also referred to as "global time stepping".
Examples
Many schemes use Explicit Time Integration. Some of these are as follows :
- Von Neumann stability analysis.
- Courant–Friedrichs–Lewy condition.
- Lax–Wendroff method.
- Runge-Kutta Method.