18.01.2013 Views

Chapter 8 Configuring Fluidity - The Applied Modelling and ...

Chapter 8 Configuring Fluidity - The Applied Modelling and ...

Chapter 8 Configuring Fluidity - The Applied Modelling and ...

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.

30 Numerical discretisation<br />

Computing the ξ factor at quadrature points is potentially expensive due to the evaluation of a<br />

hyperbolic-tangent (3.13). Sub-optimal but more computationally efficient approximations for ξ are<br />

the critical rule approximation [Brooks <strong>and</strong> Hughes, 1982]:<br />

⎧<br />

⎪⎨ −1 − 1/Pe Pe < −1<br />

ξ = 0<br />

⎪⎩<br />

1 + 1/Pe<br />

−1 � Pe � 1<br />

Pe > 1,<br />

<strong>and</strong> the doubly-asymptotic approximation [Donea <strong>and</strong> Huerta, 2003]:<br />

ξ =<br />

�<br />

Pe/3 |Pe| � 3<br />

sgn(Pe) otherwise.<br />

(3.20)<br />

(3.21)<br />

Implementation limitations <strong>The</strong> SUPG implementation in <strong>Fluidity</strong> does not modify the test function<br />

derivatives or the face test functions. Hence the SUPG implementation is only consistent for<br />

degree one elements with no non-zero Neumann or weak Dirichlet boundary conditions.<br />

SUPG is considered ready for production use for scalar advection-diffusion equation discretisation,<br />

but is still experimental for momentum discretisation.<br />

3.2.1.4 Example<br />

<strong>The</strong> following example considers pure advection of a 1D top hat of unit magnitude <strong>and</strong> width 0.25<br />

in a periodic domain of unit size. <strong>The</strong> top hat is advected with a Courant number of 1/8. Figure 3.2<br />

shows the solution after 80 timesteps using a continuous Galerkin discretisation. Figure 3.3 shows<br />

the solution when streamline-upwind stabilisation is applied. Figure 3.4 shows the solution when<br />

streamline-upwind Petrov-Galerkin is applied, using a stabilisation parameter as in (3.18).<br />

Figure 3.2: Pure advection of a 1D top hat at CFL number 1/8 after 80 timesteps using a continuous<br />

Galerkin discretisation.

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

Saved successfully!

Ooh no, something went wrong!