Numerical Treatment of a Modified Maccormack Scheme in a Nondimensional Form of the Water Quality Models in a Nonuniform Flow Stream

Numerical Treatment of a Modified Maccormack Scheme in a Nondimensional Form of the Water Quality Models in a Nonuniform Flow Stream

Hindawi Publishing Corporation Journal of Applied Mathematics Volume 2014, Article ID 274263, 8 pages http://dx.doi.org/10.1155/2014/274263 Research Article Numerical Treatment of a Modified MacCormack Scheme in a Nondimensional Form of the Water Quality Models in a Nonuniform Flow Stream Nopparat Pochai1,2 1 Department of Mathematics, Faculty of Science, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand 2 Centre of Excellence in Mathematics, Commission on Higher Education (CHE), Si Ayutthaya Road, Bangkok 10400, Thailand Correspondence should be addressed to Nopparat Pochai; nop [email protected] Received 1 September 2013; Revised 17 December 2013; Accepted 17 December 2013; Published 23 February 2014 Academic Editor: Lu´ıs Godinho Copyright © 2014 Nopparat Pochai. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Two mathematical models are used to simulate water quality in a nonuniform flow stream. The first model is the hydrodynamic model that provides the velocity field and the elevation of water. The second model is the dispersion model that provides the pollutant concentration field. Both models are formulated in one-dimensional equations. The traditional Crank-Nicolson method is also used in the hydrodynamic model. At each step, the flow velocity fields calculated from the first model are the input into the second model as the field data. A modified MacCormack method is subsequently employed in the second model. This paper proposes a simply remarkable alteration to the MacCormack method so as to make it more accurate without any significant loss of computational efficiency. The results obtained indicate that the proposed modified MacCormack scheme does improve the prediction accuracy compared to that of the traditional MacCormack method. 1. Introduction The nonuniform flow model requires data concerned with the velocity of the current at any point and any time In general, the amount of pollution levels in a stream can be in the domain. The hydrodynamics model provides the measuredviadatacollectionfromarealoffielddatasite. velocity field and tidal elevation of the water.7 In[ –10], they It is somehow rather difficult and complex, and the results used the hydrodynamics model and the advection-dispersion obtained tentatively deviate in the measurement from one equation to approximate the velocity of the water current point in each time/place to another when the water flow in in bay, uniform reservoir, and stream, respectively. Among the stream is not uniform. In water quality modelling for these numerical techniques, the finite difference methods, nonuniform flow stream, the general governing equations including both explicit and implicit schemes, are mostly used used are the hydrodynamic model and the dispersion model. for one-dimensional domain such as in longitudinal stream The one-dimensional shallow water equation and advection- systems [11, 12]. dispersion-reaction equation is govern the first and the second models, respectively. There are two mathematical models used to simulate Numerous numerical techniques for solving such models water quality in a nonuniform water flow systems. The first is are available. In [1], the finite element method for solving the hydrodynamic model that provides the velocity field and a steady water pollution control to achieve a minimum the elevation of water. The second is the dispersion model that cost is presented. The numerical techniques for solving gives the pollutant concentration field. A couple of models the uniform flow of stream water quality model, especially are formulated in one-dimensional equations. The traditional the one-dimensional advection-dispersion-reaction equa- Crank-Nicolson method is used in the hydrodynamic model. tion, are presented in [2–6]. At each step, the calculated flow velocity fields of the first 2 Journal of Applied Mathematics model are input into the second model as the field data u(x, t) [9, 10, 13]. The numerical techniques to solve the nonuniform flow z= of stream water quality model containing one-dimensional z (x, t) advection-dispersion-reaction equation have been presented z=0 in [10] using the fully implicit scheme: Crank-Nicolson x method is used to solve the hydrodynamic model and backward time central space (BTCS) for dispersion model, h(x) respectively. In [13], the Crank-Nicolson method is also used to solve the hydrodynamic model, while the explicit Saulyev scheme is used to solve the dispersion model. Their research on finite difference techniques for the Figure 1: The shallow water system. dispersion model has concentrated on computation accu- racy and numerical stability. Many complicated numerical techniques, such as the QUICK scheme, the Lax-Wendroff The results from the hydrodynamic model are the data of scheme, and the Crandall scheme, have been studied to the water flow velocity for the advection-dispersion-reaction increase performances. These techniques have focused on equation which provides the pollutant concentration field. advantages in terms of stability and higher order accuracy [3]. The term of friction forces, due to the drag of sides of the The simple finite difference schemes become more attrac- stream, is considered. The theoretical solution of the model tive for model use. The simple explicit methods include at the end point of the domain that guarantees the accuracy the forward time-central space (FTCS) scheme, the Mac- of the approximate solution is presented in [9, 10, 13]. Cormack scheme, and the Saulyev scheme, and the implicit The stream has a simple one-space dimension as shown in schemes include the backward time-central space (BTCS) Figure 1. By averaging the equation over the depth, discarding scheme, and the Crank-Nicolson scheme [12]. These schemes the term due to the Coriolis force, it follows that the one- are either first-order or second-order accurate and have the dimensional shallow water and the advection-dispersion- advantages in programming and computing without losing reaction equations are applicable. We use the Crank-Nicolson much accuracy and thus they are used for many model scheme, the traditional MacCormack scheme, and the Mod- applications [3]. ified MacCormack scheme to approximate the velocity, the A third-order upwind scheme for the advection-diffusion elevation, and the pollutant concentration from the first and equation using a simple spreadsheets simulation is proposed the second models, respectively. in [14]. In [15], a new flux splitting scheme is proposed. The scheme is robust and converges as fast as the Roe Split- 2. Model Formulation ting. The Godunov-mixed methods for advection-dispersion equations are introduced in [16]. A time-splitting approach 2.1. The Hydrodynamic Model. In this section, we derive a for advection-dispersion equations is also considered. In simple hydrodynamic model for describing water current and addition, [17] proposes a time-splitting method for multi- elevation by one-dimensional shallow water equation. We dimensional advection-diffusion equations that advection is make the usual assumption in the continuity and momentum approximated by a Godunov-type procedure, and diffusion is balance; that is, we assume that the Coriolis, shearing stresses, approximated by a low-order mixed finite element method. andthesurfacewindaresmall[7, 9, 10, 20]; we obtain the In [18], the flux-limiting solution techniques for simulation one-dimensional shallow water equations: of reaction diffusion convection system are proposed. A composite scheme to solves the scalar transport equation in a + [(ℎ+) ] = 0, two-dimensional space that accurately resolve sharp profiles (1) in the flow is introduced. The total variation diminishing implicit Runge-Kutta methods for dissipative advection- + =0, diffusion problems in astrophysics is proposed in [19]. They derive dissipative space discretizations and demonstrate that where is the longitudinal distance along the stream (m), together with specially adapted total-variation-diminishing is time (s), ℎ() is the depth measured from the mean water (TVD) or strongly stable Runge-Kutta time discretizations level to the stream bed (m), (, ) is the elevation from the with adaptive step-size control this yields reliable and efficient mean water level to the temporary water surface or the tidal integrators for the underlying high-dimensional nonlinear elevation (m/s), and (, ) is the velocity components (m/s), evolution equations. for all ∈[0,]. In this research, we propose simple revisions to the Mac- Assume that ℎ is a constant and ≪ℎ.Then(1)leadto Cormack scheme that improve its accuracy for the problem of water quality measurement in a nonuniform water flow +ℎ ≐0, in a stream. In the following sections, the formulation of the (2) traditional MacCormack scheme is reviewed. The revision of + =0. the modified MacCormack scheme is proposed. Journal of Applied Mathematics 3 We will consider the equation in the dimensionless numerical techniques of [9]. To find the water velocity and problem by letting =/√ℎ, = /,,and =/ℎ water elevation from (5), we make the following change to =√ℎ/.Substitutingtheminto(2)leadsto variables V = andsubstituteitinto(5). Therefore, V + =0, + =0, (3) (7) V + =0. +− =0. In [9, 10, 13], they introduce a damping term into (3)to Equations (7)canbewritteninthematrixform represent the frictional

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us