Docsity

Relaxation Technique - Computational Fluid Dynamics - Lecture Slides, Slides of Dynamics

Partial preview of the text

Download Relaxation Technique - Computational Fluid Dynamics - Lecture Slides and more Slides Dynamics in PDF only on Docsity!

Relaxation technique is suitable for

solving elliptic equations such as

the steady state heat conduction equation

and incompressible potential flow equation.

Note that we solved the heat conduction

equation as an unsteady problem in which

case the equation was parabolic.

Steady state solution in that case was

obtained as an asymptote.

Relaxation technique is an iterative technique particularly suited for elliptic

partial differential equations.

Examples are:

•Steady state heat conduction problem

•Incompressible steady flow problems

It can be explicit or implicit

Here we will use an explicit technique known as point-iterative method.

Consider a 2D, steady, incompressible, irrotational flow.

The governing equation can be written in cartesian coordinates in terms of

the velocity potential φ.

2 2

2 2

x y

∂ φ ∂ φ

1, , 1, , 1 , , 1

2 2

2 2

0......(6.32)

( ) ( )

i j i j i j i j i j i j

x y

φ φ φ φ φ φ

  • − + −

− + − +

  • =

∆ ∆

If we treat only φi,j as the unknown, the rest of the terms assumed to be

known from the previous iterations, then an explicit solution is

possible.

If we represent the iteration level by n, then the following equation can

be written using Eq. (6.32)

, 1

1, 1, , 1

2 2

1

,

2 2 2 2

n

i j

i j i j i j

n

n n

n

i j

x y

x y x y

  • − −

For starting the solution, initial guesses are made, such as a uniform flow

at the interior points.

After solution is completed at all the interior points, the next iteration step

begins.

The values at a node is updated as soon as it becomes available.

This procedure speeds up convergence.

Iteration is terminated when a specified convergence criterion is satisfied.

Successtive Over-Relaxation (SOR)

A modification of the is method is called successive over-relaxation,

explained below. Define the following intermediate value.

1, 1, , 1

1 1

2 2

, 1

1

,

2 2 2 2

i j i j i j

n n n n

i j

n

i j

x y

x y x y

  • − +

−

The equation can first be non-dimensionalized as follows:

,

,

r

r

r

r

RU R

u u

u u

U U

θ

θ

φ

φ

∞

= =

= =

∞ ∞

The transformed equation becomes

2 2

2 2 2

1 1

0

r r r r

φ φ φ

θ

∂ ∂ ∂

    • =

∂ ∂ ∂

2

1, , 1, 1, 1, , 1 , , 1

, ,

2 2

Nondimensionalizing is equivalent to choosing R = 1, and U = 1.

i j i j i j i j i j i j i j i j

i j i j

  • − + − + −

∞

For convenience, define a new variable σ = 1/r

2 2

, ,

, 1, 1,

2 2 2

,

1, 1, , 1 , 1

2

choosing R = 1, and U = 1

i j i j

i j i j i j

i j

i j i j i j i j

σ σ

φ φ φ

σ θ σ

σ

φ φ φ φ

σ θ

∞

  • −

  • − + −

Solution by Relaxation technique

We’ll denote the iteration step by a superscript (recall that previously

we used superscript for time step which should not be confused with

the present use of the superscript).

The following symbol notation will be be used in writing the algorithm

At iteration steps n and (n+1) we will write the dependent variable at

node (i,j) as:

1

, ,

and

n n

i j i j

φ φ

We can now implement the SOR technique discussed earlier.

SOR technique yields the following value at iteration step (n+1)

1 1

, , , ,

n n n n

i j i j i j i j

φ φ ω φ φ

For SOR, ω should lie between 1 and 2.

Boundary Conditions

There are three boundaries for the flow domain.

  • cylinder surface

•far field conditions

•line of symmetry

For simplicity we will assume U_infinity = 1 and R = 1 (σ = 1).

I+1,j I,j

I+1,j I,j

n+1 n+

1

I+1+j

n+1 n+

φ -φ

φ

or

φ =φ ............(10.39)

n

σ σ

If we use a first order one-sided difference for the above condition we can

write

I+

I

I-

boundary

If we use 2

nd

order accurate derivative at the surface we can obtain the

condition at the surface using the following Taylor series expansion

I+

I

I-

boundary