26.12.2013 Views

Adaptivity with moving grids

Adaptivity with moving grids

Adaptivity with moving grids

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Adaptivity</strong> <strong>with</strong> <strong>moving</strong> <strong>grids</strong> 115<br />

Example 2. In closely related calculations we can compare <strong>with</strong> a similar<br />

<strong>moving</strong> mesh calculation of the solution of Burgers’ equation, over the<br />

interval x ∈ [0, 1], when ν =1e − 4 and <strong>with</strong> initial data u 0 = sin(2πx)+<br />

(1/2) sin(πx). In this case we compute the mesh using a one-dimensional<br />

form of PMA <strong>with</strong> the arclength monitor function and N = 30 mesh points,<br />

central differencing in the computational domain for all spatial derivatives,<br />

and solve the resulting ODEs using the MATLAB routine ode15s. Westart<br />

<strong>with</strong> an initially uniform mesh, and evolve the mesh and solution together<br />

using PMA <strong>with</strong> ɛ = 1. In this calculation, and <strong>with</strong> this choice of ɛ, the<br />

mesh evolves from being uniform to one which is equidistributed, over a<br />

time t ≈ 0.05. In this time period the underlying solution remains fairly<br />

smooth. At the time t ≈ 0.2 the solution develops a sharp front, which is<br />

well approximated, and then followed, by the evolving mesh. The solution is<br />

presented in the physical domain at a series of different times in Figure 5.8,<br />

and the resulting mesh trajectories are presented in Figure 5.9. Observe the<br />

manner in which the mesh points resolve the front <strong>with</strong> no oscillations in<br />

this case (due in part to the regularity of the initial data).<br />

It is interesting to compare this calculation <strong>with</strong> a very similar calculation<br />

made by Li and Petzold (1997), who looked at the solution of Burgers’<br />

equation when ν =1e − 4 <strong>with</strong> the less regular initial data given by<br />

u(x, 0) ≡ u 0 =0.2, x ≤ 0.1, u 0 =8x − 0.6, 0.1 ≤ x ≤ 0.2<br />

u 0 =1, 0.2 ≤ x ≤ 0.5, u 0 = −10x +6, 0.5 ≤ x ≤ 0.6,<br />

u 0 =0, 0.6 ≤ x ≤ 1.<br />

This is a more severe test of the <strong>moving</strong> mesh method than the previous example,<br />

as the initial data are much less smooth. This calculation employed<br />

an arclength-based monitor function together <strong>with</strong> a regularized differential<br />

algebraic formulation of the <strong>moving</strong> mesh equations, very similar to using<br />

MMPDE6, and based on a method proposed in Adjerid and Flaherty (1986),<br />

<strong>with</strong> the mesh-smoothing algorithm proposed by Dorfi and Drury (1987),<br />

described in Section 2. Li and Petzold (1997) considered three different<br />

discretizations: a central difference discretization, an ENO (Roe) method,<br />

and a piecewise hyberbolic method (PHM) due to Marquina (1994). It was<br />

found that in this case the central difference method tended to lead to spurious<br />

oscillations due (as commented on in the example of the nonlinear<br />

Schrödinger equation) to the destabilizing effect of the anti-diffusive terms<br />

arising in the discretization of the advective terms describing the mesh motion.<br />

Li and Petzold (1997) showed that these oscillations were reduced<br />

<strong>with</strong> the ENO scheme and eliminated using the PHM method.<br />

The related paper by Li et al. (1998) also considered applying the same<br />

<strong>moving</strong> mesh method to a number of other reaction–diffusion problems,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!