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

Example 3. This example generates an adaptive mesh for a given analytical<br />

solution<br />

( (<br />

u(x, y) = tanh 30 x 2 + y 2 − 1 ))<br />

8<br />

( (<br />

+tanh 30 (x − 0.5) 2 +(y − 0.5) 2 − 1 ))<br />

8<br />

( (<br />

+tanh 30 (x − 0.5) 2 +(y +0.5) 2 − 1 ))<br />

8<br />

( (<br />

+tanh 30 (x +0.5) 2 +(y − 0.5) 2 − 1 ))<br />

8<br />

( (<br />

+tanh 30 (x +0.5) 2 +(y +0.5) 2 − 1 ))<br />

8<br />

defined in [−2, 2] × [−2, 2]. An adaptive mesh <strong>with</strong> a monitor function<br />

is based on isotropic and anisotropic estimates error in interpolating this<br />

function. This is expected to concentrate around five circles. Results are<br />

shown in Figure 3.5.<br />

Example 4.<br />

for<br />

This example generates a three-dimensional adaptive mesh<br />

u(x, y, z) = tanh(100((x − 0.5) 2 +(y − 0.5) 2 +(z − 0.5) 2 ) − 0.0625)<br />

defined in the unit cube. An adaptive mesh <strong>with</strong> a monitor function is based<br />

on the error in interpolating this function. This is expected to concentrate<br />

near the sphere centred at (0, 0, 0) <strong>with</strong> radius 0.25. Results are shown in<br />

Figure 3.6.<br />

3.3. Optimal transport methods<br />

3.3.1. Derivation of the optimal transport equations<br />

Optimal transport methods are a very natural generalization of MMPDE<br />

methods in one dimension, that retain much of the simplicity of the onedimensional<br />

approach (such as always solving scalar equations and automatic<br />

calculation of the mesh on a boundary) whilst being general enough<br />

to deliver meshes of provable mesh quality (<strong>with</strong> many of the proofs following<br />

directly from the one-dimensional case). They have the disadvantage of<br />

being less flexible than some of the <strong>moving</strong> mesh methods described above.<br />

However, in practice they can give very regular meshes for a wide range of<br />

possible monitor functions. The key idea behind an optimal mesh is that<br />

it should be one which is closest to a uniform mesh in a suitable norm,<br />

consistent <strong>with</strong> satisfying the equidistribution principle. The simplest such

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

Saved successfully!

Ooh no, something went wrong!