Top Banner
Seite 1 Introduction | Computational Fluid Dynamics | 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt Computational Biomechanics Summer Term 2017
144

Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Mar 18, 2018

Download

Documents

dothu
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 1 Introduction | Computational Fluid Dynamics | 03.07.2017

Computational Fluid DynamicsTheory, Numerics, Modelling

Lucas Engelhardt

Computational Biomechanics

Summer Term 2017

Page 2: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 2 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Fluid phase system

State variables:

Density ρ (1d)

Velocity ~u (3d)

Pressure p (1d)

Energy e (1d)

Temperature T (1d)

Physical laws:

Mass conservation

Momentum conservation

Energy conservation

Equation of state

Example for the equations of state:

p = ρ Rs T and e = cνT

Page 3: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 2 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Fluid phase system

State variables:

Density ρ (1d)

Velocity ~u (3d)

Pressure p (1d)

Energy e (1d)

Temperature T (1d)

Physical laws:

Mass conservation

Momentum conservation

Energy conservation

Equation of state

Example for the equations of state:

p = ρ Rs T and e = cνT

Page 4: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 2 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Fluid phase system

State variables:

Density ρ (1d)

Velocity ~u (3d)

Pressure p (1d)

Energy e (1d)

Temperature T (1d)

Physical laws:

Mass conservation

Momentum conservation

Energy conservation

Equation of state

Example for the equations of state:

p = ρ Rs T and e = cνT

Page 5: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 2 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Fluid phase system

State variables:

Density ρ (1d)

Velocity ~u (3d)

Pressure p (1d)

Energy e (1d)

Temperature T (1d)

Physical laws:

Mass conservation

Momentum conservation

Energy conservation

Equation of state

Example for the equations of state:

p = ρ Rs T and e = cνT

Page 6: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 2 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Fluid phase system

State variables:

Density ρ (1d)

Velocity ~u (3d)

Pressure p (1d)

Energy e (1d)

Temperature T (1d)

Physical laws:

Mass conservation

Momentum conservation

Energy conservation

Equation of state

Example for the equations of state:

p = ρ Rs T and e = cνT

Page 7: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 2 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Fluid phase system

State variables:

Density ρ (1d)

Velocity ~u (3d)

Pressure p (1d)

Energy e (1d)

Temperature T (1d)

Physical laws:

Mass conservation

Momentum conservation

Energy conservation

Equation of state

Example for the equations of state:

p = ρ Rs T and e = cνT

Page 8: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 2 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Fluid phase system

State variables:

Density ρ (1d)

Velocity ~u (3d)

Pressure p (1d)

Energy e (1d)

Temperature T (1d)

Physical laws:

Mass conservation

Momentum conservation

Energy conservation

Equation of state

Example for the equations of state:

p = ρ Rs T and e = cνT

Page 9: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 3 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 10: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 3 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 11: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 4 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Mass conservation:

Look at the mass m inside of an arbitrary volume Ω(t)

dm

dt=

d

dt

∫Ω(t)

ρ dΩ

rtt=

∫Ω(t)

∂ρ

∂t+∇ · (ρ~u )

!= 0

Continuity equation:

∂ρ

∂t+∇ · (ρ~u ) = 0

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 12: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 4 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Mass conservation:

Look at the mass m inside of an arbitrary volume Ω(t)

dm

dt=

d

dt

∫Ω(t)

ρ dΩ

rtt=

∫Ω(t)

∂ρ

∂t+∇ · (ρ~u )

!= 0

Continuity equation:

∂ρ

∂t+∇ · (ρ~u ) = 0

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 13: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 4 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Mass conservation:

Look at the mass m inside of an arbitrary volume Ω(t)

dm

dt=

d

dt

∫Ω(t)

ρ dΩrtt=

∫Ω(t)

∂ρ

∂t+∇ · (ρ~u )

!= 0

Continuity equation:

∂ρ

∂t+∇ · (ρ~u ) = 0

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 14: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 4 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Mass conservation:

Look at the mass m inside of an arbitrary volume Ω(t)

dm

dt=

d

dt

∫Ω(t)

ρ dΩrtt=

∫Ω(t)

∂ρ

∂t+∇ · (ρ~u )

!= 0

Continuity equation:

∂ρ

∂t+∇ · (ρ~u ) = 0

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 15: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 4 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Mass conservation:

Look at the mass m inside of an arbitrary volume Ω(t)

dm

dt=

d

dt

∫Ω(t)

ρ dΩrtt=

∫Ω(t)

∂ρ

∂t+∇ · (ρ~u )

!= 0

Continuity equation:

∂ρ

∂t+∇ · (ρ~u ) = 0

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 16: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 5 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Momentum conservation:

Look at the momentum ~p inside of an arbitrary volume Ω(t)

d~p

dt=

d

dt

∫Ω(t)

ρ~u dΩrtt=

∫Ω(t)

∂ρ~u

∂t+∇ · (ρ~u ~u )

dΩ =

~F

Force:

F = FΩ + F∂Ω

=

∫Ω(t)

ρ ~f dΩ +

∫∂Ω(t)

σ ~n dS

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 17: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 5 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Momentum conservation:

Look at the momentum ~p inside of an arbitrary volume Ω(t)

d~p

dt=

d

dt

∫Ω(t)

ρ~u dΩrtt=

∫Ω(t)

∂ρ~u

∂t+∇ · (ρ~u ~u )

dΩ = ~F

Force:

F = FΩ + F∂Ω

=

∫Ω(t)

ρ ~f dΩ +

∫∂Ω(t)

σ ~n dS

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 18: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 5 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Momentum conservation:

Look at the momentum ~p inside of an arbitrary volume Ω(t)

d~p

dt=

d

dt

∫Ω(t)

ρ~u dΩrtt=

∫Ω(t)

∂ρ~u

∂t+∇ · (ρ~u ~u )

dΩ = ~F

Force:

F = FΩ + F∂Ω

=

∫Ω(t)

ρ ~f dΩ +

∫∂Ω(t)

σ ~n dS

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 19: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 5 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Momentum conservation:

Look at the momentum ~p inside of an arbitrary volume Ω(t)

d~p

dt=

d

dt

∫Ω(t)

ρ~u dΩrtt=

∫Ω(t)

∂ρ~u

∂t+∇ · (ρ~u ~u )

dΩ = ~F

Force:

F = FΩ + F∂Ω =

∫Ω(t)

ρ ~f dΩ +

∫∂Ω(t)

σ ~n dS

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

∂t(x , t) +∇ · (f ~u )

Page 20: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 6 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Energy equation:

d

dt

∫Ω(t)

1

2ρ |~u|2 + ρe

=

∫Ω(t)

ρ~f · ~u + ρ Q

+

∫∂Ω(t)

(σ ~n

)· ~u + κ ∇T · ~n

dS

According to:

volume force:∫

Ω(t) ρ~f · ~u dΩ

energy source:∫

Ω(t) ρ Q dΩ

surface force:∫∂Ω(t)

(σ ~n

)· ~u dS

heat flux:∫∂Ω(t) κ ∇T · ~n dS

Page 21: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 6 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Energy equation:

d

dt

∫Ω(t)

1

2ρ |~u|2 + ρe

dΩ =

∫Ω(t)

ρ~f · ~u + ρ Q

+

∫∂Ω(t)

(σ ~n

)· ~u + κ ∇T · ~n

dS

According to:

volume force:∫

Ω(t) ρ~f · ~u dΩ

energy source:∫

Ω(t) ρ Q dΩ

surface force:∫∂Ω(t)

(σ ~n

)· ~u dS

heat flux:∫∂Ω(t) κ ∇T · ~n dS

Page 22: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 6 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Energy equation:

d

dt

∫Ω(t)

1

2ρ |~u|2 + ρe

dΩ =

∫Ω(t)

ρ~f · ~u

+ ρ Q

+

∫∂Ω(t)

(σ ~n

)· ~u + κ ∇T · ~n

dS

According to:

volume force:∫

Ω(t) ρ~f · ~u dΩ

energy source:∫

Ω(t) ρ Q dΩ

surface force:∫∂Ω(t)

(σ ~n

)· ~u dS

heat flux:∫∂Ω(t) κ ∇T · ~n dS

Page 23: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 6 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Energy equation:

d

dt

∫Ω(t)

1

2ρ |~u|2 + ρe

dΩ =

∫Ω(t)

ρ~f · ~u + ρ Q

+

∫∂Ω(t)

(σ ~n

)· ~u + κ ∇T · ~n

dS

According to:

volume force:∫

Ω(t) ρ~f · ~u dΩ

energy source:∫

Ω(t) ρ Q dΩ

surface force:∫∂Ω(t)

(σ ~n

)· ~u dS

heat flux:∫∂Ω(t) κ ∇T · ~n dS

Page 24: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 6 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Energy equation:

d

dt

∫Ω(t)

1

2ρ |~u|2 + ρe

dΩ =

∫Ω(t)

ρ~f · ~u + ρ Q

+

∫∂Ω(t)

(σ ~n

)· ~u

+ κ ∇T · ~n

dS

According to:

volume force:∫

Ω(t) ρ~f · ~u dΩ

energy source:∫

Ω(t) ρ Q dΩ

surface force:∫∂Ω(t)

(σ ~n

)· ~u dS

heat flux:∫∂Ω(t) κ ∇T · ~n dS

Page 25: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 6 Theoretical background | Computational Fluid Dynamics | 03.07.2017

Energy equation:

d

dt

∫Ω(t)

1

2ρ |~u|2 + ρe

dΩ =

∫Ω(t)

ρ~f · ~u + ρ Q

+

∫∂Ω(t)

(σ ~n

)· ~u + κ ∇T · ~n

dS

According to:

volume force:∫

Ω(t) ρ~f · ~u dΩ

energy source:∫

Ω(t) ρ Q dΩ

surface force:∫∂Ω(t)

(σ ~n

)· ~u dS

heat flux:∫∂Ω(t) κ ∇T · ~n dS

Page 26: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 7 Theoretical background | Computational Fluid Dynamics | 03.07.2017

System equations:

1 mass conservation

∂ρ

∂t+∇ · (ρ~u ) = 0

2 momentum conservation

ρ∂~u

∂t+ (ρ~u · ∇) ~u = ρ ~f +∇ · σ

3 energy conservation

ρ∂e

∂t= ρ Q +∇ · (κ ∇T ) +∇ ·

(σ~u)−(∇ · σ

)~u

4 equation of state (e.g. ideal gas equation)

Page 27: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 7 Theoretical background | Computational Fluid Dynamics | 03.07.2017

System equations:

1 mass conservation

∂ρ

∂t+∇ · (ρ~u ) = 0

2 momentum conservation

ρ∂~u

∂t+ (ρ~u · ∇) ~u = ρ ~f +∇ · σ

3 energy conservation

ρ∂e

∂t= ρ Q +∇ · (κ ∇T ) +∇ ·

(σ~u)−(∇ · σ

)~u

4 equation of state (e.g. ideal gas equation)

Page 28: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 7 Theoretical background | Computational Fluid Dynamics | 03.07.2017

System equations:

1 mass conservation

∂ρ

∂t+∇ · (ρ~u ) = 0

2 momentum conservation

ρ∂~u

∂t+ (ρ~u · ∇) ~u = ρ ~f +∇ · σ

3 energy conservation

ρ∂e

∂t= ρ Q +∇ · (κ ∇T ) +∇ ·

(σ~u)−(∇ · σ

)~u

4 equation of state (e.g. ideal gas equation)

Page 29: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 7 Theoretical background | Computational Fluid Dynamics | 03.07.2017

System equations:

1 mass conservation

∂ρ

∂t+∇ · (ρ~u ) = 0

2 momentum conservation

ρ∂~u

∂t+ (ρ~u · ∇) ~u = ρ ~f +∇ · σ

3 energy conservation

ρ∂e

∂t= ρ Q +∇ · (κ ∇T ) +∇ ·

(σ~u)−(∇ · σ

)~u

4 equation of state (e.g. ideal gas equation)

Page 30: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 8 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

The stress tensor σ:

σ = −p · 1 + τ with τ is the viscous stress tensor

The viscosity term:

1 General viscous stress tensor:

τ = F (D(t, x), t)

2 Strain rate tensor:

D :=∂ε

∂t=

1

2

[(∇ ~u) + (∇ ~u)T

]

Page 31: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 8 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

The stress tensor σ:

σ = −p · 1 + τ with τ is the viscous stress tensor

The viscosity term:

1 General viscous stress tensor:

τ = F (D(t, x), t)

2 Strain rate tensor:

D :=∂ε

∂t=

1

2

[(∇ ~u) + (∇ ~u)T

]

Page 32: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 8 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

The stress tensor σ:

σ = −p · 1 + τ with τ is the viscous stress tensor

The viscosity term:

1 General viscous stress tensor:

τ = F (D(t, x), t)

2 Strain rate tensor:

D :=∂ε

∂t=

1

2

[(∇ ~u) + (∇ ~u)T

]

Page 33: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 8 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

The stress tensor σ:

σ = −p · 1 + τ with τ is the viscous stress tensor

The viscosity term:

1 General viscous stress tensor:

τ = F (D(t, x), t)

2 Strain rate tensor:

D :=∂ε

∂t=

1

2

[(∇ ~u) + (∇ ~u)T

]

Page 34: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 9 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Behaviour of the viscous stress tensor:

τ = F (D(t, x), t)

Time-dependent Time-independent

increase with timeprinter ink, synovial fluid

decrease with timegelatin gels, yogurt

shear thickeningcorn starch in water

shear thinningketchup, blood

generalized newonian fluidswater, blood plasma

Newtonian fluid:

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−(

2

3µ∇ · ~u

)1

with the dynamic viscosity µ

Page 35: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 9 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Behaviour of the viscous stress tensor:

τ = F (D(t, x), t)

Time-dependent Time-independent

increase with timeprinter ink, synovial fluid

decrease with timegelatin gels, yogurt

shear thickeningcorn starch in water

shear thinningketchup, blood

generalized newonian fluidswater, blood plasma

Newtonian fluid:

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−(

2

3µ∇ · ~u

)1

with the dynamic viscosity µ

Page 36: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 9 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Behaviour of the viscous stress tensor:

τ = F (D(t, x), t)

Time-dependent Time-independent

increase with timeprinter ink, synovial fluid

decrease with timegelatin gels, yogurt

shear thickeningcorn starch in water

shear thinningketchup, blood

generalized newonian fluidswater, blood plasma

Newtonian fluid:

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−(

2

3µ∇ · ~u

)1

with the dynamic viscosity µ

Page 37: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 9 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Behaviour of the viscous stress tensor:

τ = F (D(t, x), t)

Time-dependent Time-independent

increase with timeprinter ink, synovial fluid

decrease with timegelatin gels, yogurt

shear thickeningcorn starch in water

shear thinningketchup, blood

generalized newonian fluidswater, blood plasma

Newtonian fluid:

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−(

2

3µ∇ · ~u

)1

with the dynamic viscosity µ

Page 38: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 9 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Behaviour of the viscous stress tensor:

τ = F (D(t, x), t)

Time-dependent Time-independent

increase with timeprinter ink, synovial fluid

decrease with timegelatin gels, yogurt

shear thickeningcorn starch in water

shear thinningketchup, blood

generalized newonian fluidswater, blood plasma

Newtonian fluid:

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−(

2

3µ∇ · ~u

)1

with the dynamic viscosity µ

Page 39: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 9 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Behaviour of the viscous stress tensor:

τ = F (D(t, x), t)

Time-dependent Time-independent

increase with timeprinter ink, synovial fluid

decrease with timegelatin gels, yogurt

shear thickeningcorn starch in water

shear thinningketchup, blood

generalized newonian fluidswater, blood plasma

Newtonian fluid:

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−(

2

3µ∇ · ~u

)1

with the dynamic viscosity µ

Page 40: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 9 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Behaviour of the viscous stress tensor:

τ = F (D(t, x), t)

Time-dependent Time-independent

increase with timeprinter ink, synovial fluid

decrease with timegelatin gels, yogurt

shear thickeningcorn starch in water

shear thinningketchup, blood

generalized newonian fluidswater, blood plasma

Newtonian fluid:

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−(

2

3µ∇ · ~u

)1

with the dynamic viscosity µ

Page 41: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 9 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Behaviour of the viscous stress tensor:

τ = F (D(t, x), t)

Time-dependent Time-independent

increase with timeprinter ink, synovial fluid

decrease with timegelatin gels, yogurt

shear thickeningcorn starch in water

shear thinningketchup, blood

generalized newonian fluidswater, blood plasma

Newtonian fluid:

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−(

2

3µ∇ · ~u

)1

with the dynamic viscosity µ

Page 42: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 10 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid assumption:

0 =dρ

dt(x , t)

=∂

∂tρ(x , t) +∇ρ(x , t) · ~u

Continuity equation:

∂ρ

∂t+∇ · (ρ~u )

=∂ρ

∂t+∇ρ · ~u + ρ∇ · ~u

= ρ∇ · ~u = 0

It follows: ∇ · ~u = 0 (divergency free velocity field)

Viscous stress tensor: (Newtonian fluid)

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−

(

2

3µ∇ · ~u

)1

Page 43: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 10 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid assumption:

0 =dρ

dt(x , t)

=∂

∂tρ(x , t) +∇ρ(x , t) · ~u

Continuity equation:

∂ρ

∂t+∇ · (ρ~u )

=∂ρ

∂t+∇ρ · ~u + ρ∇ · ~u

= ρ∇ · ~u = 0

It follows: ∇ · ~u = 0 (divergency free velocity field)

Viscous stress tensor: (Newtonian fluid)

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−

(

2

3µ∇ · ~u

)1

Page 44: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 10 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid assumption:

0 =dρ

dt(x , t) =

∂tρ(x , t) +∇ρ(x , t) · ~u

Continuity equation:

∂ρ

∂t+∇ · (ρ~u )

=∂ρ

∂t+∇ρ · ~u + ρ∇ · ~u

= ρ∇ · ~u = 0

It follows: ∇ · ~u = 0 (divergency free velocity field)

Viscous stress tensor: (Newtonian fluid)

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−

(

2

3µ∇ · ~u

)1

Page 45: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 10 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid assumption:

0 =dρ

dt(x , t) =

∂tρ(x , t) +∇ρ(x , t) · ~u

Continuity equation:

∂ρ

∂t+∇ · (ρ~u )

=∂ρ

∂t+∇ρ · ~u + ρ∇ · ~u

= ρ∇ · ~u = 0

It follows: ∇ · ~u = 0 (divergency free velocity field)

Viscous stress tensor: (Newtonian fluid)

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−

(

2

3µ∇ · ~u

)1

Page 46: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 10 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid assumption:

0 =dρ

dt(x , t) =

∂tρ(x , t) +∇ρ(x , t) · ~u

Continuity equation:

∂ρ

∂t+∇ · (ρ~u ) =

∂ρ

∂t+∇ρ · ~u + ρ∇ · ~u

= ρ∇ · ~u = 0

It follows: ∇ · ~u = 0 (divergency free velocity field)

Viscous stress tensor: (Newtonian fluid)

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−

(

2

3µ∇ · ~u

)1

Page 47: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 10 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid assumption:

0 =dρ

dt(x , t) =

∂tρ(x , t) +∇ρ(x , t) · ~u

Continuity equation:

∂ρ

∂t+∇ · (ρ~u ) =

∂ρ

∂t+∇ρ · ~u + ρ∇ · ~u

= ρ∇ · ~u = 0

It follows: ∇ · ~u = 0 (divergency free velocity field)

Viscous stress tensor: (Newtonian fluid)

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−

(

2

3µ∇ · ~u

)1

Page 48: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 10 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid assumption:

0 =dρ

dt(x , t) =

∂tρ(x , t) +∇ρ(x , t) · ~u

Continuity equation:

∂ρ

∂t+∇ · (ρ~u ) =

∂ρ

∂t+∇ρ · ~u + ρ∇ · ~u

= ρ∇ · ~u = 0

It follows: ∇ · ~u = 0 (divergency free velocity field)

Viscous stress tensor: (Newtonian fluid)

τ = µ ·[(∇ ~u) + (∇ ~u)T

]−

(

2

3µ∇ · ~u

)1

Page 49: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 11 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid + isothermal assumption:

From T = const. with ddt ρ = 0 follows:

1 Pressure is given with p ∼ ρ (equation of state)

2 Energy is a function of ρ and ~u⇒ the energy conservation contains no extra information

For a newtonian fluid we get the Navier-Stokes equations as

Navier-Stokes equations

∇ · ~u = 0 (1)

ρ∂~u

∂t+ ρ (~u · ∇) ~u = ρ ~f −∇p + µ∇ · τ (2)

Note: often, the kinematic viscosity ν := µρ is used if ρ = const

Page 50: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 11 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid + isothermal assumption:

From T = const. with ddt ρ = 0 follows:

1 Pressure is given with p ∼ ρ (equation of state)

2 Energy is a function of ρ and ~u⇒ the energy conservation contains no extra information

For a newtonian fluid we get the Navier-Stokes equations as

Navier-Stokes equations

∇ · ~u = 0 (1)

ρ∂~u

∂t+ ρ (~u · ∇) ~u = ρ ~f −∇p + µ∇ · τ (2)

Note: often, the kinematic viscosity ν := µρ is used if ρ = const

Page 51: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 11 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid + isothermal assumption:

From T = const. with ddt ρ = 0 follows:

1 Pressure is given with p ∼ ρ (equation of state)

2 Energy is a function of ρ and ~u⇒ the energy conservation contains no extra information

For a newtonian fluid we get the Navier-Stokes equations as

Navier-Stokes equations

∇ · ~u = 0 (1)

ρ∂~u

∂t+ ρ (~u · ∇) ~u = ρ ~f −∇p + µ∇ · τ (2)

Note: often, the kinematic viscosity ν := µρ is used if ρ = const

Page 52: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 11 Navier-Stokes equation | Computational Fluid Dynamics | 03.07.2017

Incompressible fluid + isothermal assumption:

From T = const. with ddt ρ = 0 follows:

1 Pressure is given with p ∼ ρ (equation of state)

2 Energy is a function of ρ and ~u⇒ the energy conservation contains no extra information

For a newtonian fluid we get the Navier-Stokes equations as

Navier-Stokes equations

∇ · ~u = 0 (1)

ρ∂~u

∂t+ ρ (~u · ∇) ~u = ρ ~f −∇p + µ∇ · τ (2)

Note: often, the kinematic viscosity ν := µρ is used if ρ = const

Page 53: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 12 Turbulence modeling | Computational Fluid Dynamics | 03.07.2017

Application to biofluid systems

1 Human air system

Fluid-particle interactionFluid-structure interactionBlood-air barrier

2 Human blood system

Oxygen transportationFluid-structure interactionTransport of medicine

3 ...

Page 54: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 12 Turbulence modeling | Computational Fluid Dynamics | 03.07.2017

Application to biofluid systems

1 Human air system

Fluid-particle interactionFluid-structure interactionBlood-air barrier

2 Human blood system

Oxygen transportationFluid-structure interactionTransport of medicine

3 ...

Page 55: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 12 Turbulence modeling | Computational Fluid Dynamics | 03.07.2017

Application to biofluid systems

1 Human air system

Fluid-particle interactionFluid-structure interactionBlood-air barrier

2 Human blood system

Oxygen transportationFluid-structure interactionTransport of medicine

3 ...

Page 56: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 12 Turbulence modeling | Computational Fluid Dynamics | 03.07.2017

Application to biofluid systems

1 Human air system

Fluid-particle interactionFluid-structure interactionBlood-air barrier

2 Human blood system

Oxygen transportationFluid-structure interactionTransport of medicine

3 ...

Page 57: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 13 Turbulence modeling | Computational Fluid Dynamics | 03.07.2017

Break

5 min

Page 58: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 14 Review | Computational Fluid Dynamics | 03.07.2017

System equations:

1 mass conservation

∂ρ

∂t+∇ · (ρ~u ) = 0

2 momentum conservation

ρ∂~u

∂t+ (ρ~u · ∇) ~u = ρ ~f +∇ · σ

3 energy conservation

ρ∂e

∂t= ρ Q +∇ · (κ ∇T ) +∇ ·

(σ~u)−(∇ · σ

)~u

4 equation of state (e.g. ideal gas equation)

Page 59: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 14 Review | Computational Fluid Dynamics | 03.07.2017

System equations:

1 mass conservation

∂ρ

∂t+∇ · (ρ~u ) = 0

2 momentum conservation

ρ∂~u

∂t+ (ρ~u · ∇) ~u = ρ ~f +∇ · σ

3 energy conservation

ρ∂e

∂t= ρ Q +∇ · (κ ∇T ) +∇ ·

(σ~u)−(∇ · σ

)~u

4 equation of state (e.g. ideal gas equation)

Page 60: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 14 Review | Computational Fluid Dynamics | 03.07.2017

System equations:

1 mass conservation

∂ρ

∂t+∇ · (ρ~u ) = 0

2 momentum conservation

ρ∂~u

∂t+ (ρ~u · ∇) ~u = ρ ~f +∇ · σ

3 energy conservation

ρ∂e

∂t= ρ Q +∇ · (κ ∇T ) +∇ ·

(σ~u)−(∇ · σ

)~u

4 equation of state (e.g. ideal gas equation)

Page 61: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 14 Review | Computational Fluid Dynamics | 03.07.2017

System equations:

1 mass conservation

∂ρ

∂t+∇ · (ρ~u ) = 0

2 momentum conservation

ρ∂~u

∂t+ (ρ~u · ∇) ~u = ρ ~f +∇ · σ

3 energy conservation

ρ∂e

∂t= ρ Q +∇ · (κ ∇T ) +∇ ·

(σ~u)−(∇ · σ

)~u

4 equation of state (e.g. ideal gas equation)

Page 62: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 15 Review | Computational Fluid Dynamics | 03.07.2017

Incompressible flow/fluid + isothermal assumption:

From T = const. with ddt ρ = 0 follows:

1 Pressure is given with p ∼ ρ (equation of state)

2 Energy is a function of ρ and ~u⇒ the energy conservation contains no extra information

For a newtonian fluid we get the Navier-Stokes equations as

Navier-Stokes equations

∇ · ~u = 0 (3)

∂~u

∂t+ (~u · ∇) ~u = ~f − 1

ρ∇p + ν∇ · τ (4)

Note: often, the kinematic viscosity ν := µρ is used

Page 63: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 15 Review | Computational Fluid Dynamics | 03.07.2017

Incompressible flow/fluid + isothermal assumption:

From T = const. with ddt ρ = 0 follows:

1 Pressure is given with p ∼ ρ (equation of state)

2 Energy is a function of ρ and ~u⇒ the energy conservation contains no extra information

For a newtonian fluid we get the Navier-Stokes equations as

Navier-Stokes equations

∇ · ~u = 0 (3)

∂~u

∂t+ (~u · ∇) ~u = ~f − 1

ρ∇p + ν∇ · τ (4)

Note: often, the kinematic viscosity ν := µρ is used

Page 64: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 15 Review | Computational Fluid Dynamics | 03.07.2017

Incompressible flow/fluid + isothermal assumption:

From T = const. with ddt ρ = 0 follows:

1 Pressure is given with p ∼ ρ (equation of state)

2 Energy is a function of ρ and ~u⇒ the energy conservation contains no extra information

For a newtonian fluid we get the Navier-Stokes equations as

Navier-Stokes equations

∇ · ~u = 0 (3)

∂~u

∂t+ (~u · ∇) ~u = ~f − 1

ρ∇p + ν∇ · τ (4)

Note: often, the kinematic viscosity ν := µρ is used

Page 65: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 15 Review | Computational Fluid Dynamics | 03.07.2017

Incompressible flow/fluid + isothermal assumption:

From T = const. with ddt ρ = 0 follows:

1 Pressure is given with p ∼ ρ (equation of state)

2 Energy is a function of ρ and ~u⇒ the energy conservation contains no extra information

For a newtonian fluid we get the Navier-Stokes equations as

Navier-Stokes equations

∇ · ~u = 0 (3)

∂~u

∂t+ (~u · ∇) ~u = ~f − 1

ρ∇p + ν∇ · τ (4)

Note: often, the kinematic viscosity ν := µρ is used

Page 66: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 16 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Dimensionless Navier-Stokes:

Navier-Stokes momentum equation

∂~u

∂t+ (~u · ∇) ~u = ~f − 1

ρ∇p +

µ

ρ∇ · τ

Define characteristic time T , length L and velocity U with L = U · T :

τ =t

T~v =

~u

U~ξ =

~x

L

Dimensionless representation of the momentum equation:

∂~v

∂τ+ (~v · ∇) ~v =

L

U2~f − 1

ρU2∇p +

µ

ρUL∇ · τ

dimensionless forcedensity ~κ := LU2~f (look for Froude number)

pressure rescaling p := pρU2 (NOTE: only for inc. fluid)

Page 67: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 16 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Dimensionless Navier-Stokes:

Navier-Stokes momentum equation

∂~u

∂t+ (~u · ∇) ~u = ~f − 1

ρ∇p +

µ

ρ∇ · τ

Define characteristic time T , length L and velocity U with L = U · T :

τ =t

T~v =

~u

U~ξ =

~x

L

Dimensionless representation of the momentum equation:

∂~v

∂τ+ (~v · ∇) ~v =

L

U2~f − 1

ρU2∇p +

µ

ρUL∇ · τ

dimensionless forcedensity ~κ := LU2~f (look for Froude number)

pressure rescaling p := pρU2 (NOTE: only for inc. fluid)

Page 68: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 16 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Dimensionless Navier-Stokes:

Navier-Stokes momentum equation

∂~u

∂t+ (~u · ∇) ~u = ~f − 1

ρ∇p +

µ

ρ∇ · τ

Define characteristic time T , length L and velocity U with L = U · T :

τ =t

T~v =

~u

U~ξ =

~x

L

Dimensionless representation of the momentum equation:

∂~v

∂τ+ (~v · ∇) ~v =

L

U2~f − 1

ρU2∇p +

µ

ρUL∇ · τ

dimensionless forcedensity ~κ := LU2~f (look for Froude number)

pressure rescaling p := pρU2 (NOTE: only for inc. fluid)

Page 69: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 16 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Dimensionless Navier-Stokes:

Navier-Stokes momentum equation

∂~u

∂t+ (~u · ∇) ~u = ~f − 1

ρ∇p +

µ

ρ∇ · τ

Define characteristic time T , length L and velocity U with L = U · T :

τ =t

T~v =

~u

U~ξ =

~x

L

Dimensionless representation of the momentum equation:

∂~v

∂τ+ (~v · ∇) ~v =

L

U2~f − 1

ρU2∇p +

µ

ρUL∇ · τ

dimensionless forcedensity ~κ := LU2~f (look for Froude number)

pressure rescaling p := pρU2 (NOTE: only for inc. fluid)

Page 70: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 16 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Dimensionless Navier-Stokes:

Navier-Stokes momentum equation

∂~u

∂t+ (~u · ∇) ~u = ~f − 1

ρ∇p +

µ

ρ∇ · τ

Define characteristic time T , length L and velocity U with L = U · T :

τ =t

T~v =

~u

U~ξ =

~x

L

Dimensionless representation of the momentum equation:

∂~v

∂τ+ (~v · ∇) ~v =

L

U2~f − 1

ρU2∇p +

µ

ρUL∇ · τ

dimensionless forcedensity ~κ := LU2~f (look for Froude number)

pressure rescaling p := pρU2 (NOTE: only for inc. fluid)

Page 71: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 17 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Diffusion term & Reynolds number:

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

µ

ρUL∇ · τ

Definition of the Reynolds number:

Re :=inertia forces

viscous forces

=ρUL

µ

inertia force: Fin = ρL3·UT (momentum transfer)

viscous force: Fvis = µL2 · UL (“velocity diffusion”)

Dimensionless Navier-Stokes equations

∇ · ~v = 0 (5)

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

1

Re∇ · τ (6)

Page 72: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 17 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Diffusion term & Reynolds number:

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

µ

ρUL∇ · τ

Definition of the Reynolds number:

Re :=inertia forces

viscous forces

=ρUL

µ

inertia force: Fin = ρL3·UT (momentum transfer)

viscous force: Fvis = µL2 · UL (“velocity diffusion”)

Dimensionless Navier-Stokes equations

∇ · ~v = 0 (5)

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

1

Re∇ · τ (6)

Page 73: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 17 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Diffusion term & Reynolds number:

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

µ

ρUL∇ · τ

Definition of the Reynolds number:

Re :=inertia forces

viscous forces

=ρUL

µ

inertia force: Fin = ρL3·UT (momentum transfer)

viscous force: Fvis = µL2 · UL (“velocity diffusion”)

Dimensionless Navier-Stokes equations

∇ · ~v = 0 (5)

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

1

Re∇ · τ (6)

Page 74: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 17 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Diffusion term & Reynolds number:

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

µ

ρUL∇ · τ

Definition of the Reynolds number:

Re :=inertia forces

viscous forces

=ρUL

µ

inertia force: Fin = ρL3·UT (momentum transfer)

viscous force: Fvis = µL2 · UL (“velocity diffusion”)

Dimensionless Navier-Stokes equations

∇ · ~v = 0 (5)

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

1

Re∇ · τ (6)

Page 75: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 17 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Diffusion term & Reynolds number:

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

µ

ρUL∇ · τ

Definition of the Reynolds number:

Re :=inertia forces

viscous forces=ρUL

µ

inertia force: Fin = ρL3·UT (momentum transfer)

viscous force: Fvis = µL2 · UL (“velocity diffusion”)

Dimensionless Navier-Stokes equations

∇ · ~v = 0 (5)

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

1

Re∇ · τ (6)

Page 76: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 17 Dimensionless description | Computational Fluid Dynamics | 03.07.2017

Diffusion term & Reynolds number:

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

µ

ρUL∇ · τ

Definition of the Reynolds number:

Re :=inertia forces

viscous forces=ρUL

µ

inertia force: Fin = ρL3·UT (momentum transfer)

viscous force: Fvis = µL2 · UL (“velocity diffusion”)

Dimensionless Navier-Stokes equations

∇ · ~v = 0 (5)

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

1

Re∇ · τ (6)

Page 77: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 18 Pressure equation | Computational Fluid Dynamics | 03.07.2017

Pressure equation:

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

1

Re∇ · τ

Divergency free velocity field implies

∇ ·(∂~v

∂τ+ (~v · ∇) ~v

)= ∇ ·

(~κ −∇p +

1

Re∇ · τ

)

with ∂∂τ∇ · ~v = 0, we get the Poissin-Pressure equation:

∆p = ∇ ·(~κ − (~v · ∇) ~v +

1

Re∇ · τ

)

Page 78: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 18 Pressure equation | Computational Fluid Dynamics | 03.07.2017

Pressure equation:

∂~v

∂τ+ (~v · ∇) ~v = ~κ −∇p +

1

Re∇ · τ

Divergency free velocity field implies

∇ ·(∂~v

∂τ+ (~v · ∇) ~v

)= ∇ ·

(~κ −∇p +

1

Re∇ · τ

)

with ∂∂τ∇ · ~v = 0, we get the Poissin-Pressure equation:

∆p = ∇ ·(~κ − (~v · ∇) ~v +

1

Re∇ · τ

)

Page 79: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 19 Turbulent flow | Computational Fluid Dynamics | 03.07.2017

Turbulent flow:

If Re << 1, the diffusion time scale is much smaller as thetime scale for momentum transportation

velocity field perturbations smooth out quicklyvelocity field tends to be laminar

If Re >> 1, momentum transportation is the main effect forthe fluid flow description

velocity field perturbations increase quicklyvelocity field tends to be turbulent

Example: (flow in pipe)

Reynolds number: Re = ρ d vzµ

Observation: Julius Rotta (at 1950)Rekrit. ≈ 2300

~v , µ, ρ dr

z

Page 80: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 19 Turbulent flow | Computational Fluid Dynamics | 03.07.2017

Turbulent flow:

If Re << 1, the diffusion time scale is much smaller as thetime scale for momentum transportation

velocity field perturbations smooth out quicklyvelocity field tends to be laminar

If Re >> 1, momentum transportation is the main effect forthe fluid flow description

velocity field perturbations increase quicklyvelocity field tends to be turbulent

Example: (flow in pipe)

Reynolds number: Re = ρ d vzµ

Observation: Julius Rotta (at 1950)Rekrit. ≈ 2300

~v , µ, ρ dr

z

Page 81: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 19 Turbulent flow | Computational Fluid Dynamics | 03.07.2017

Turbulent flow:

If Re << 1, the diffusion time scale is much smaller as thetime scale for momentum transportation

velocity field perturbations smooth out quicklyvelocity field tends to be laminar

If Re >> 1, momentum transportation is the main effect forthe fluid flow description

velocity field perturbations increase quicklyvelocity field tends to be turbulent

Example: (flow in pipe)

Reynolds number: Re = ρ d vzµ

Observation: Julius Rotta (at 1950)Rekrit. ≈ 2300

~v , µ, ρ dr

z

Page 82: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 19 Turbulent flow | Computational Fluid Dynamics | 03.07.2017

Turbulent flow:

If Re << 1, the diffusion time scale is much smaller as thetime scale for momentum transportation

velocity field perturbations smooth out quicklyvelocity field tends to be laminar

If Re >> 1, momentum transportation is the main effect forthe fluid flow description

velocity field perturbations increase quicklyvelocity field tends to be turbulent

Example: (flow in pipe)

Reynolds number: Re = ρ d vzµ

Observation: Julius Rotta (at 1950)Rekrit. ≈ 2300

~v , µ, ρ dr

z

Page 83: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 19 Turbulent flow | Computational Fluid Dynamics | 03.07.2017

Turbulent flow:

If Re << 1, the diffusion time scale is much smaller as thetime scale for momentum transportation

velocity field perturbations smooth out quicklyvelocity field tends to be laminar

If Re >> 1, momentum transportation is the main effect forthe fluid flow description

velocity field perturbations increase quicklyvelocity field tends to be turbulent

Example: (flow in pipe)

Reynolds number: Re = ρ d vzµ

Observation: Julius Rotta (at 1950)Rekrit. ≈ 2300

~v , µ, ρ dr

z

Page 84: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 20 Turbulent flow | Computational Fluid Dynamics | 03.07.2017

Kolmogorov scales:

The smallest scales that influences the turbulent flow bydissipation effects.

Note:

To retain energy conservation at the numerical domain, one haveto resolve also the dissipative scales in the Navier-Stokes equation!

The scales are given as: (ε is the average dissipation rate)

length : η =

(µ3

ε ρ3

) 14

vel : uη =

ρε

) 14

time : τη =

ρ ε

) 12

withReη =

η uη µ

ρ= 1

Page 85: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 20 Turbulent flow | Computational Fluid Dynamics | 03.07.2017

Kolmogorov scales:

The smallest scales that influences the turbulent flow bydissipation effects.

Note:

To retain energy conservation at the numerical domain, one haveto resolve also the dissipative scales in the Navier-Stokes equation!

The scales are given as: (ε is the average dissipation rate)

length : η =

(µ3

ε ρ3

) 14

vel : uη =

ρε

) 14

time : τη =

ρ ε

) 12

withReη =

η uη µ

ρ= 1

Page 86: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 20 Turbulent flow | Computational Fluid Dynamics | 03.07.2017

Kolmogorov scales:

The smallest scales that influences the turbulent flow bydissipation effects.

Note:

To retain energy conservation at the numerical domain, one haveto resolve also the dissipative scales in the Navier-Stokes equation!

The scales are given as: (ε is the average dissipation rate)

length : η =

(µ3

ε ρ3

) 14

vel : uη =

ρε

) 14

time : τη =

ρ ε

) 12

withReη =

η uη µ

ρ= 1

Page 87: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 21 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Resolution problem:

Approximation of the dissipation rate (from large scales):

ε ∼ kinetic energy

time

∼ U2

T=

U3

L

Therefore we get the relation:

L

η= L ·

(µ3

ε ρ3

)− 14

∼ L ·(

U3 ρ3

Lµ3

) 14

= Re34

Example: (L ≈ 103m , v ≈ 1 ms , ρ ≈ 1.3 kg

m3 , µ ≈ 17.1 µPa · s)

Re ≈ 7.5 · 109

η ≈ 4 · 10−5 m

Page 88: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 21 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Resolution problem:

Approximation of the dissipation rate (from large scales):

ε ∼ kinetic energy

time∼ U2

T

=U3

L

Therefore we get the relation:

L

η= L ·

(µ3

ε ρ3

)− 14

∼ L ·(

U3 ρ3

Lµ3

) 14

= Re34

Example: (L ≈ 103m , v ≈ 1 ms , ρ ≈ 1.3 kg

m3 , µ ≈ 17.1 µPa · s)

Re ≈ 7.5 · 109

η ≈ 4 · 10−5 m

Page 89: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 21 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Resolution problem:

Approximation of the dissipation rate (from large scales):

ε ∼ kinetic energy

time∼ U2

T=

U3

L

Therefore we get the relation:

L

η= L ·

(µ3

ε ρ3

)− 14

∼ L ·(

U3 ρ3

Lµ3

) 14

= Re34

Example: (L ≈ 103m , v ≈ 1 ms , ρ ≈ 1.3 kg

m3 , µ ≈ 17.1 µPa · s)

Re ≈ 7.5 · 109

η ≈ 4 · 10−5 m

Page 90: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 21 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Resolution problem:

Approximation of the dissipation rate (from large scales):

ε ∼ kinetic energy

time∼ U2

T=

U3

L

Therefore we get the relation:

L

η= L ·

(µ3

ε ρ3

)− 14

∼ L ·(

U3 ρ3

Lµ3

) 14

= Re34

Example: (L ≈ 103m , v ≈ 1 ms , ρ ≈ 1.3 kg

m3 , µ ≈ 17.1 µPa · s)

Re ≈ 7.5 · 109

η ≈ 4 · 10−5 m

Page 91: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 21 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Resolution problem:

Approximation of the dissipation rate (from large scales):

ε ∼ kinetic energy

time∼ U2

T=

U3

L

Therefore we get the relation:

L

η= L ·

(µ3

ε ρ3

)− 14

∼ L ·(

U3 ρ3

Lµ3

) 14

= Re34

Example: (L ≈ 103m , v ≈ 1 ms , ρ ≈ 1.3 kg

m3 , µ ≈ 17.1 µPa · s)

Re ≈ 7.5 · 109

η ≈ 4 · 10−5 m

Page 92: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 21 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Resolution problem:

Approximation of the dissipation rate (from large scales):

ε ∼ kinetic energy

time∼ U2

T=

U3

L

Therefore we get the relation:

L

η= L ·

(µ3

ε ρ3

)− 14

∼ L ·(

U3 ρ3

Lµ3

) 14

= Re34

Example: (L ≈ 103m , v ≈ 1 ms , ρ ≈ 1.3 kg

m3 , µ ≈ 17.1 µPa · s)

Re ≈ 7.5 · 109

η ≈ 4 · 10−5 m

Page 93: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 22 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Resolution problem:

Approximation of the dissipation rate (from large scales):

ε ∼ kinetic energy

time∼ U2

T=

U3

L

Therefore we get the relation:

L

η= L ·

(µ3

ε ρ3

)− 14

∼ L ·(

U3 ρ3

Lµ3

) 14

= Re34

Example: (L ≈ 10−3m , v ≈ 0.1 ms , ρ ≈ 1060 kg

m3 , µ ≈ 3 mPa · s)

Re ≈ 35

η ≈ 7 · 10−5 m

Page 94: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 23 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Simulation approaches:

Page 95: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 24 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Simulation approaches:

Direct numerical simulation (DNS):Assumption that the flow inside of a volume element is purelylaminar and no dissipation effect occurs. (Note: If this is nottrue, the energy conservation results in a different flow field.)

Eddy dissipation modelling on small scales:Reynolds-Averaged Navier Stokes (RANS)Large-Eddy Simulation...

v = 〈v〉+ v ′ and p = 〈p〉+ p′

with the mean value 〈·〉 of · and the fluctuating part ·′.

Page 96: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 24 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Simulation approaches:

Direct numerical simulation (DNS):Assumption that the flow inside of a volume element is purelylaminar and no dissipation effect occurs. (Note: If this is nottrue, the energy conservation results in a different flow field.)

Eddy dissipation modelling on small scales:Reynolds-Averaged Navier Stokes (RANS)Large-Eddy Simulation...

v = 〈v〉+ v ′ and p = 〈p〉+ p′

with the mean value 〈·〉 of · and the fluctuating part ·′.

Page 97: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 25 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS:

Special cases: temporal or spatial averaging

In general: 〈f (~x , t)〉 = limN→∞

N∑n

f (~x , t)

Fluctuating part: 〈f ′〉 = 0

Reynolds equations:

∇ · 〈~v〉 = 0

∂ 〈~v〉∂t

+ (〈~v〉 · ∇) 〈~v〉 = ~f −∇〈p〉 +1

Re∇ ·⟨τ⟩−⟨(~v ′ · ∇

)~v ′⟩︸ ︷︷ ︸

correlation property

∇ ·⟨~v ′~v ′

⟩= ∇ ·

〈v ′xv ′x〉⟨v ′xv ′y

⟩〈v ′xv ′z〉⟨

v ′yv ′x⟩ ⟨

v ′yv ′y⟩ ⟨

v ′yv ′z⟩

〈v ′zv ′x〉⟨v ′zv ′y

⟩〈v ′zv ′z〉

Page 98: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 25 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS:

Special cases: temporal or spatial averaging

In general: 〈f (~x , t)〉 = limN→∞

N∑n

f (~x , t)

Fluctuating part: 〈f ′〉 = 0

Reynolds equations:

∇ · 〈~v〉 = 0

∂ 〈~v〉∂t

+ (〈~v〉 · ∇) 〈~v〉 = ~f −∇〈p〉 +1

Re∇ ·⟨τ⟩−⟨(~v ′ · ∇

)~v ′⟩︸ ︷︷ ︸

correlation property

∇ ·⟨~v ′~v ′

⟩= ∇ ·

〈v ′xv ′x〉⟨v ′xv ′y

⟩〈v ′xv ′z〉⟨

v ′yv ′x⟩ ⟨

v ′yv ′y⟩ ⟨

v ′yv ′z⟩

〈v ′zv ′x〉⟨v ′zv ′y

⟩〈v ′zv ′z〉

Page 99: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 25 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS:

Special cases: temporal or spatial averaging

In general: 〈f (~x , t)〉 = limN→∞

N∑n

f (~x , t)

Fluctuating part: 〈f ′〉 = 0

Reynolds equations:

∇ · 〈~v〉 = 0

∂ 〈~v〉∂t

+ (〈~v〉 · ∇) 〈~v〉 = ~f −∇〈p〉 +1

Re∇ ·⟨τ⟩−⟨(~v ′ · ∇

)~v ′⟩︸ ︷︷ ︸

correlation property

∇ ·⟨~v ′~v ′

⟩= ∇ ·

〈v ′xv ′x〉⟨v ′xv ′y

⟩〈v ′xv ′z〉⟨

v ′yv ′x⟩ ⟨

v ′yv ′y⟩ ⟨

v ′yv ′z⟩

〈v ′zv ′x〉⟨v ′zv ′y

⟩〈v ′zv ′z〉

Page 100: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 25 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS:

Special cases: temporal or spatial averaging

In general: 〈f (~x , t)〉 = limN→∞

N∑n

f (~x , t)

Fluctuating part: 〈f ′〉 = 0

Reynolds equations:

∇ · 〈~v〉 = 0

∂ 〈~v〉∂t

+ (〈~v〉 · ∇) 〈~v〉 = ~f −∇〈p〉 +1

Re∇ ·⟨τ⟩−⟨(~v ′ · ∇

)~v ′⟩︸ ︷︷ ︸

correlation property

∇ ·⟨~v ′~v ′

⟩= ∇ ·

〈v ′xv ′x〉⟨v ′xv ′y

⟩〈v ′xv ′z〉⟨

v ′yv ′x⟩ ⟨

v ′yv ′y⟩ ⟨

v ′yv ′z⟩

〈v ′zv ′x〉⟨v ′zv ′y

⟩〈v ′zv ′z〉

Page 101: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 26 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS models:

Zero equation models νT = ξ2 |∂⊥ 〈v〉| (mixing length ξ)

One equation models (example: Spalart and Allmaras)

∂νT∂t

+ 〈~v〉∇νT = ∇(νTσT∇νT

)+ Sν

Two equation models (k − ε, k − ω, SST)

k = 12 tr 〈~v

′~v ′〉 (mean of the fluctuating kinetic energy)dissipation rate εeddy frequency ω

1 k − ε: good on free flow fields with no walls2 k − ω: near wall approximation is good3 SST brings the advantage of booth together

Page 102: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 26 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS models:

Zero equation models νT = ξ2 |∂⊥ 〈v〉| (mixing length ξ)

One equation models (example: Spalart and Allmaras)

∂νT∂t

+ 〈~v〉∇νT = ∇(νTσT∇νT

)+ Sν

Two equation models (k − ε, k − ω, SST)

k = 12 tr 〈~v

′~v ′〉 (mean of the fluctuating kinetic energy)dissipation rate εeddy frequency ω

1 k − ε: good on free flow fields with no walls2 k − ω: near wall approximation is good3 SST brings the advantage of booth together

Page 103: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 26 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS models:

Zero equation models νT = ξ2 |∂⊥ 〈v〉| (mixing length ξ)

One equation models (example: Spalart and Allmaras)

∂νT∂t

+ 〈~v〉∇νT = ∇(νTσT∇νT

)+ Sν

Two equation models (k − ε, k − ω, SST)

k = 12 tr 〈~v

′~v ′〉 (mean of the fluctuating kinetic energy)dissipation rate εeddy frequency ω

1 k − ε: good on free flow fields with no walls2 k − ω: near wall approximation is good3 SST brings the advantage of booth together

Page 104: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 26 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS models:

Zero equation models νT = ξ2 |∂⊥ 〈v〉| (mixing length ξ)

One equation models (example: Spalart and Allmaras)

∂νT∂t

+ 〈~v〉∇νT = ∇(νTσT∇νT

)+ Sν

Two equation models (k − ε, k − ω, SST)

k = 12 tr 〈~v

′~v ′〉 (mean of the fluctuating kinetic energy)dissipation rate εeddy frequency ω

1 k − ε: good on free flow fields with no walls

2 k − ω: near wall approximation is good3 SST brings the advantage of booth together

Page 105: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 26 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS models:

Zero equation models νT = ξ2 |∂⊥ 〈v〉| (mixing length ξ)

One equation models (example: Spalart and Allmaras)

∂νT∂t

+ 〈~v〉∇νT = ∇(νTσT∇νT

)+ Sν

Two equation models (k − ε, k − ω, SST)

k = 12 tr 〈~v

′~v ′〉 (mean of the fluctuating kinetic energy)dissipation rate εeddy frequency ω

1 k − ε: good on free flow fields with no walls2 k − ω: near wall approximation is good

3 SST brings the advantage of booth together

Page 106: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 26 Turbulence models | Computational Fluid Dynamics | 03.07.2017

RANS models:

Zero equation models νT = ξ2 |∂⊥ 〈v〉| (mixing length ξ)

One equation models (example: Spalart and Allmaras)

∂νT∂t

+ 〈~v〉∇νT = ∇(νTσT∇νT

)+ Sν

Two equation models (k − ε, k − ω, SST)

k = 12 tr 〈~v

′~v ′〉 (mean of the fluctuating kinetic energy)dissipation rate εeddy frequency ω

1 k − ε: good on free flow fields with no walls2 k − ω: near wall approximation is good3 SST brings the advantage of booth together

Page 107: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 27 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Large-Eddy simulations (LES):

spatial averaging method

〈~v(~x , t)〉 :=

∫V~v(~x ′, t) · G (~x ,~x ′,∆) dV ′

with

1 step-function

G :=

1

∆3 , if |~x − ~x ′| < ∆/2

0, else

2 gauss-filter

G := A(∆) exp

−β |~x − ~x ′|

∆2

3 ...

Page 108: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 28 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Large-Eddy simulations (LES):

LES equation:

∇ · 〈~v〉 = 0

∂ 〈~v〉∂t

+ (〈~v〉 · ∇) 〈~v〉 = ~f −∇〈p〉 +1

Re∇ ·⟨τ⟩−∇ · τS

with τS := 〈~v~v〉 − 〈~v〉 〈~v〉.

Detailed look:

τS = 〈〈~v〉 〈~v〉〉 − 〈~v〉 〈~v〉︸ ︷︷ ︸L

+⟨〈~v〉~v ′

⟩−⟨~v ′ 〈~v〉

⟩︸ ︷︷ ︸C

+⟨~v ′~v ′

⟩︸ ︷︷ ︸τSR

Leonard-strain: creation of small eddys through large eddys

Cross-stress: interaction of the different scales

Subgrid-scale Reynolds stress tensor

Page 109: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 28 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Large-Eddy simulations (LES):

LES equation:

∇ · 〈~v〉 = 0

∂ 〈~v〉∂t

+ (〈~v〉 · ∇) 〈~v〉 = ~f −∇〈p〉 +1

Re∇ ·⟨τ⟩−∇ · τS

with τS := 〈~v~v〉 − 〈~v〉 〈~v〉. Detailed look:

τS = 〈〈~v〉 〈~v〉〉 − 〈~v〉 〈~v〉︸ ︷︷ ︸L

+⟨〈~v〉~v ′

⟩−⟨~v ′ 〈~v〉

⟩︸ ︷︷ ︸C

+⟨~v ′~v ′

⟩︸ ︷︷ ︸τSR

Leonard-strain: creation of small eddys through large eddys

Cross-stress: interaction of the different scales

Subgrid-scale Reynolds stress tensor

Page 110: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 29 Turbulence models | Computational Fluid Dynamics | 03.07.2017

Break

5 min

Page 111: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 30 Practical application | Computational Fluid Dynamics | 03.07.2017

Application

Page 112: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 31 Practical application | Computational Fluid Dynamics | 03.07.2017

Geometry

Not as easy

complicated

often simplified

Page 113: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 31 Practical application | Computational Fluid Dynamics | 03.07.2017

Geometry

Not as easy

complicated

often simplified

Page 114: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 31 Practical application | Computational Fluid Dynamics | 03.07.2017

Geometry

Not as easy

complicated

often simplified

Page 115: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 31 Practical application | Computational Fluid Dynamics | 03.07.2017

Geometry

Not as easy

complicated

often simplified

Page 116: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 32 Practical application | Computational Fluid Dynamics | 03.07.2017

Application

Page 117: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 33 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh

Page 118: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 34 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh

Mesh quality determined by:

area

aspect ratio

diagonal ratio

edge ratio

skewness

orthogonal quality

stretch

taper

volume

Page 119: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 35 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh - Orthogonal Quality

OQ = mini

Ai fi

| ~Ai ||~fi |,

Ai ci

| ~Ai ||~ci |

, (7)

Ai face normal vectorfi vector from the centroid of the cell to the centroid of that faceci vector from the centroid of the cell to the adjacent cell

Page 120: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 35 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh - Orthogonal Quality

OQ = mini

Ai fi

| ~Ai ||~fi |,

Ai ci

| ~Ai ||~ci |

, (7)

Ai face normal vectorfi vector from the centroid of the cell to the centroid of that faceci vector from the centroid of the cell to the adjacent cell

Page 121: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 36 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh

Boundary layer meshfor flows with high Reynold’s number, strong gradients exist withinthe boundary layer close to a solid wall (with a no-slip boundarycondition)

Page 122: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 36 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh

Boundary layer meshfor flows with high Reynold’s number, strong gradients exist withinthe boundary layer close to a solid wall (with a no-slip boundarycondition)

Page 123: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 37 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh

Inflation layer examples:

Page 124: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 38 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh

Hints for mesh generation

minimize mesh complexity

use structured mesh when appropriateuse quad / hex elements when appropriateuse tri /tet elements for complex geometries

minimize number of mesh elements

do not use too many (or too few) elementsuse quad / hex elements when appropriate (e.g. boundarylayers, long pipes)

maximize solution accuracy

concentrate mesh elements in critical regions (e.g. boundarylayers, wakes, shocks)align quad / hex meshes with flow directionavoid poor quality elements (e.g. twisted, skewed)

Page 125: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 38 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh

Hints for mesh generation

minimize mesh complexity

use structured mesh when appropriateuse quad / hex elements when appropriateuse tri /tet elements for complex geometries

minimize number of mesh elements

do not use too many (or too few) elementsuse quad / hex elements when appropriate (e.g. boundarylayers, long pipes)

maximize solution accuracy

concentrate mesh elements in critical regions (e.g. boundarylayers, wakes, shocks)align quad / hex meshes with flow directionavoid poor quality elements (e.g. twisted, skewed)

Page 126: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 38 Practical application | Computational Fluid Dynamics | 03.07.2017

Mesh

Hints for mesh generation

minimize mesh complexity

use structured mesh when appropriateuse quad / hex elements when appropriateuse tri /tet elements for complex geometries

minimize number of mesh elements

do not use too many (or too few) elementsuse quad / hex elements when appropriate (e.g. boundarylayers, long pipes)

maximize solution accuracy

concentrate mesh elements in critical regions (e.g. boundarylayers, wakes, shocks)align quad / hex meshes with flow directionavoid poor quality elements (e.g. twisted, skewed)

Page 127: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 39 Practical application | Computational Fluid Dynamics | 03.07.2017

Application

Page 128: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 40 Practical application | Computational Fluid Dynamics | 03.07.2017

Problem Definition - Boundary conditions

Choosing appropriate boundary conditions:

nature of flow – incompressible / compressible ...

physical models – turbulence, species transport ...

position of boundary

what is known

convergence of solution may (strongly) depend on choice ofboundary conditions

Page 129: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 41 Practical application | Computational Fluid Dynamics | 03.07.2017

Problem Definition- Numerical solver

two basic solver approaches :

pressure-based solver

originally developed for low-speed flowspressure determined from pressure or pressure-correctionequation (obtained from manipulating continuity andmomentum equations)

density-based solver

originally developed for high-speed flowsdensity determined from continuity equationpressure determined from equation of state

similar discretization method is used for both pressure-based anddensity-based solvers.linearization and solving of the discrete equations is different fortwo approaches.

Page 130: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 42 Practical application | Computational Fluid Dynamics | 03.07.2017

Application

Page 131: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 43 Practical application | Computational Fluid Dynamics | 03.07.2017

Calculation - Convergence of the iterative numerical scheme

at convergence :all discretized conservation equations are satisfied in all cells toa specified tolerancesolution no longer changes significantly with more iterationsoverall mass, momentum, energy and scalar balances areobtained

monitoring convergence with residuals

generally decrease in residuals by 10−3 indicates basic globalconvergence - major flow features have been establishedscaled energy residual must decrease by 10−6 for segregatedsolverscaled species residual may need to decrease by 10−5 toachieve species balance

monitoring convergence with physical quantities

important surface quantities should exhibit convergence

checking for property conservation

overall heat and mass balances should be within 0.1% of netflux through domain

Page 132: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 43 Practical application | Computational Fluid Dynamics | 03.07.2017

Calculation - Convergence of the iterative numerical scheme

at convergence :all discretized conservation equations are satisfied in all cells toa specified tolerancesolution no longer changes significantly with more iterationsoverall mass, momentum, energy and scalar balances areobtained

monitoring convergence with residualsgenerally decrease in residuals by 10−3 indicates basic globalconvergence - major flow features have been establishedscaled energy residual must decrease by 10−6 for segregatedsolverscaled species residual may need to decrease by 10−5 toachieve species balance

monitoring convergence with physical quantities

important surface quantities should exhibit convergence

checking for property conservation

overall heat and mass balances should be within 0.1% of netflux through domain

Page 133: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 43 Practical application | Computational Fluid Dynamics | 03.07.2017

Calculation - Convergence of the iterative numerical scheme

at convergence :all discretized conservation equations are satisfied in all cells toa specified tolerancesolution no longer changes significantly with more iterationsoverall mass, momentum, energy and scalar balances areobtained

monitoring convergence with residualsgenerally decrease in residuals by 10−3 indicates basic globalconvergence - major flow features have been establishedscaled energy residual must decrease by 10−6 for segregatedsolverscaled species residual may need to decrease by 10−5 toachieve species balance

monitoring convergence with physical quantitiesimportant surface quantities should exhibit convergence

checking for property conservation

overall heat and mass balances should be within 0.1% of netflux through domain

Page 134: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 43 Practical application | Computational Fluid Dynamics | 03.07.2017

Calculation - Convergence of the iterative numerical scheme

at convergence :all discretized conservation equations are satisfied in all cells toa specified tolerancesolution no longer changes significantly with more iterationsoverall mass, momentum, energy and scalar balances areobtained

monitoring convergence with residualsgenerally decrease in residuals by 10−3 indicates basic globalconvergence - major flow features have been establishedscaled energy residual must decrease by 10−6 for segregatedsolverscaled species residual may need to decrease by 10−5 toachieve species balance

monitoring convergence with physical quantitiesimportant surface quantities should exhibit convergence

checking for property conservationoverall heat and mass balances should be within 0.1% of netflux through domain

Page 135: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 44 Practical application | Computational Fluid Dynamics | 03.07.2017

Convergence difficulties

numerical instabilities can arise due to :

ill-posed problem (no physical solution)poor quality meshinappropriate boundary conditionsinappropriate solver settingsinappropriate initial conditions

trouble-shooting

ensure problem is physically realizablecompute an initial solution with a first-order discretizationschemedecrease under-relaxation for equations having convergenceproblems (segregated)reduce CFL number (unsteady flow)re-mesh or refine mesh regions with high aspect ratio or highlyskewed cells

Page 136: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 44 Practical application | Computational Fluid Dynamics | 03.07.2017

Convergence difficulties

numerical instabilities can arise due to :

ill-posed problem (no physical solution)poor quality meshinappropriate boundary conditionsinappropriate solver settingsinappropriate initial conditions

trouble-shooting

ensure problem is physically realizablecompute an initial solution with a first-order discretizationschemedecrease under-relaxation for equations having convergenceproblems (segregated)reduce CFL number (unsteady flow)re-mesh or refine mesh regions with high aspect ratio or highlyskewed cells

Page 137: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 45 Practical application | Computational Fluid Dynamics | 03.07.2017

Application

Page 138: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 46 Practical application | Computational Fluid Dynamics | 03.07.2017

Post Processing

qualitative analysis (visualization):

displaying the meshcontours of flow fields (e.g. pressure, velocity, temperature,concentrations ... )contours of derived field quantitiesvelocity vectorsanimation (using keyframes or frame-by-frame)

quantitative analysis:

XY plots (e.g. pressure, velocity, temperature vs position)forces and moments on surfacessurface and volume integralsFlow solvers may contain a complete post-processingenvironmentgenerally not necessary to use external post-processing software

Page 139: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 47 Practical application | Computational Fluid Dynamics | 03.07.2017

Verification & Validation

Model:A representation of a physical system or process intended toenhance our ability to understand, predict, or control itsbehaviour.

Code:A code is a set of computer instructions and data inputs anddefinitions.

Simulation:The exercise or use of a model.

Essentially, one implements a model into a computer code andthen uses the code to perform a CFD simulation which yieldsvalues used in the engineering analysis.

Page 140: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 47 Practical application | Computational Fluid Dynamics | 03.07.2017

Verification & Validation

Model:A representation of a physical system or process intended toenhance our ability to understand, predict, or control itsbehaviour.

Code:A code is a set of computer instructions and data inputs anddefinitions.

Simulation:The exercise or use of a model.

Essentially, one implements a model into a computer code andthen uses the code to perform a CFD simulation which yieldsvalues used in the engineering analysis.

Page 141: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 47 Practical application | Computational Fluid Dynamics | 03.07.2017

Verification & Validation

Model:A representation of a physical system or process intended toenhance our ability to understand, predict, or control itsbehaviour.

Code:A code is a set of computer instructions and data inputs anddefinitions.

Simulation:The exercise or use of a model.

Essentially, one implements a model into a computer code andthen uses the code to perform a CFD simulation which yieldsvalues used in the engineering analysis.

Page 142: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 47 Practical application | Computational Fluid Dynamics | 03.07.2017

Verification & Validation

Model:A representation of a physical system or process intended toenhance our ability to understand, predict, or control itsbehaviour.

Code:A code is a set of computer instructions and data inputs anddefinitions.

Simulation:The exercise or use of a model.

Essentially, one implements a model into a computer code andthen uses the code to perform a CFD simulation which yieldsvalues used in the engineering analysis.

Page 143: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 48 Practical application | Computational Fluid Dynamics | 03.07.2017

Verification & Validation - Level 1

Page 144: Computational Fluid Dynamics - Uni Ulm Aktuelles ... 1Introduction j Computational Fluid Dynamics j 03.07.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt

Seite 49 Practical application | Computational Fluid Dynamics | 03.07.2017

Verification & Validation - Level 2