13.07.2015 Views

PhD thesis in English

PhD thesis in English

PhD thesis in English

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

first part of the propagation accord<strong>in</strong>g to Eq. (A.6), while after the additional stepaccord<strong>in</strong>g to Eq. (A.7), the propagation to t+ǫ is f<strong>in</strong>ished, and a new wave functionφ n+1 (r) is calculated. F<strong>in</strong>ally, we rewrite Eqs. (A.6) and (A.7) <strong>in</strong> the approximatediscretized form:φ n+1/2 (r) = e −iε „12 r2 +g˛ φn (r) ˛r˛2« φ n (r), (A.8)i 1 (φ n+1 (r) − φ n+1/2 (r) ) = − 1 ∂ 2 φ n+1/2− 1 ∂ 2 φ n+1. (A.9)ε4 ∂r 2 4 ∂r 2In the last equation, we have used the semi-implicit Crank-Nicolson method [137],which is highly accurate, robust and <strong>in</strong>expensive method for solv<strong>in</strong>g general diffusionequations. The accuracy of the approximation is ε 2 .To reduce the obta<strong>in</strong>ed differential equations to the algebraic form, we additionallyperform space discretization with the discretization step h. To this end,we <strong>in</strong>troduce <strong>in</strong>dex i, which takes values from 0 to i max − 1, and approximate thesecond-order spatial derivative <strong>in</strong> the standard way:∂ 2 φ n→ 1 ( )φn∂r 2 4h 2 i+1 − 2φ n i + φ n i−1 , (A.10)with the error of the order of h 2 . As a result, we obta<strong>in</strong> a tridiagonal system ofequations:where−Aφ n+1i+1 + Bφn+1 i − Aφ n+1i−1 = δ i ,(A.11)δ i = (ε/4h 2 )φ n+1/2i+1 + ( 1 − ε/2h 2) φ n+1/2i +(ε/4h 2 )φ n+1/2i−1 , A = ε/4h 2 , B = 1+ε/2h 2 .A solution of a tridiagonal system of equations can be cast <strong>in</strong> the form:φ n+1i+1 = α iφ n+1i + β i , (A.12)and from this Ansatz we f<strong>in</strong>d the recursive relations for the solution:α i−1 =AB − Aα i,β i−1 = δ i + Aβ iB − Aα i.(A.13)From the boundary condition φ n i max= φ n+1/2i max, we derive <strong>in</strong>itial values for α and β:α imax−1 = 0 and β imax−1 = φ n+1/2i max, which we use to solve the recursive equations139

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!