Upwind method wave equation pdf

This method can be very costly because of the need to solve the poisson equation at each time iteration, and because there is no strong coupling between the velocity field and the pressure field. Here are four choices for the discrete form of u x at meshpoint i x. Equation may serve as a model equation for a compressible fluid, e. In this paper, we derive the solution of wave equation in a resistant medium. A new class of piecewise linear methods for the numerical solution of the onedimensional euler equations of gas dynamics is presented. There are several finite difference schemes that i implemented for the first order 1d wave equation. Finitedifference methods for the solution of partial.

In adapting the upwind scheme to the nonlinear case, it should be taken into consideration that h. Note that upwind is di usive since the leading order e ect of the. From geometrical point of view, one starts at the point t 0,x 0 of the t,xplane. International journal for numerical methods in engineering 78. Eikonal equation, upwind scheme, hamiltonjacobi, viscosity solution. Chapter 4 the wave equation another classical example of a hyperbolic pde is a wave equation. One method of solution is so simple that it is often overlooked. Finitedifference methods for the solution of partial differential. Stability limit modified equation amplification factor those of lax wendroff scheme. Finite difference methods for the oneway wave equation mit. The wave equation is a secondorder linear hyperbolic pde that describesthe propagation of a variety of waves, such as sound or water waves.

If it is violated, the di usion coe cient in the model equation is negative, giving an illposed backward heat equation. Upwind although the upwind method is exceptionally robust, its low accuracy in space and time makes it unsuitable for most serious. Upwind differencing the 1d wave equation consider a plane polarized electromagnetic wave propagating in vacuo along the axis. Godunovs method and its extensions are well established for solving firstorder systems of hyperbolic equations. The wave equa tion is a secondorder linear hyperbolic pde that describesthe propagation of a variety of waves, such as sound or water waves. The fast convergence of fsm as an iterative method can be understood and explained using arguments based on characteristics for hjes. The shock speed is given by 8 s fu l fu r u l u r jump in fu jump in u. The fourier series expansion is employed to nd a solution, and the energy function and vanishing theorem are used to show that the solution we obtained is a unique solution. This equation is called the rankinehugoriot condition. Upwind although the upwind method is exceptionally robust, its low accuracy in space and time makes it unsuitable for most serious computations. Huynh nasa lewis research center cleveland, ohio 445, usa abstract. Modified equation and amplification factor are the same as original laxwendroff method.

Equation 1 is known as the onedimensional wave equation. When applied to linear wave equation, twostep laxwendroff method. Novel highorder upwind schemes for the secondorder wave equation are presented. Accurate upwind methods for the euler equations hung t. Step 2 is leap frog method for the latter half time step. A compact upwind second order scheme for the eikonal equation.

Upwind schemes for the wave equation in secondorder. Discontinuous galerkin finite element method for the wave. The function is useful when analysing the advection equation since we can easily see the behaviour of the numerical scheme at a variety of frequencies. The simplest upwind scheme possible is the firstorder upwind scheme. This derivation is not strictly speaking a proof of stability, but it does strongly suggest that upwind is stable for the wave equation. Numerical solution of partial differential equations duke. The presented examples raises a number of questions. The speed at which these waves propagate is a function of their group velocity which varies depending on the frequency and method. The origin of upwind methods can be traced back to the work of r. These schemes are applied to maxwells equations written in secondorder form. Energyconserving or energydissipating methods follow from simple, meshindependent choices of the interelement fluxes, and both subsonic and supersonic advection is allowed. Figure 2 shows the mean solution using both the stochastic solver and the mcs simulations. Construction of an upwind scheme for the secondorder wave equation in one dimension. Upwind although the upwind method is exceptionally robust, its low.

Conservative upwind difference schemes for the shallow water. The wave equation describing the vibrations of the string is then. First, we develop schemes for the wave equation written as a firstorder in time and secondorder in space system. Since this pde contains a secondorder derivative in time, we need two initial conditions. In this paper, we report on the development of a matlab library for the solution of partial differential equation systems following the method of lines. Upwind flux functions in the x and y directions will be defined to be of the same form as the onedimensional upwind flux function 31. Phase and amplitude errors of 1d advection equation reading. An implicit method is one in which the nite di erence equation contains the solution at a at future time at more than one node. Unlike the secondorder wave equation utt c2uxx, this. In other words, future solution are being solved for at more than one node in terms of the solution at earlier time. Upwind finitevolume solution of stochastic burgers equation. The godunov schemeemploysthe simplest reconstructionthepiecewiseconstant functionand the mostaccurateupwind proceduretheexactsolution of the riemannproblem. Solution of 2d wave equation using finite difference method.

The modi ed equation is stable for t hc, since in that case the numerical di usion coe cient d n 0. Upwind schemes for the wave equation in secondorder form. In computational physics, upwind schemes denote a class of numerical discretization methods for solving hyperbolic partial differential equations. Also, we note that the di usion coe cient is positive only if 0 upwind method. Solution for ux, 0 eikx throughout this chapter i will solve for a pure exponential ux, 0 eikx. This equation is also a mathematical model for onedimensional linear advection. First write the equation as a system of first order equations u. Rogers sterling software, palo alto, ca dochan kwak nasa ames research center, moffett field, ca summary the steadystate incompressible navier s tokes equations in two dimensions are. For this we investigate finite difference method and present explicit upwind difference scheme for one dimensional wave equation, central.

Comparison of finite difference schemes for the wave. Contents 1 introduction 2 2 fast sweeping method and rst. Suppose that the electric and magnetic fields take the form, and. The solution ux, t will have the typical feature of hyperbolic equations. Scheme for the incompressible naviersto kes equations stuart e. These upwindtype methods use solutions to a set of riemann problems defined at cell faces of a computational grid to construct a discrete. The energy method on wave equation in a resistant medium with.

An energybased discontinuous galerkin method for the wave. The second improvement, called the two queue method, keeps all of the unlocked points in a data structure so that the locked points no longer need to be visited at all. In a onedimensional domain, there are only two directions associated with. Writing a matlab program to solve the advection equation. Highorder upwind methods for secondorder wave equations on. The twodimensional wave equation in secondorder form will be integrated in time and put into the form of a conservation equation for the displacement, u, and velocity, v. If the wave is moving from right to left, we want new values for each point to come from the right upwind rather than the left. Higher order compact finitedifference method for the wave equation a compact finite difference scheme comprises of adjacent point stencils of which differences are taken at the middle node, therefore typically 3, 9 and 27 nodes are used for compact finite difference descretization in one. Wave propagation in upwind left and central right settings. A spectral method, by applying a leapfrog method for time discretization and a chebyshev spectral method on a tensor product grid for spatial discretization.

Finite difference methods for the hyperbolic wave pde. The method of upwind differencing is used for the resulting scalar problems, together with a flux limiter for obtaining a second order scheme which avoids nonphysical, spurious oscillations. The upwind schemes attempt to discretize hyperbolic partial differential equations by. Downwind methods are unstable since information tends to be moving in the wrong direction. Finite difference method applied to 1d convection in this example, we solve the 1d convection equation. Very simple and useful examples of hyperbolic and parabolic equations are given by the wave equation and by the diffu sion equation.

In its simp lest form, the wave equation refers to a scalar function u. To illustrate the method, consider the following onedimensional linear advection equation. When the elasticity k is constant, this reduces to usual two term wave equation u tt c2u xx where the velocity c p k. Several algorithms are presented and their performance is. Although this method is only firstorderaccurateand computationally costly, it is the. If the wave is moving from right to left, we want new values for each point to come from the right upwind rather than the. Phase and amplitude errors of 1d advection equation. Pdf numerical simulation of wave equation researchgate. Upwind schemes for the wave equation in secondorder form je. Characteristics of the burgers equation the characteristics of eq. From geometrical point of view, one starts at the point t 0,x 0. Finite di erence methods for wave motion github pages.

The condition 2 speci es the initial shape of the string, ix, and 3 expresses that the initial velocity of the string is zero. The oneway wave equation is a perfect example for creating and testing. Notes on burgerss equation 5 such equations are called hyperbolic conservation laws. Upwind schemes use an adaptive or solutionsensitive finite difference stencil to numerically simulate the direction of propagation of information in a flow field. An upwinddifferencing scheme for the incompressible navier stokes equations stuart e. Solving the advection pde in explicit ftcs, lax, implicit. In addition, pdes need boundary conditions, give here as 4. A simulation of a firstorder upwind scheme in which a sin t.