Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für...

8
Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Scientific Computing in Computer Science

Transcript of Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für...

Page 1: Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Scientific Computing in Computer Science.

Practical Course SC & VFree Boundary Value Problems

Prof. Dr. Hans-Joachim Bungartz

Institut fürInformatik

Scientific Computingin Computer Science

Page 2: Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Scientific Computing in Computer Science.

Discrete Boundary Conditions

• five types of surface cells

discrete stress = 0

auxiliary construct: gravity

compute values only once!

• definition of boundary conditions:

variables to be fixed

available relations / laws

Page 3: Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Scientific Computing in Computer Science.

Surface Cell Types

1 empty neighbour

Page 4: Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Scientific Computing in Computer Science.

Surface Cell Types

2 empty neighbours, across

Page 5: Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Scientific Computing in Computer Science.

Surface Cell Types

2 empty neighbours, opposite

Page 6: Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Scientific Computing in Computer Science.

Surface Cell Types

3 empty neighbours

Page 7: Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Scientific Computing in Computer Science.

Surface Cell Types

4 empty neighbours

Page 8: Practical Course SC & V Free Boundary Value Problems Prof. Dr. Hans-Joachim Bungartz Institut für Informatik Scientific Computing in Computer Science.

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