220 likes | 432 Views
Finite Difference Solutions to the ADE. Even Simpler form. Simplest form of the ADE. Plug Flow Plug Source. Flow Equation. Effect of Numerical Errors. (overshoot). (MT3DMS manual). x. v. j. j+1. j-1. x. Explicit approximation with upstream weighting.
E N D
Finite Difference Solutions to the ADE
Even Simpler form Simplest form of the ADE Plug Flow Plug Source Flow Equation
Effect of Numerical Errors (overshoot) (MT3DMS manual)
x v j j+1 j-1 x Explicit approximation with upstream weighting (See Zheng & Bennett, p. 174-181)
x j j+1 j-1 x v Explicit; Upstream weighting (See Zheng & Bennett, p. 174-181)
Example from Zheng &Bennett v = 100 cm/h l = 100 cm C1= 100 mg/l C2= 10 mg/l With no dispersion, breakthrough occurs at t = l/v = 1 hour
Explicit approximation with upstream weighting v = 100 cm/hr l = 100 cm C1= 100 mg/l C2= 10 mg/l t = 0.1 hr
Implicit; upstream weighting Implicit; central differences Implicit Approximations
Governing Equation for Ogata and Banks solution
j-1/2 j+1/2 x x j j+1 j-1 Central difference approximation
Solve for cj n+1 Governing Equation for Ogata and Banks solution Finite difference formula: explicit with upstream weighting, assuming v >0
Stability Criterion for Explicit Approximation For dispersion alone For advection alone (Courant number) For both
Cr < 1 Stability Constraints for the 1D Explicit Solution (Z&B, equations 7.15, 7.16, 7.36, 7.40) Courant Number Stability Criterion Also need to minimize numerical dispersion.
Cr < 1 Numerical Dispersion controlled by the Courant Number and the Peclet Number for all numerical solutions (both explicit and implicit approximations) Courant Number Controls numerical dispersion & oscillation, see Fig.7.5 Peclet Number
Co j+1 j+1 j-1 j j-1 j Boundary Conditions Specified concentration boundary a “free mass outflow” boundary (Z&B, p. 285) Cb= Co Cb= Cj
Spreadsheet solution (on course homepage) Co Specified concentration boundary a “free mass outflow” boundary Cb= Cj Cb= Co
We want to write a general form of the finite difference equation allowing for either upstream weighting (v either + or –) or central differences.
j-1/2 j+1/2 x x j j+1 j-1
In general: Upstream weighting: See equations 7.11 and 7.17 in Zheng & Bennett