Top Banner
Seite 1 Introduction | Computational Fluid Dynamics | 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO Winter Term 2017-2018
95

Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Mar 19, 2018

Download

Documents

ngominh
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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 1 Introduction | Computational Fluid Dynamics | 01.02.2017

Computational Fluid DynamicsTheory, Numerics, Modelling

Lucas Engelhardt

SISO

Winter Term 2017-2018

Page 2: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 2 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 2 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 2 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 2 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 2 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 2 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 2 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 3 Theoretical background | Computational Fluid Dynamics | 01.02.2017

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

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

Page 10: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 3 Theoretical background | Computational Fluid Dynamics | 01.02.2017

Reynolds transport theorem:

d

dt

∫Ω(t)

f (x , t) dΩ =

∫Ω(t)

∂f

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

Page 11: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 4 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 4 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 4 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 4 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 4 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 5 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 5 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 5 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 5 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 6 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 6 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 6 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 6 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 6 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 6 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 7 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 7 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 7 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 7 Theoretical background | Computational Fluid Dynamics | 01.02.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 · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 8 Navier-Stokes equation | Computational Fluid Dynamics | 01.02.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 31: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 8 Navier-Stokes equation | Computational Fluid Dynamics | 01.02.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 32: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 8 Navier-Stokes equation | Computational Fluid Dynamics | 01.02.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 33: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 8 Navier-Stokes equation | Computational Fluid Dynamics | 01.02.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 34: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 9 Dimensionless description | Computational Fluid Dynamics | 01.02.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 35: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 9 Dimensionless description | Computational Fluid Dynamics | 01.02.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 36: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 9 Dimensionless description | Computational Fluid Dynamics | 01.02.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 37: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 9 Dimensionless description | Computational Fluid Dynamics | 01.02.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 38: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 9 Dimensionless description | Computational Fluid Dynamics | 01.02.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 39: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 10 Dimensionless description | Computational Fluid Dynamics | 01.02.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 (3)

∂~v

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

1

Re∇ · τ (4)

Page 40: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 10 Dimensionless description | Computational Fluid Dynamics | 01.02.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 (3)

∂~v

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

1

Re∇ · τ (4)

Page 41: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 10 Dimensionless description | Computational Fluid Dynamics | 01.02.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 (3)

∂~v

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

1

Re∇ · τ (4)

Page 42: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 10 Dimensionless description | Computational Fluid Dynamics | 01.02.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 (3)

∂~v

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

1

Re∇ · τ (4)

Page 43: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 10 Dimensionless description | Computational Fluid Dynamics | 01.02.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 (3)

∂~v

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

1

Re∇ · τ (4)

Page 44: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 10 Dimensionless description | Computational Fluid Dynamics | 01.02.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 (3)

∂~v

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

1

Re∇ · τ (4)

Page 45: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 11 Turbulent flow | Computational Fluid Dynamics | 01.02.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 46: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 11 Turbulent flow | Computational Fluid Dynamics | 01.02.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 47: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 11 Turbulent flow | Computational Fluid Dynamics | 01.02.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 48: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 11 Turbulent flow | Computational Fluid Dynamics | 01.02.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 49: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 11 Turbulent flow | Computational Fluid Dynamics | 01.02.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 50: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 12 Turbulent flow | Computational Fluid Dynamics | 01.02.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 51: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 12 Turbulent flow | Computational Fluid Dynamics | 01.02.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 52: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 12 Turbulent flow | Computational Fluid Dynamics | 01.02.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 53: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 13 Turbulence models | Computational Fluid Dynamics | 01.02.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 54: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 13 Turbulence models | Computational Fluid Dynamics | 01.02.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 55: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 13 Turbulence models | Computational Fluid Dynamics | 01.02.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 56: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 13 Turbulence models | Computational Fluid Dynamics | 01.02.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 57: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 13 Turbulence models | Computational Fluid Dynamics | 01.02.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 58: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 13 Turbulence models | Computational Fluid Dynamics | 01.02.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 59: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 14 Turbulence models | Computational Fluid Dynamics | 01.02.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 60: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 15 Turbulence models | Computational Fluid Dynamics | 01.02.2017

Simulation approaches:

Page 61: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 16 Turbulence models | Computational Fluid Dynamics | 01.02.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 62: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 16 Turbulence models | Computational Fluid Dynamics | 01.02.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 63: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 17 Turbulence models | Computational Fluid Dynamics | 01.02.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 64: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 17 Turbulence models | Computational Fluid Dynamics | 01.02.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 65: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 17 Turbulence models | Computational Fluid Dynamics | 01.02.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 66: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 17 Turbulence models | Computational Fluid Dynamics | 01.02.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 67: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 18 Turbulence models | Computational Fluid Dynamics | 01.02.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 68: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 18 Turbulence models | Computational Fluid Dynamics | 01.02.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 69: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 18 Turbulence models | Computational Fluid Dynamics | 01.02.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 70: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 18 Turbulence models | Computational Fluid Dynamics | 01.02.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 71: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 18 Turbulence models | Computational Fluid Dynamics | 01.02.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 72: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 18 Turbulence models | Computational Fluid Dynamics | 01.02.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 73: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 19 Practical application | Computational Fluid Dynamics | 01.02.2017

Application

Page 74: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 20 Practical application | Computational Fluid Dynamics | 01.02.2017

Mesh

Page 75: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 21 Practical application | Computational Fluid Dynamics | 01.02.2017

Mesh

Mesh quality determined by:

area

aspect ratio

diagonal ratio

edge ratio

skewness

orthogonal quality

stretch

taper

volume

Page 76: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 22 Practical application | Computational Fluid Dynamics | 01.02.2017

Mesh - Orthogonal Quality

OQ = mini

Ai fi

| ~Ai ||~fi |,

Ai ci

| ~Ai ||~ci |

, (5)

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 77: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 22 Practical application | Computational Fluid Dynamics | 01.02.2017

Mesh - Orthogonal Quality

OQ = mini

Ai fi

| ~Ai ||~fi |,

Ai ci

| ~Ai ||~ci |

, (5)

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 78: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 23 Practical application | Computational Fluid Dynamics | 01.02.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 79: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 23 Practical application | Computational Fluid Dynamics | 01.02.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 80: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 24 Practical application | Computational Fluid Dynamics | 01.02.2017

Mesh

Inflation layer examples:

Page 81: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 25 Practical application | Computational Fluid Dynamics | 01.02.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 82: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 25 Practical application | Computational Fluid Dynamics | 01.02.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 83: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 25 Practical application | Computational Fluid Dynamics | 01.02.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 84: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 26 Practical application | Computational Fluid Dynamics | 01.02.2017

Application

Page 85: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 27 Practical application | Computational Fluid Dynamics | 01.02.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 86: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 28 Practical application | Computational Fluid Dynamics | 01.02.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 87: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 29 Practical application | Computational Fluid Dynamics | 01.02.2017

Application

Page 88: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 30 Practical application | Computational Fluid Dynamics | 01.02.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 89: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 30 Practical application | Computational Fluid Dynamics | 01.02.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 90: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 30 Practical application | Computational Fluid Dynamics | 01.02.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 91: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 30 Practical application | Computational Fluid Dynamics | 01.02.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 92: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 31 Practical application | Computational Fluid Dynamics | 01.02.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 93: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 31 Practical application | Computational Fluid Dynamics | 01.02.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 94: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 32 Practical application | Computational Fluid Dynamics | 01.02.2017

Application

Page 95: Computational Fluid Dynamics · PDF fileSeite 1Introduction j Computational Fluid Dynamics j 01.02.2017 Computational Fluid Dynamics Theory, Numerics, Modelling Lucas Engelhardt SISO

Seite 33 Practical application | Computational Fluid Dynamics | 01.02.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