technische universität münchen fakultät für informatik scientific computing in computer science...

13
Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias Neckel,

Upload: olivia-west

Post on 26-Mar-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Fakultät für Informatik

Scientific Computing in Computer Science

Practical Course CFD-

Free Boundary Value Problems

Tobias Neckel,

Page 2: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Examples

Page 3: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Domain Representation

• imaginary fluid particles– fluid cell: #particles ≥ 1– empty cell: #particles = 0– obstacle cell

Page 4: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Domain Representation II

Page 5: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Boundary Values

• edges between surface and empty cells ()• edges between two empty cells at corner of surface cells

()• pressure in surface cells (x)

Page 6: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Boundary Conditions

• equlibrium: surface tension ↔ surface stress neglection of surface tension zero stress components

Page 7: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Discrete Boundary Conditions

• 5 types of surface cells discrete stress = 0 auxiliary construct: gravity compute values only once!

Page 8: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Surface Cell Type I

1 empty neighbour

Page 9: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Surface Cell Type II

2 empty neighbours, across

Page 10: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Surface Cell Type III

2 empty neighbours, opposite

Page 11: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Surface Cell Type IV

3 empty neighbours

Page 12: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Surface Cell Type V

4 empty neighbours

Page 13: Technische Universität München Fakultät für Informatik Scientific Computing in Computer Science Practical Course CFD - Free Boundary Value Problems Tobias

Technische Universität München

Tobias Neckel Fakultät für Informatik Scientific Computing in Computer SciencePractical Course CFD, ST 2007

Algorithm (Time Step)

(1) compute time step dt (particle positions)(2) mark fluid/surface/empty cells(3) set boundary values (+ free surface!)(4) compute preliminary velocities(5) solve pressure equation(6) compute final velocities (+ free surface!)