Professional Documents
Culture Documents
Adapted from material of A. Bakker Applied CFD & An Introduction to CFD of S. Lan
However, if the flow is incompressible the density is constant and not linked to pressure. The solution of the Navier-Stokes equations is then complicated by the lack of an independent equation for pressure.
3
10
A=
V x
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
30
31
cold
hot
32
Convergence
The iterative process is repeated until the change in the variable from one iteration to the next becomes so small that the solution can be considered converged. At convergence:
All discrete conservation equations (momentum, energy, etc.) are obeyed in all cells to a specified tolerance. The solution no longer changes with additional iterations. Mass, momentum, energy and scalar balances are obtained.
Residuals measure imbalance (or error) in conservation equations. The absolute residual at point P is defined as:
RP = a P P nb anb nb b
33
Convergence
Residuals are usually scaled relative to the local value of the property in order to obtain a relative error:
RP , scaled
a P P nb anb nb b = a P P
They can also be normalized, by dividing them by the maximum residual that was found at any time during the iterative process. An overall measure of the residual in the domain is: a P P nb anb nb b R = all cells a P P
all cells
It is common to require the scaled residuals to be on the order of 10-3 to 10-4 or less for convergence.
34
35
36
37
aPnb anbnb = bP
nb
38
39
40
41
42
43
44
45
46
47
48
49
51
52
53
54
55
56