The invention discloses a
water body modeling method for a shallow water equation model with optimized parameters. According to the method, first, a three-dimensional dynamic coordinate
system is constructed, and the shallow water equation model with optimized parameters is derived; when the model is solved, a reverse
path tracking method and a
method of characteristics are combined to solve an advective item in an equation, a
vector projection method and a Fourier transformation method are combined to solve the effect of external acting force on a
water body, and therefore a velocity field and a
height field are updated; next, boundary check is performed, a boundary truncation method is adopted to process mesh points beyond a boundary; and last, the
height field is drawn, and a next time period is processed cyclically. Compared with a traditional shallow water equation, when the contact surface between the
water body and a
solid is excessively steep, a water body model can be constructed more vividly and accurately, and the velocity of average 24.9 frame / second can be reached in the water body modeling
simulation process; compared with a traditional method, the velocity is increased by 29.016%, and real-time
simulation can be realized basically.