22.10.2014 Views

Diploma report Implementation and verification of a simple ... - LPAS

Diploma report Implementation and verification of a simple ... - LPAS

Diploma report Implementation and verification of a simple ... - LPAS

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.

Contents<br />

1 Introduction 4<br />

2 Formulation 4<br />

2.1 Continuous equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4<br />

2.1.1 Hyperbolic systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4<br />

2.1.2 Derivation <strong>of</strong> Euler equations . . . . . . . . . . . . . . . . . . . . . . . 5<br />

3 <strong>Implementation</strong> 8<br />

3.1 Finite volume discretization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8<br />

3.2 Stability <strong>and</strong> convergence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11<br />

3.2.1 Consistency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11<br />

3.2.2 Stability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11<br />

3.3 Numerical fluxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13<br />

3.3.1 Flux Averaging Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . 13<br />

3.3.2 Central Difference Scheme . . . . . . . . . . . . . . . . . . . . . . . . . 13<br />

3.3.3 Lax-Friedrichs Method . . . . . . . . . . . . . . . . . . . . . . . . . . . 13<br />

3.3.4 Richtmeyer Two-Step Lax-Wendr<strong>of</strong>f Method . . . . . . . . . . . . . . 14<br />

3.4 Time integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14<br />

3.4.1 Forward Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15<br />

3.4.2 Leapfrog Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15<br />

3.4.3 Third-order Runge-Kutta Scheme . . . . . . . . . . . . . . . . . . . . . 15<br />

3.5 Dimensional splitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16<br />

3.6 Initial conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16<br />

3.6.1 Gas dynamics (c = 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . 17<br />

3.6.2 Unstratified atmosphere (g = 0) . . . . . . . . . . . . . . . . . . . . . 17<br />

3.6.3 Stratified atmosphere (N = const) . . . . . . . . . . . . . . . . . . . . 17<br />

3.7 Boundary conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18<br />

3.7.1 Periodic boundary conditions . . . . . . . . . . . . . . . . . . . . . . . 19<br />

3.7.2 Solid wall boundary conditions . . . . . . . . . . . . . . . . . . . . . . 19<br />

3.7.3 Solid wall with hydrostatic pressure . . . . . . . . . . . . . . . . . . . 20<br />

3.7.4 Solid wall with background . . . . . . . . . . . . . . . . . . . . . . . . 20<br />

3.7.5 Prolongation <strong>of</strong> hydrostatic balance . . . . . . . . . . . . . . . . . . . 20<br />

3.8 Damping terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21<br />

3.8.1 Time filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21<br />

3.8.2 Spatial filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21<br />

4 Results 23<br />

4.1 Comparison <strong>of</strong> different methods . . . . . . . . . . . . . . . . . . . . . . . . . 23<br />

4.2 Hydrostatic balance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24<br />

4.3 Sound waves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28<br />

4.4 Advection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31<br />

4.5 Buoyant bubble . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br />

5 Conclusion 38<br />

2

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

Saved successfully!

Ooh no, something went wrong!