25.03.2015 Views

a reduced model for internal waves interacting with submarine ...

a reduced model for internal waves interacting with submarine ...

a reduced model for internal waves interacting with submarine ...

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.

Setξ=πξ/l. In the new coordinatesφ(ξ,ζ)=φ(ξ,ζ) satisfies<br />

⎧<br />

) 2φξξ<br />

+φ ζζ = 0, −h 2 /L≤ζ≤ 0, 0≤ξ≤2π,<br />

( π<br />

2<br />

⎪⎨<br />

⎪⎩<br />

φ(0,ζ)=φ(2π,ζ),<br />

φ ζ (ξ, 0)=g(ξ),<br />

φ ζ (ξ,−h 2 /L)=0.<br />

(C.1)<br />

We consider the Fourier Series inξ∈[0, 2π] <strong>with</strong> its coefficients given by<br />

ˆ f (k)=<br />

∫ 2π<br />

0<br />

f (ξ)= 1<br />

2π<br />

f (ξ)e −ikξ dξ,<br />

∞∑<br />

k=−∞<br />

ˆ f (k)e ikξ .<br />

(C.2)<br />

The Discrete Fourier Trans<strong>for</strong>m (DFT) inξ is<br />

ˆ f (k)=∆ξ<br />

N∑<br />

j=1<br />

f (ξ j )e −ikξ j<br />

, ξ j = j∆ξ, ∆ξ= 2π<br />

N ,<br />

exactly the same one used by Trefethen [28] together <strong>with</strong> the inverse<br />

f (ξ j )= 1<br />

2π<br />

∑N/2<br />

k=−N/2+1<br />

ˆ f (k)e ikξ j<br />

, j=1,..., N,<br />

where k∈{−N/2+1,..., N/2} because in the discrete domain e ik j∆ξ = e ik j2π/N so<br />

there is no difference <strong>for</strong> k=k 0 mod N.<br />

94

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

Saved successfully!

Ooh no, something went wrong!