CFD-FVM-11: The finite volume method for unsteady flows

YiQi 管理员

Introduction

The conservation law for the transport of a scalar in an unsteady flow has the general form

The finite volume integration with a further integration over a finite time step of this equation over a control volume gives

One-dimensional unsteady heat conduction

Unsteady one-dimensional heat conduction is governed by the equation

Consider a control volume as shown in the figure below:

Integration over the control volume and over a time interval from to gives

FVM discretization of the above equation gives

The left hand side can be written as

If we apply central differencing to the diffusion terms on the right hand side we may have

For right hand side we could use temperatures at time or at time to calculate the time integral or, alternatively, a combination of temperatures at time and . We may generalise the approach by means of a weighting parameter between 0 and 1 and write the integral of temperature with respect to time as

Dividing the discretization equation by we have

which may be rearranged to give

In a general form we may write

where

When is zero the resulting scheme is called explicit. When the resulting schemes are called implicit. When the resulting scheme is called fully implicit and the case corresponding to is called Crank-Nicolson scheme.

Explicit scheme

Its Taylor series truncation error accuracy is first-order with respect to time. All coefficients need to be positive in the discretised equation. For constant k and uniform grid spacing, this condition may be written as

Crank-Nicolson scheme

The Crank–Nicolson method results from setting .

Since more than one unknown value of at the new time level is present the method is implicit, and simultaneous equations for all node points need to be solved at each time step. Although schemes with , including the Crank–Nicolson scheme, are unconditionally stable for all values of the time step (Fletcher, 1991), it is more important to ensure that all coefficients are positive for physically realistic and bounded results. This is the case if the coefficient of satisfies the following condition:

The fully implicit scheme

Both sides of the equation contain temperatures at the new time step, and a system of algebraic equations must be solved at each time level. It can be seen that all coefficients are positive, which makes the implicit scheme unconditionally stable for any size of time step. Since the accuracy of the scheme is only first-order in time, small time steps are needed to ensure the accuracy of results. The implicit method is recommended for generalpurpose transient calculations because of its robustness and unconditional stability.

Implicit method for two- and three-dimensional problems

The fully implicit method is recommended for general-purpose CFD computations on the grounds of its superior stability.

A three-dimensional control volume is considered for the discretisation. The resulting equation is

where

1D - - - -
2D - -
3D
1D 2D 3D
1
-
- -

Discretisation of transient convection-diffusion equation


or

The fully implicit discretisation equation is

where

with

One-dimensional Two-dimensional Three-dimensional
0
0
0 0
0 0

In the above expressions the values of and are calculated with the following formulae:

Face w e s n b t

Read the example in the book.

Solution procedures for unsteady flow calculations

Transient SIMPLE

The integrated form of this equation over a two-dimensional scalar control volume becomes

Note that compared to steady flow, becomes
$$b_{I, J}^\prime = (\rho u^A)_{i, J} - (\rho u^A){i + 1, J} + (\rho v^*A){I, j} - (\rho v^*A)_{I, j + 1} + \frac{(\rho_P^0 - \rho_P)}{\Delta t}\Delta V$$

The transient PISO algorithm

The PISO method has yielded accurate results with sufficiently small time steps (see e.g. Issa et al, 1986; Kim and Benson, 1992). Since the PISO method does not require iterations within a time level it is less expensive than the implicit SIMPLE algorithm.

Steady state calculations using the pseudotransient approach

The under-relaxed form of the two-dimensional -momentum equation takes the form

Compare this with the transient (implicit) -momentum equation

We immediately note a clear analogy between transient calculations and underrelaxation in steady state calculations. It can be easily deduced that

This formula shows that it is possible to achieve the effects of under-relaxed iterative steady state calculations from a given initial field by means of a pseudo-transient computation starting from the same initial field by taking a step size that satisfies (8.48). Alternatively steady state calculations may be interpreted as pseudo-transient solutions with spatially varying time steps.

Summary

Scheme Stability Accuracy Positive coefficient criterion
Explicit Conditionally stable First-order
Crank-Nicolson Unconditionally stable Second-order
Implicit Unconditionally stable First-order Always positive