17.08.2013 Views

Publishers version - DTU Orbit

Publishers version - DTU Orbit

Publishers version - DTU Orbit

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.

To find the coefficients Cij(k) we calculate the covariance tensor of Eq. (84) obtaining<br />

C ∗ ik(k)Cjk(k)<br />

1<br />

=<br />

V 2 <br />

〈ui(x)uj(x<br />

(B) B B<br />

′ )〉e ik·x e −ik·x′<br />

dxdx ′<br />

1<br />

=<br />

V 2 <br />

Rij(x −x<br />

(B)<br />

′ )1B(x)1B(x ′ )e ik·(x−x′ ) ′<br />

dxdx ,<br />

where 1B(x) = 1 if x ∈ B and 0 otherwise. Using the change of variables r = x −x ′ and<br />

s = x +x ′ having the Jacobian |∂(r,s)/∂(x,x ′ )| = 8 we get<br />

1<br />

Cik(k)Ckj(k) =<br />

8V 2 <br />

Rij(r)e<br />

(B)<br />

−ik·r<br />

<br />

s +r s −r<br />

1B 1B dsdr (86)<br />

2 2<br />

The inner integration can be carried out according to<br />

⎧<br />

⎪⎨<br />

3<br />

s +r s −r 2(Ll −|rl|) for |rl| < Ll for all l<br />

1B 1B ds =<br />

2 2 ⎪⎩ l=1<br />

0 otherwise<br />

so, usingthe convolutiontheoremand notingthat the Fouriertransform ofL−|r| (for |r| < L<br />

and else 0) is L2sinc 2 (kL/2), we get<br />

C ∗ ik (k)Cjk(k)<br />

<br />

= Φij(k ′ 3<br />

) sinc 2<br />

<br />

(kl −k ′ l )Ll<br />

<br />

dk<br />

2<br />

′ , (88)<br />

l=1<br />

where sincx ≡ (sinx)/x. For Ll ≫ L, the sinc 2 -function is ‘delta-function-like’, in the sense<br />

that it vanishes away from kl much faster than any change in Φij, and the area beneath the<br />

sinc 2 -curve is 2π/Ll. Therefore, we get<br />

The solution to Eq. (89) is<br />

(85)<br />

(87)<br />

C ∗ ik(k)Cjk(k) = (2π)3<br />

V(B) Φij(k). (89)<br />

Cij(k) = (2π)3/2<br />

V(B) 1/2Aij(k) = (∆k1∆k2∆k3) 1/2 Aij(k) (90)<br />

with A ∗ ik Ajk = Φij and ∆kl = 2π/Ll. This result should be expected when comparing Eq.<br />

(26) to (83).<br />

Twoproblems occurby simulatingafieldby the Fourierseries Eq. (83) with the coefficients<br />

Eq. (90). The first is that for many applications the dimensions of the simulated box of<br />

turbulence need not to be much larger than the length scale of the turbulence model L.<br />

Therefore Eq. (89) may not be a good approximation to Eq. (88). The second problem is<br />

that the simulated velocity field Eq. (83) is periodic in all three directions. Both problems<br />

have been addressed in Mann (1998).<br />

The algorithms above simulate a three-dimensional vector field on a three-dimensional<br />

domain, but it can easily be modified to simulate one- or two-dimensional vectors in a 2- or<br />

3-D domain (Mann, 1998). The algorithms are not needed for a one-dimensional domain, i.e.<br />

simulation of wind fluctuations in one point as a function of time.<br />

The implementation of the model includes three steps:<br />

1. Evaluate the coefficients Cij(k), either by Eq. (90) or a modification of this (Mann,<br />

1998).<br />

2. Simulate the Gaussian variable nj(k) and multiply.<br />

3. Calculate ui(x) from Eq. (83) by FFT.<br />

The time consumption in the first step is proportional to the total number of points N =<br />

N1N2N3 in the simulation. The required time to perform the FFT is O(N log 2N) (Press<br />

et al., 1992). In practice, simulating a three-dimensional field, used for load calculations on<br />

wind turbines, with millions of velocity vectors takes of the order of a few minutes on a<br />

modern pc.<br />

68 <strong>DTU</strong> Wind Energy-E-Report-0029(EN)

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

Saved successfully!

Ooh no, something went wrong!