28.02.2013 Views

A Semi-Implicit, Three-Dimensional Model for Estuarine ... - USGS

A Semi-Implicit, Three-Dimensional Model for Estuarine ... - USGS

A Semi-Implicit, Three-Dimensional Model for Estuarine ... - USGS

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.

92 A <strong>Semi</strong>-<strong>Implicit</strong>, <strong>Three</strong>-<strong>Dimensional</strong> <strong>Model</strong> <strong>for</strong> <strong>Estuarine</strong> Circulation<br />

where<br />

A i, j, k<br />

Bi, j, k<br />

Ci, j, k<br />

Di, j, k<br />

=<br />

n<br />

– DV i, j, k – 1⁄ 2<br />

n + 1<br />

n<br />

= hi, j, k⁄<br />

( 2Δt ) + DV , ,<br />

=<br />

=<br />

n<br />

– DVi , j, k+ 1⁄ 2<br />

n<br />

Fi, j, k<br />

n<br />

n<br />

⁄ ( hi, j, k – 1 + hijk , , ) ,<br />

i j k+ 1⁄ 2<br />

n n<br />

n<br />

⁄ ( hijk , , + hi, j, k+ 1)<br />

+ DV , ,<br />

n n<br />

⁄ ( hi, j, k+<br />

hijk , , + 1)<br />

, and<br />

n – 1 n – 1<br />

+ ( hi, j, ksijk<br />

, , ) ⁄ ( 2Δt )<br />

–<br />

+<br />

n<br />

DV n<br />

DV ijk , , + 1⁄ 2<br />

ijk , , – 1⁄ 2<br />

i j k – 1⁄ 2<br />

sn – 1<br />

i, j, k sn – 1 n n<br />

( – i, j, k + 1)<br />

⁄ ( hijk , , + hi, j, k+ 1)<br />

sn – 1<br />

ijk , , – 1 sn – 1 n · n<br />

( – i, j, k)<br />

⁄ ( hi, j, k– 1 + hi, j, k)<br />

n<br />

n<br />

⁄ ( hi, j, k – 1 + hi, j, k)<br />

,<br />

Applying equation 4.41 to each of the layers at a computational point iΔx, jΔy results in a system of km equations involving km<br />

n + 1<br />

unknown values of sijk , , . The boundary conditions are satisfied by choosing Ai,j, 1 = 0, Ci,j, km = 0 and setting the diffusion<br />

coefficients to zero at the free surface and bottom. The matrix <strong>for</strong>m of the equations is tridiagonal, which can be efficiently solved<br />

with the double sweep algorithm. Once the new salinities are computed, they are used to update the density field using the equation<br />

of state presented in Appendix B.<br />

4.3.2 <strong>Semi</strong>-<strong>Implicit</strong> Trapezoidal Scheme<br />

The finite-difference equations <strong>for</strong> the semi-implicit trapezoidal scheme are nearly identical to those of the semi-implicit<br />

leapfrog scheme, except the time interval over which the scheme is applied is halved to Δt from 2Δt. The integration procedure is<br />

centered at the time level (n + ½)Δt and no longer involves the time level (n - 1)Δt. The scheme, as used here, involves three time<br />

levels (n, n + ½, n + 1) but is referred to as a two-level scheme since it is executed over a single time step. The variables needed<br />

in the scheme at the (n + ½)Δt time level are determined by averaging; <strong>for</strong> example,<br />

+ ⁄ 1 n + 1<br />

n<br />

--<br />

+ , j, k=<br />

⎛Ũi+ 1⁄ 2 , j, k+<br />

U i 1 ⎞<br />

2<br />

+ ⁄ 2 , j, k ,<br />

⎝ ⎠<br />

n 1<br />

2<br />

U i 1⁄ 2<br />

where the symbol ( ˜ ) denotes the estimate of the unknown from the semi-implicit leapfrog solution. The <strong>for</strong>m of the explicit stage<br />

<strong>for</strong> the x-momentum finite-difference equation is<br />

Ûi + 1⁄ 2,<br />

jk , = U i 1⁄ 2<br />

n<br />

+ , j, k Δt ( ADVx) n + 1⁄ 2 ( CORx) n 1<br />

[ –<br />

+<br />

+ ⁄ 2 ( BCLINICx) n 1<br />

+ – + ⁄ 2 + HDIFFx ( ) n ] i 1⁄ 2<br />

(4.42)<br />

+ , jk , , (4.43)

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

Saved successfully!

Ooh no, something went wrong!