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.
<strong>Adaptivity</strong> <strong>with</strong> <strong>moving</strong> <strong>grids</strong> 35<br />
We now assume that the mesh function x(ξ) has regularity C 2 and exactly<br />
equidistributes a scalar monitor function M.<br />
Lemma 2.3.<br />
(i) The local truncation error T of the above discretization is given in the<br />
original variables by<br />
[<br />
T = ∆2 i xξξ<br />
u xxx + u ]<br />
xxxx<br />
+ O(∆ 3 i ), (2.49)<br />
3<br />
4<br />
x 2 ξ<br />
and in the computational variables by<br />
T = ∆ξ2 x 2 ξ<br />
3<br />
[<br />
− M ξu xxx<br />
+ u xxxx<br />
Mx ξ 4<br />
]<br />
+ O(∆ξ 3 ). (2.50)<br />
(ii) The truncation error is of second order if the mesh is quasi-uniform so<br />
that condition (2.10) is satisfied.<br />
(iii) The truncation error is zero to leading order if the mesh equidistributes<br />
the monitor function<br />
Proof.<br />
M opt =(u xxx ) 1/4 =(−f x ) 1/4 . (2.51)<br />
Let ∆ j = X j+1 − X j . A simple Taylor expansion gives<br />
U j+1 = U j +∆ j u ′ + ∆2 j<br />
2 u′′ + ∆3 j<br />
6 u′′′ + ∆4 j<br />
24 u′′′′ + O(5),<br />
U j−1 = U j − ∆ j−1 u ′ + ∆2 j−1<br />
2 u′′ − ∆3 j−1<br />
6 u′′′ + ∆4 j<br />
24 u′′′′ + O(5),<br />
where all derivatives of u are expressed in terms of x. Hence, expanding<br />
the left-hand side of (2.48), we obtain (after some manipulation) that the<br />
truncation error is given by<br />
T = 1 ( )<br />
∆j − ∆ j−1 u ′′′ + 1 ∆ 3 j +∆3 j−1<br />
u ′′′′ + O(3).<br />
3<br />
12 ∆ j +∆ j−1<br />
This error has two components. The second is the usual component (of order<br />
∆ 2 j ) which is seen on a uniform mesh. The first is an additional error due<br />
to the variation in the size of the mesh. In many texts this is considered to<br />
be large (as it is apparently of higher order); however, if ∆ j varies smoothly<br />
over the domain then it is actually of the same order as the second error.<br />
Since, to leading order,<br />
∆ j =∆ξx ξ ,<br />
we have, to leading order,<br />
T =(∆ξ) 2 ( 1<br />
3 x ξξu ′′′ + 1 12 x2 ξ u′′′′ )<br />
+ O(∆ξ 3 ).