Weierstrass Institute for Applied Analysis and Stochastics
Finite Element Methods for the Simulation of Incompressible Flows
Volker John
Mohrenstrasse 39 · 10117 Berlin · Germany · Tel. +49 30 20372 0 · www.wias-berlin.de · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 Outline of the Lectures
1 The Navier–Stokes Equations as Model for Incompressible Flows
2 Function Spaces For Linear Saddle Point Problems
3 The Stokes Equations
4 The Oseen Equations
5 The Stationary Navier–Stokes Equations
6 The Time-Dependent Navier–Stokes Equations – Laminar Flows
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 2 (151) 1 A Model for Incompressible Flows
• conservation laws ◦ conservation of linear momentum ◦ conservation of mass • flow variables ◦ ρ(t,x) : density [kg/m3] ◦ v(t,x) : velocity [m/s] ◦ P(t,x) : pressure [N/m2] assumed to be sufficiently smooth in • Ω ⊂ R3 • [0,T]
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 3 (151) 1 Conservation of Mass
• change of fluid in arbitrary volume V
∂ Z Z Z − ρ dx = ρv · n ds = ∇ · (ρv) dx ∂t V ∂V V | {z } | {z } mass transport through bdry
• V arbitrary =⇒ continuity equation
ρt + ∇ · (ρv) = 0
• incompressibility( ρ = const)
∇ · v = 0
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 4 (151) • acceleration: using first order Taylor series expansion in time (board) dv (t,x) = ∂ v(t,x) + (v(t,x) · ∇)v(t,x) dt t
movement of a particle
1 Newton’s Second Law of Motion
• Newton’s second law of motion
net force = mass × acceleration
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 5 (151) 1 Newton’s Second Law of Motion
• Newton’s second law of motion
net force = mass × acceleration
• acceleration: using first order Taylor series expansion in time (board) dv (t,x) = ∂ v(t,x) + (v(t,x) · ∇)v(t,x) dt t
movement of a particle
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 5 (151) • principle of Cauchy: internal contact forces depend (geometrically) only on the orientation of the surface t = t(n) n – unit normal vector of the surface pointing outwards of V
1 Newton’s Second Law of Motion
• acting forces on an arbitrary volume V : sum of external (body) forces ◦ gravity and internal (molecular) forces ◦ pressure ◦ viscous drag that a ’fluid element’ exerts on the ’adjacent element’ ◦ contact forces: act only on surface of ’fluid element’
Z Z F(t,x) dx + t(t,s) ds V ∂V t [N/m2] – Cauchy stress vector
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 6 (151) 1 Newton’s Second Law of Motion
• acting forces on an arbitrary volume V : sum of external (body) forces ◦ gravity and internal (molecular) forces ◦ pressure ◦ viscous drag that a ’fluid element’ exerts on the ’adjacent element’ ◦ contact forces: act only on surface of ’fluid element’
Z Z F(t,x) dx + t(t,s) ds V ∂V t [N/m2] – Cauchy stress vector • principle of Cauchy: internal contact forces depend (geometrically) only on the orientation of the surface t = t(n) n – unit normal vector of the surface pointing outwards of V
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 6 (151) 1 Newton’s Second Law of Motion
• it can be shown: conservation of linear momentum results in linear dependency on n t = Sn S(t,x)[N/m2] – stress tensor, dimension 3 × 3 • divergence theorem Z Z t(t,s) ds = ∇ · S(t,x) dx ∂V V • momentum equation
ρ (vt + (v · ∇)v) = ∇ · S + F ∀ t ∈ (0,T], x ∈ Ω
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 7 (151) 1 Newton’s Second Law of Motion
• model for the stress tensor ◦ torque Z Z M0 = r × F dx + r × (Sn) ds [N m] V ∂V T at equilibrium is zero =⇒ symmetry S = S ◦ decomposition S = V + PI V [N/m2] – viscous stress tensor ◦ pressure P acts only normal to the surface, directed into V Z Z Z − Pn ds = − ∇P dx = − ∇ · (PI) dx ∂V V V
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 8 (151) 1 Newton’s Second Law of Motion
• model for the stress tensor (cont.) ◦ viscous stress tensor − friction between fluid particles can only occur if the particles move with different velocities − viscous stress tensor depends on gradient of velocity − because of symmetry: on symmetric part of the gradient: velocity deformation tensor ∇v + (∇v)T (v) = D 2 − velocity not too large: dependency is linear (Newtonian fluids) 2µ = 2µ (v) + ζ − (∇ · v) V D 3 I µ [kg/(m s)] – dynamic or shear viscosity ζ [kg/(m s)] – second order viscosity
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 9 (151) • incompressible flows: incompressible Navier–Stokes equations P F ∂t v − 2ν∇ · D(v) + (v · ∇)v + ∇ = in (0,T] × Ω, ρ0 ρ0 ∇ · v = 0 in (0,T] × Ω
1 Navier–Stokes Equations
• general Navier–Stokes equations
ρ (∂t v + (v · ∇)v) 2µ −2∇ · (µD(v)) − ∇ · ζ − 3 ∇ · vI + ∇P = F in (0,T] × Ω, ρt + ∇ · (ρv) = 0 in (0,T] × Ω
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 10 (151) 1 Navier–Stokes Equations
• general Navier–Stokes equations
ρ (∂t v + (v · ∇)v) 2µ −2∇ · (µD(v)) − ∇ · ζ − 3 ∇ · vI + ∇P = F in (0,T] × Ω, ρt + ∇ · (ρv) = 0 in (0,T] × Ω
• incompressible flows: incompressible Navier–Stokes equations P F ∂t v − 2ν∇ · D(v) + (v · ∇)v + ∇ = in (0,T] × Ω, ρ0 ρ0 ∇ · v = 0 in (0,T] × Ω
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 10 (151) 1 Navier–Stokes Equations
• Claude Louis Marie Henri Navier (1785 – 1836) George Gabriel Stokes (1819 – 1903)
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 11 (151) 1 Dimensionless Incompressible Navier–Stokes Equations
• dimensionless equations needed for (numerical) analysis and numerical simulations • reference quantities of flow problem ◦ L [m] – a characteristic length scale ◦ U [m/s] – a characteristic velocity scale ◦ T ∗ [s] – a characteristic time scale • transform of variables x0 v t0 x = , u = , t = L U T ∗ • rescaling
L 2ν P L ∗ ∂t u − ∇ · D(u) + (u · ∇)u + ∇ 2 = 2 F in (0,T] × Ω, UT UL ρ0U ρ0U ∇ · u = 0 in (0,T] × Ω,
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 12 (151) 1 Dimensionless Incompressible Navier–Stokes Equations
• defining P UL L L p = 2 , Re = , St = ∗ , f = 2 F ρ0U ν UT ρ0U p – new pressure Re – Reynolds number St – Strouhal number f – new right hand side • result 2 St∂ u − ∇ · (u) + (u · ∇)u + ∇p = f in (0,T] × Ω, t Re D ∇ · u = 0 in (0,T] × Ω
• generally T ∗ = L/U =⇒ St = 1
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 13 (151) 1 Dimensionless Incompressible Navier–Stokes Equations
• dimensionless Navier–Stokes equations ◦ conservation of linear momentum ◦ conservation of mass
−1 T ut − 2Re ∇ · D(u) + ∇ · (uu ) + ∇p = f in (0,T] × Ω ∇ · u = 0 in [0,T] × Ω u(0,x) = u0 in Ω + boundary conditions • given: • to compute: d ◦ Ω ⊂ R ,d ∈ {2,3}: domain ◦ velocity u, with ◦ T : final time ∇u + ∇uT ◦ u : initial velocity (u) = , 0 D 2 ◦ boundary conditions velocity deformation tensor ◦ pressure p • parameter: Reynolds number Re
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 14 (151) 1 The Reynolds Number
• Reynolds number LU Re = ν convective forces = viscous forces
Osborne Reynolds (1842 – 1912) • rough classification of flows: ◦ Re small: steady-state flow field (if data do not depend on time) ◦ Re larger: laminar time-dependent flow field ◦ Re very large: turbulent flows
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 15 (151) • alternative expression of viscous term (due to ∇ · u = 0)
2∇ · D(u) = ∆u
• alternative expression of convective term (due to ∇ · u = 0)
(u · ∇)u = ∇ · (uuT )
1 Dimensionless Incompressible Navier–Stokes Equations
• simplified form (for mathematics)
∂t u − 2ν∇ · D(u) + (u · ∇)u + ∇p = f in (0,T] × Ω, ∇ · u = 0 in (0,T] × Ω
ν = Re−1 – dimensionless viscosity
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 16 (151) 1 Dimensionless Incompressible Navier–Stokes Equations
• simplified form (for mathematics)
∂t u − 2ν∇ · D(u) + (u · ∇)u + ∇p = f in (0,T] × Ω, ∇ · u = 0 in (0,T] × Ω
ν = Re−1 – dimensionless viscosity • alternative expression of viscous term (due to ∇ · u = 0)
2∇ · D(u) = ∆u
• alternative expression of convective term (due to ∇ · u = 0)
(u · ∇)u = ∇ · (uuT )
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 16 (151) ◦ Oseen equations: convection field known (only for analysis)
−ν∆u + (u0 · ∇)u + ∇p + cu = f in Ω ∇ · u = 0 in Ω
◦ Stokes equations: no convection
−∆u + ∇p = f in Ω ∇ · u = 0 in Ω
1 Incompressible Navier–Stokes Equations
• special cases ◦ steady-state Navier–Stokes equations: stationary flow fields
−ν∆u + (u · ∇)u + ∇p = f in Ω ∇ · u = 0 in Ω
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 17 (151) ◦ Stokes equations: no convection
−∆u + ∇p = f in Ω ∇ · u = 0 in Ω
1 Incompressible Navier–Stokes Equations
• special cases ◦ steady-state Navier–Stokes equations: stationary flow fields
−ν∆u + (u · ∇)u + ∇p = f in Ω ∇ · u = 0 in Ω
◦ Oseen equations: convection field known (only for analysis)
−ν∆u + (u0 · ∇)u + ∇p + cu = f in Ω ∇ · u = 0 in Ω
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 17 (151) 1 Incompressible Navier–Stokes Equations
• special cases ◦ steady-state Navier–Stokes equations: stationary flow fields
−ν∆u + (u · ∇)u + ∇p = f in Ω ∇ · u = 0 in Ω
◦ Oseen equations: convection field known (only for analysis)
−ν∆u + (u0 · ∇)u + ∇p + cu = f in Ω ∇ · u = 0 in Ω
◦ Stokes equations: no convection
−∆u + ∇p = f in Ω ∇ · u = 0 in Ω
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 17 (151) ◦ free slip boundary condition (e.g. symmetry planes)
u · n = g in (0,T] × Γslip ⊂ Γ, T n Stk = 0 in (0,T] × Γslip, 1 ≤ k ≤ d − 1
1 Incompressible Navier–Stokes Equations
• boundary conditions ◦ Dirichlet boundary conditions (inflows)
u(t,x) = g(t,x) in (0,T] × Γdiri ⊂ Γ
g(t,x) = 0 – no slip boundary condition (walls)
u(t,x) = 0 ⇐⇒ u(t,x) · n = 0, u(t,x) · t1 = 0, u(t,x) · t2 = 0
no penetration, no slip
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 18 (151) 1 Incompressible Navier–Stokes Equations
• boundary conditions ◦ Dirichlet boundary conditions (inflows)
u(t,x) = g(t,x) in (0,T] × Γdiri ⊂ Γ
g(t,x) = 0 – no slip boundary condition (walls)
u(t,x) = 0 ⇐⇒ u(t,x) · n = 0, u(t,x) · t1 = 0, u(t,x) · t2 = 0
no penetration, no slip ◦ free slip boundary condition (e.g. symmetry planes)
u · n = g in (0,T] × Γslip ⊂ Γ, T n Stk = 0 in (0,T] × Γslip, 1 ≤ k ≤ d − 1
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 18 (151) ◦ periodic boundary conditions (only for analysis, Ω = (0,l)d)
u(t,x + lei) = u(t,x) ∀ (t,x) ∈ (0,T] × Γ
1 Incompressible Navier–Stokes Equations
• boundary conditions (cont.) ◦ do-nothing boundary conditions (outflow)
Sn = 0 in (0,T] × Γoutf ⊂ Γ
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 19 (151) 1 Incompressible Navier–Stokes Equations
• boundary conditions (cont.) ◦ do-nothing boundary conditions (outflow)
Sn = 0 in (0,T] × Γoutf ⊂ Γ
◦ periodic boundary conditions (only for analysis, Ω = (0,l)d)
u(t,x + lei) = u(t,x) ∀ (t,x) ∈ (0,T] × Γ
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 19 (151) 1 Incompressible Navier–Stokes Equations
• difficulties for mathematical analysis and numerical simulations ◦ coupling of velocity and pressure ◦ nonlinearity of the convective term ◦ the convective term dominates the viscous term, i.e. ν is small
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 20 (151) 2 Linear Saddle Point Problems
• motivation ◦ iterative solution of Navier–Stokes equations leads to linear system of equations ◦ linear system have special form: saddle point problem ◦ sufficient and necessary condition on unique solvability needed ◦ can be derived in abstract form, see [1]
[1] Girault, Raviart: Finite Element Methods for Navier-Stokes Equations 1986
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 21 (151) 2 Linear Saddle Point Problems
• spaces: V,Q – real Hilbert spaces • bilinear forms:
a(·,·) : V ×V → R, b(·,·) : V × Q → R
• linear problem: Find (u, p) ∈ V × Q such that for given ( f ,r) ∈ V 0 × Q0
a(u,v) + b(v, p) = h f ,viV 0,V ∀ v ∈ V, b(u,q) = hr,qiQ0,Q ∀ q ∈ Q
• conditions on the spaces and bilinear forms necessary
Finite Element Methods for the Simulation of Incompressible Flows · Course at Universidad Autonoma de Madrid, 27.02. – 02.03.2012 · Page 22 (151) 2 Linear Saddle Point Problems
• associated linear operators