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> 51<br />

mesh equations and the PDE equations can then be solved together or alternately.<br />

We will discuss this in more detail presently in the context of<br />

<strong>moving</strong> mesh methods in higher dimensions, but it is appropriate to make<br />

some preliminary remarks here.<br />

3.1.2. Finite difference methods<br />

To motivate the discussion of appropriate discretizations, we assume that<br />

the underlying PDE system takes the form<br />

u t = f(t, x, u, u x , u xx ). (3.15)<br />

If x(ξ,t) is itself a time-dependent function of a computational variable ξ<br />

then (3.15) can be cast into the Lagrangian form in the <strong>moving</strong> coordinate<br />

system given by<br />

du<br />

dt = f(t, x, u, u x, u xx )+u x x t . (3.16)<br />

The MMPDE governing the mesh motion gives a direct value for x t . A<br />

method effective for solving (3.16) (in one-dimensional problems) is to use a<br />

semi-discretization. In this approach we discretize the differential equation<br />

(3.16) in the computational coordinates together <strong>with</strong> a similar discretization<br />

of the MMPDE (3.9). In such a semi-discretization we set<br />

X i (t) ≈ x(i∆ξ,t) and U i (t) ≈ u(X i (t),t).<br />

As a simple example of the use of a finite difference method we can then<br />

take<br />

u x ≈ U i+1 − U i−1<br />

X i+1 − X i−1<br />

and u xx ≈<br />

U i+1 −U i<br />

X i+1 −X i<br />

− U i−U i−1<br />

X i −X i−1<br />

. (3.17)<br />

X i+1 −X i−1<br />

2<br />

These discretizations can then be substituted into (3.16) and the resulting<br />

set of ODEs for X i and U i solved along <strong>with</strong> one of the discretizations of<br />

(3.9). We discuss presently, and in more detail, the various alternating<br />

and simultaneous approaches for discretizing in time and then solving the<br />

resulting combined system.<br />

On a static mesh, the truncation errors in calculating these finite difference<br />

approximations were given in the expressions (2.49) and (2.52). Provided<br />

that the stretching condition (2.10) is satisfied, then these errors are<br />

of second order.<br />

We note, however, that additional errors may arise from the additional<br />

convective terms arising from the mesh movement, in particular the term<br />

u x x t (3.18)<br />

arising in (3.16). This additional term leads to both theoretical and practical<br />

difficulties in applying the <strong>moving</strong> mesh methods. From a theoretical

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

Saved successfully!

Ooh no, something went wrong!