Adaptivity with moving grids
Adaptivity with moving grids
Adaptivity with moving grids
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
54 C. J. Budd, W. Huang and R. D. Russell<br />
where φ j , (dφ j /ds) and (d 2 φ j /d 2 s), j=1,...,4, are functions of s (i) .These<br />
expressions for U and its derivatives can then be directly substituted into<br />
(3.15), and the expression<br />
U t = f(t, x, U, U x , U xx )<br />
evaluated at the two Gauss points X ij = X i + s j H i ,j =1, 2, where<br />
s 1 = 1 (<br />
1 − 1 )<br />
√ , s 2 = 1 (<br />
1+ √ 1 ).<br />
2 3 2 3<br />
This, when coupled to the boundary conditions of the underlying PDE,<br />
leads to a set of ordinary differential equations for U i , U i,x which can then<br />
be coupled directly to the ODEs for the <strong>moving</strong> mesh given, for example,<br />
by (3.11). In certain circumstances, such as when the underlying PDE has<br />
a conservation form, it is also possible for the collocation scheme to satisfy<br />
an analogous discrete conservation law. This procedure is implemented in<br />
MOVCOL and is described in detail in Huang and Russell (1996) The resulting<br />
ODEs are somewhat stiff, and are typically solved using an appropriate<br />
stiff solver such as an SDIRK (singly diagonally implicit Runge–Kutta) or<br />
a BDF (backward differentiation formula) method. In MOVCOL they are<br />
solved using a BDF method in the code dassl (Petzold 1982).<br />
3.1.4. Spectral methods<br />
Spectral methods provide an attractive alternative to finite difference and<br />
finite element methods for numerical solution of PDEs. They involve approximation<br />
by global basis functions, such as trigonometric or algebraic<br />
polynomials. For problems <strong>with</strong> smooth solutions the convergence rate of<br />
spectral methods is faster than algebraic, as the number of grid points increases,<br />
and the significance of this so-called spectral convergence is that<br />
a specified accuracy can usually be achieved using fewer grid points than<br />
would be required by the algebraically convergent finite difference or finite<br />
element approaches. However, if a solution has a steep region such as a<br />
boundary layer or an interior layer, spectral methods will achieve high accuracy<br />
only if the number of grid points is sufficiently high to permit resolution<br />
of the localized phenomena. To overcome this difficulty, a common approach<br />
is to apply a coordinate transformation that is designed to smooth out regions<br />
of high gradient. Such a transformation can be generated numerically<br />
and adaptively through a <strong>moving</strong> mesh method. Another benefit of using<br />
a <strong>moving</strong> mesh method is that PDEs can be conveniently discretized on<br />
the computational domain where a rectangular or cubic mesh is often used.<br />
<strong>Adaptivity</strong> of this type has proved successful, producing highly accurate<br />
solutions to problems that have steep, smooth solutions using a reasonably<br />
small number of grid points, although some care must be taken that the numerically<br />
generated coordinate transformation should be made sufficiently