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.

vi CONTENTS<br />

3.3.2 Nonlinear relaxation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50<br />

3.3.3 <strong>The</strong> θ scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51<br />

3.4 Time discretisation of the advection-diffusion equation . . . . . . . . . . . . . . . . . . 51<br />

3.4.1 Discontinuous Galerkin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51<br />

3.4.2 Control Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52<br />

3.5 Momentum equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52<br />

3.5.1 Boussinesq approximation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53<br />

3.6 Pressure equation for incompressible flow . . . . . . . . . . . . . . . . . . . . . . . . . 53<br />

3.6.1 Pressure correction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54<br />

3.7 Velocity <strong>and</strong> pressure element pairs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55<br />

3.8 Balance pressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57<br />

3.9 Free surface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58<br />

3.10 Linear solvers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58<br />

3.10.1 Iterative solvers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58<br />

3.10.2 Preconditioned Krylov subspace methods . . . . . . . . . . . . . . . . . . . . 60<br />

3.10.3 Convergence criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61<br />

3.11 Algorithm for detectors (Lagrangian trajectories) . . . . . . . . . . . . . . . . . . . . . 61<br />

4 Parameterisations 63<br />

4.1 Generic length scale turbulence parameterisation . . . . . . . . . . . . . . . . . . . . . 63<br />

4.1.1 Wall functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64<br />

4.1.2 Stability functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />

4.1.3 Boundary conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />

4.2 St<strong>and</strong>ard k − ε Turbulence Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66<br />

4.2.1 Initial <strong>and</strong> Boundary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . 67<br />

4.3 Large-Eddy Simulation (LES) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67<br />

4.3.1 Second-Order Dissipation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68<br />

4.3.2 Fourth-Order Dissipation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68<br />

5 Embedded models 71<br />

5.1 Biology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71<br />

5.1.1 Biological source terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72<br />

5.1.2 Photosynthetically active radiation . . . . . . . . . . . . . . . . . . . . . . . . . 73<br />

5.1.3 Detritus falling velocity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74<br />

5.2 Sediments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74<br />

5.2.1 Deposition <strong>and</strong> erosion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74<br />

6 Adaptive remeshing 75<br />

6.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75<br />

6.2 Representing meshes as metric tensors . . . . . . . . . . . . . . . . . . . . . . . . . . . 76<br />

6.3 Adaptive remeshing technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76<br />

6.4 Metric formation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77<br />

6.4.1 Guidelines for choosing parameters which affect the metric construction . . . 77<br />

6.5 Interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78<br />

6.6 Related topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79<br />

7 Mesh generation 81<br />

7.1 Mesh data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81<br />

7.1.1 Node location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81<br />

7.1.2 Element topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81<br />

7.1.3 Facets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81<br />

7.1.4 Surface IDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82<br />

7.1.5 Region IDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82<br />

7.2 <strong>The</strong> triangle format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

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

Saved successfully!

Ooh no, something went wrong!