Based on the Finite Volume Methods(FVM),model system is developed to solve the 2D shallow water equation and convection-diffusion equation.By using Gauss' divergence theorem,the volume integrals can be re-written as integrals over the entire bounding surface of the control volume.On the baisis of Euler's rotation invariability,the governing equation can be converted to 1-Dimention,thus the model becomes simpler.The solve of numerical flux across the bounding surface is the core of the FVM, by using FVS(Flux Vector Splitting) ,this paper solve the Riemann Problem and get the numerical flux.Through the construction of the element hydraulic model and the reconstruction of element hydraulic parameters using MUSCL methods,2-order FVM is set up.On the side of the pre-processor,Easymesh is adopted to generate the 2D triangle mesh.On the side of the Post-processor,Delphi and DirectX are used to draw the velocity field,pollutant contour line and nephogram.By solving the 2D dam-break problem,the feasibility of the model to solve the strong interrupted flow is validated.The simulation of the pollutant transportation in the uniformity velocity field,indicates the model has reach a rather high precision facing the water quality problem.In the project example,the model is adopted to solve the velocity field of the river and influence of the pollutant discharge to the river water quality.At last,the model result is compared with SMS model.The comparision shows the two result fit well. |