• Keine Ergebnisse gefunden

Given initial data we can express the initial values as: wj0 = n X S=0 A¯seiαsj∆x J = 0,1

N/A
N/A
Protected

Academic year: 2022

Aktie "Given initial data we can express the initial values as: wj0 = n X S=0 A¯seiαsj∆x J = 0,1"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

322.061: Fundamentals of Numerical Thermo-Fluid Dynamics Exercise 3

A very versatile tool for analysing stability is the Fourier method developed by von Neumann. In this method, the initial values at mesh points are expressed in terms of finite Fourier series, and we consider the growth of individual Fourier components. In this method, it is not required to find eigenvalues or matrix norms. Therefore, it is one of the simplest ways to evaluate stability.

A finite sine or cosine series expansion in the interval x∈a, b takes the form:

X

s

assinsπx

L , X

s

bscossπx

L (1)

where L=b−a.

Now consider an individual component written in complex exponential form at a mesh point x=xj =a+j∆x:

AseisxπL =AseisaπL eisj∆xπL = ¯Asesj∆x; (2) where αs =sπ/L.

Given initial data we can express the initial values as:

wj0 =

n

X

S=0

sesj∆x J = 0,1, . . . , n. (3) We use then+ 1 equations above to determine the n+ 1unknowns ¯A. Now we want to find out how each Fourier mode develops in time. So we assume a simple separable solution of the form:

wjk =

n

X

S=0

sesj∆xeΩtk =

n

X

S=0

sesj∆xeΩk∆t =

n

X

S=0

sesj∆xξk; (4) where ξ=eΩ∆t which is called the amplification factor. For stability we thus require:

|ξ| ≤1. (5)

Example

As a simple example, consider the 1-Dimensional heat equation:

∂u

∂t =k∂2u

∂x2. (6)

This differential equation in discretized form can be written as:

un+1j =unj +r(unj+1−2unj +unj−1); (7) where r= ∆xk∆t2. For each term we can write the Fourier mode developed in time:

wnj =esj∆xξn; wn+1j =esj∆xξn+1; wnj+1 =es(j+1)∆xξn; wnj−1 =es(j−1)∆xξn.

(8)

1

(2)

Exercise 3 322.061: Fundamentals of Numerical Thermo-Fluid Dynamics

These terms should also satisfy the heat equation:

wjn+1 =wjn+r(wnj+1−2wnj +wnj−1). (9) Now we can plug in our defined single separable solutions into the discretized equation as follows (after simplification):

ξ= 1 +r(es∆x+e−iαs∆x−2). (10) Using the following definitions:

cos(αs∆x) = es∆x+e−iαs∆x

2 , sin2

αs∆x 2

= 1−cos(αs∆x)

2 ; (11)

the above equation can be written as:

ξ = 1−4rsin2

αs∆x 2

. (12)

The necessary and sufficient condition for the error to remain bounded is that |ξ| ≤1, so:

1−4rsin2

αs∆x 2

≤1; (13)

which has to be hold for all values ofsin2(. . .), therefore:

k∆t

∆x2 ≤ 1

2; (14)

represents the stability requirement of this finite difference scheme.

2

Referenzen

ÄHNLICHE DOKUMENTE

von expr berehnet und dann oben auf dem Stak ablegt... analog für die anderen Operatoren ..... Idee:.. • Übersetze den Ausdruk auf der

Since verb movement to C reflects only A+, the structure is compatible with S+ (exclamative) as well as S– (interrogative), thus the value of S is left unspecified at this step of

This index reduction method permits us to establish a relation between the hid- den constraints of two modeling techniques in circuit simulation, the conven- tional Modied

Finally, the above two points notwithstanding, to the best of our knowledge, there are no theoretical studies that have analyzed how small initial differences in the physical

Universität Tübingen Mathematisches

Note 7 found that parallel resistance trimming of the magnets was highly effective to compensate for the different chamber resistances.. This Note finalises the choice of

Nun ist aber eine Division nur sinnvoll, wenn der Divisor nicht null ist.. Man kann nicht durch null

In this section, we report the results of our computa- tional experiments where we compare the performance of the robust mirror descent SA method and the SAA method applied to