Transport: Non-diffusive, flux conservative initial value problems and ...
Transport: Non-diffusive, flux conservative initial value problems and ...
Transport: Non-diffusive, flux conservative initial value problems and ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Transport</strong> equations 67<br />
j-1<br />
F(j-1/2) F(j+1/2)<br />
j<br />
Figure 5.6: A simple staggered grid used to define the control volume approach. Dots<br />
denote nodes where average <strong>value</strong>s of the control volume are stored. X’s mark control<br />
volume boundaries at half grid points.<br />
tive of the average <strong>value</strong> of the control volume, then we can replace the first integral<br />
by cj∆x. The second integral is the surface integral of the <strong>flux</strong> <strong>and</strong> is exactly<br />
j+1<br />
�<br />
cV · dS = cj+1/2Vj+1/2 − cj−1/2Vj−1/2 s<br />
(5.5.11)<br />
which is just the difference between the <strong>flux</strong> at the boundaries F j+1/2 <strong>and</strong> F j−1/2.<br />
Eq. (5.5.11) is exact up to the approximations made for the <strong>value</strong>s of c <strong>and</strong> V at<br />
the boundaries. If we assume that we can interpolate linearly between nodes then<br />
c j+1/2 = (cj+1 + cj)/2. If we use a centered time step for the time derivative then<br />
the <strong>flux</strong> <strong>conservative</strong> centered approximation to<br />
is<br />
c n+1<br />
j<br />
− cn−1<br />
j<br />
∂c ∂cV<br />
+<br />
∂t ∂z<br />
= 0 (5.5.12)<br />
∆t �<br />
�<br />
= − Vj+1/2(cj+1 + cj) − Vj−1/2(cj + cj−1)<br />
∆x<br />
(5.5.13)<br />
or if V is constant Eq. (5.5.13) reduces identically to the staggered leapfrog scheme.<br />
By using higher order interpolations for the <strong>flux</strong>es at the boundaries additional differencing<br />
schemes are readily derived. The principal utility of this sort of differencing<br />
scheme is that it is automatically <strong>flux</strong> <strong>conservative</strong> as by symmetry what<br />
leaves one box must enter the next. The following section will develop a slightly<br />
different approach to choosing the <strong>flux</strong>es by the direction of transport.<br />
5.5.3 Upwind Differencing (Donor Cell)<br />
The fundamental behaviour of transport equations such as (5.5.13) is that every<br />
particle will travel at its own velocity independent of neighboring particles (remember<br />
the characteristics), thus physically it might seem more correct to say that<br />
if the <strong>flux</strong> is moving from cell j − 1 to cell j the incoming <strong>flux</strong> should only depend<br />
on the concentration upstream. i.e. for the <strong>flux</strong>es shown in Fig. 5.6 the upwind<br />
differencing for the <strong>flux</strong> at point j − 1/2 should be<br />
F j−1/2 =<br />
�<br />
cj−1Vj−1/2 Vj−1/2 > 0<br />
cjVj−1/2 Vj−1/2 < 0<br />
(5.5.14)