Temperature dependent material properties in incompressible flow Jan - - PowerPoint PPT Presentation

temperature dependent material properties in
SMART_READER_LITE
LIVE PREVIEW

Temperature dependent material properties in incompressible flow Jan - - PowerPoint PPT Presentation

Motivation & model Scheme Results Temperature dependent material properties in incompressible flow Jan Pech Institute of Thermomechanics of the Czech Academy of Sciences jpech@it.cas.cz 11.06.2019 Jan Pech (Czech Acad Sci, Inst


slide-1
SLIDE 1

Motivation & model Scheme Results

Temperature dependent material properties in incompressible flow

Jan Pech

Institute of Thermomechanics of the Czech Academy of Sciences jpech@it.cas.cz

11.06.2019

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 1 / 18

slide-2
SLIDE 2

Motivation & model Scheme Results

Institute of Thermomechanics of the Czech Academy of Sciences

(www.it.cas.cz) Department of Fluid Dynamics Laboratories of Turbulent Shear Flows transition to turbulence, structure and development of turbulent flow Internal Flows compressible transonic flow (compressor/turbine blades), vibrating profiles, ejectors, ... Environmental Aerodynamics atmospheric boundary layer, atmospheric flows, pollutant dispersion Computational Fluid Dynamics

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 2 / 18

slide-3
SLIDE 3

Motivation & model Scheme Results

Simulation of the flow around probes for hot wire anemometry. Thin (cca 5µm) heated wire-low Reynolds number (Re < 160). Stationary or periodic vortex shedding regime. Data from experiments available (setup for parallel vortex shedding-2D simulation should suffice).

0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 1 1.2 1.4 1.6 1.8 2 normalized value T*/T*0 ρ*/ρ* µ*/µ* κ*/κ* c*

p/c* p0

Variables with physical units have ∗ in superscript, subscript 0 denotes values belonging to a chosen reference temperature T∗ 0 (here T∗ = 285K; ρ∗-density; ρ∗ 0 = ρ∗(T∗ 0 ); µ∗- dynamic viscosity; κ∗- thermal conductivity; c∗ p - spec. heat at constant pressure, variation negligible in this case) [1] Wang A.-B., Tr´ avn´ ıˇ cek Z., Chia K.-C.: On the relationship of effective Reynolds number and Strouhal number for the laminar vortex shedding of a heated circular cylinder, Phys Fluids (2000) 12:6, 1401-1410 [2] Tr´ avn´ ıˇ cek Z., Wang A.-B., Tu W.-Y.: Laminar vortex shedding behind a cooled circular cylinder, Exp Fluids (2014) 55:1679 [3] Marˇ s´ ık F., Tr´ avn´ ıˇ cek Z., Yen, R.-H., et. al.: Sr-Re-Pr relationship for a heated/cooled cylinder in laminar cross flow. Proceedings of CHT-08 ICHMT International Symposium on Advances in Computational Heat Transfer,2008, Marrakech, Morocco Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 3 / 18

slide-4
SLIDE 4

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇π + 1

Re∇ · [2µD + λ (∇ · v) I] + fv (1a)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

slide-5
SLIDE 5

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇π + 1

Re∇ · [2µD + λ (∇ · v) I] + fv (1a) ∂ρ ∂t + ∇ · (ρv) = 0 (1b)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

slide-6
SLIDE 6

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇π + 1

Re∇ · [2µD + λ (∇ · v) I] + fv (1a) ∂ρ ∂t + ∇ · (ρv) = 0 (1b) ρcp ∂T ∂t + v · ∇T

  • =

1 RePr∇ · κ∇T + fT (1c)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

slide-7
SLIDE 7

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇π + 1

Re∇ · [2µD + λ (∇ · v) I] + fv (1a) ∂ρ ∂t + ∇ · (ρv) = 0 (1b) ρcp ∂T ∂t + v · ∇T

  • =

1 RePr∇ · κ∇T + fT (1c)

..dimensionless formulation in primitive variables, non-conservative form v = (v1, v2)T velocity (·)T, ∇,∇· matrix vector transposition, gradient, divergence D, I

1 2

  • ∇v + (∇v)T

, unit tensor t time T temperature (T =

T∗ T∗ ∞ or T = T∗−T∗ ∞ T∗ W −T∗ ∞

), T ∗

W temperature on wall

ρ = ρ(T), ρ = ρ(π) density µ = µ(T) dynamic viscosity κ = κ(T) thermal conductivity cp = 1

  • spec. heat capacity at const. pressure, calorically perfect fluid

fv volumetric momentum source, e.g. buoyancy fT heat source, e.g. viscous heating Re = L∗|v∗

∞|ρ∗ ∞ µ∗ ∞

Reynolds number (L∗ is characteristic length, e.g. cyl. diameter) Pr =

cp∗ ∞µ∗ ∞ κ∗ ∞

Prandtl number

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

slide-8
SLIDE 8

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇π + 1

Re∇ · [2µD + λ (∇ · v) I] + fv (1a) ∂ρ ∂t + ∇ · (ρv) = 0 (1b) ρcp ∂T ∂t + v · ∇T

  • =

1 RePr∇ · κ∇T + fT (1c)

..dimensionless formulation in primitive variables, non-conservative form v = (v1, v2)T velocity (·)T, ∇,∇· matrix vector transposition, gradient, divergence D, I

1 2

  • ∇v + (∇v)T

, unit tensor t time T temperature (T =

T∗ T∗ ∞ or T = T∗−T∗ ∞ T∗ W −T∗ ∞

), T ∗

W temperature on wall

ρ = ρ(T), ρ = ρ(π) density µ = µ(T) dynamic viscosity κ = κ(T) thermal conductivity cp = 1

  • spec. heat capacity at const. pressure, calorically perfect fluid

fv volumetric momentum source, e.g. buoyancy fT heat source, e.g. viscous heating Re = L∗|v∗

∞|ρ∗ ∞ µ∗ ∞

Reynolds number (L∗ is characteristic length, e.g. cyl. diameter) Pr =

cp∗ ∞µ∗ ∞ κ∗ ∞

Prandtl number

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

The stress tensor represents generalized model of Newtonian fluid, but

what is λ and π?

slide-9
SLIDE 9

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇π + 1

Re∇ · [2µD + λ (∇ · v) I] + fv (1a) ∂ρ ∂t + ∇ · (ρv) = 0 (1b) ρcp ∂T ∂t + v · ∇T

  • =

1 RePr∇ · κ∇T + fT (1c)

..dimensionless formulation in primitive variables, non-conservative form v = (v1, v2)T velocity (·)T, ∇,∇· matrix vector transposition, gradient, divergence D, I

1 2

  • ∇v + (∇v)T

, unit tensor t time T temperature (T =

T∗ T∗ ∞ or T = T∗−T∗ ∞ T∗ W −T∗ ∞

), T ∗

W temperature on wall

ρ = ρ(T), ρ = ρ(π) density µ = µ(T) dynamic viscosity κ = κ(T) thermal conductivity cp = 1

  • spec. heat capacity at const. pressure, calorically perfect fluid

fv volumetric momentum source, e.g. buoyancy fT heat source, e.g. viscous heating Re = L∗|v∗

∞|ρ∗ ∞ µ∗ ∞

Reynolds number (L∗ is characteristic length, e.g. cyl. diameter) Pr =

cp∗ ∞µ∗ ∞ κ∗ ∞

Prandtl number

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

Physical meaning of ”pressure” in considered model

We call thermodynamic pressure the variable acting in the equation of state, e.g. π = ρRT for ideal gas. But, instead of (1a), we are going to solve ρ ∂v ∂t + v · ∇v

  • = −∇p + 1

Re∇ ·

  • 2µD−2

3µ (∇ · v) I

  • + fv

(2) where p = π − µb∇ · v is mean or mechanical pressure, while µb = λ + 2

3µ is the

bulk viscosity. Above equation has the same structure as (1a) while setting λ = − 2

3µ (or equivalently µb = 0, c.f. Stokes hypothesis), but we avoid

specification of µb whose precise experimental determination is still open. Our variable p is not thermodynamic pressure.

slide-10
SLIDE 10

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇p + 1

Re∇ ·

  • 2µD−2

3µ (∇ · v) I

  • + fv

(1a) ∂ρ ∂t + ∇ · (ρv) = 0 (1b) ρcp ∂T ∂t + v · ∇T

  • =

1 RePr∇ · κ∇T + fT (1c)

..dimensionless formulation in primitive variables, non-conservative form v = (v1, v2)T velocity (·)T, ∇,∇· matrix vector transposition, gradient, divergence D, I

1 2

  • ∇v + (∇v)T

, unit tensor t time T temperature (T =

T∗ T∗ ∞ or T = T∗−T∗ ∞ T∗ W −T∗ ∞

), T ∗

W temperature on wall

ρ = ρ(T), ρ = ρ(π) density µ = µ(T) dynamic viscosity κ = κ(T) thermal conductivity cp = 1

  • spec. heat capacity at const. pressure, calorically perfect fluid

fv volumetric momentum source, e.g. buoyancy fT heat source, e.g. viscous heating Re = L∗|v∗

∞|ρ∗ ∞ µ∗ ∞

Reynolds number (L∗ is characteristic length, e.g. cyl. diameter) Pr =

cp∗ ∞µ∗ ∞ κ∗ ∞

Prandtl number

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

slide-11
SLIDE 11

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇p + 1

Re∇ ·

  • 2µD−2

3µ (∇ · v) I

  • + fv

(1a) ∂ρ ∂t + ∇ · (ρv) = 0 (1b) ρcp ∂T ∂t + v · ∇T

  • =

1 RePr∇ · κ∇T + fT (1c)

..dimensionless formulation in primitive variables, non-conservative form v = (v1, v2)T velocity (·)T, ∇,∇· matrix vector transposition, gradient, divergence D, I

1 2

  • ∇v + (∇v)T

, unit tensor t time T temperature (T =

T∗ T∗ ∞ or T = T∗−T∗ ∞ T∗ W −T∗ ∞

), T ∗

W temperature on wall

ρ = ρ(T), ρ = ρ(π) density µ = µ(T) dynamic viscosity κ = κ(T) thermal conductivity cp = 1

  • spec. heat capacity at const. pressure, calorically perfect fluid

fv volumetric momentum source, e.g. buoyancy fT heat source, e.g. viscous heating Re = L∗|v∗

∞|ρ∗ ∞ µ∗ ∞

Reynolds number (L∗ is characteristic length, e.g. cyl. diameter) Pr =

cp∗ ∞µ∗ ∞ κ∗ ∞

Prandtl number

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

We consider nontrivial mass source m in the continuity equation ∂ρ ∂t + ∇ · (ρv) = m for testing on manufactured solutions, but regarding physical meaning of the whole system it can’t model the change of mass.

slide-12
SLIDE 12

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇p + 1

Re∇ ·

  • 2µD−2

3µ (∇ · v) I

  • + fv

(1a) ∂ρ ∂t + ∇ · (ρv) = m (1b) ρcp ∂T ∂t + v · ∇T

  • =

1 RePr∇ · κ∇T + fT (1c)

..dimensionless formulation in primitive variables, non-conservative form v = (v1, v2)T velocity (·)T, ∇,∇· matrix vector transposition, gradient, divergence D, I

1 2

  • ∇v + (∇v)T

, unit tensor t time T temperature (T =

T∗ T∗ ∞ or T = T∗−T∗ ∞ T∗ W −T∗ ∞

), T ∗

W temperature on wall

ρ = ρ(T), ρ = ρ(π) density µ = µ(T) dynamic viscosity κ = κ(T) thermal conductivity cp = 1

  • spec. heat capacity at const. pressure, calorically perfect fluid

fv volumetric momentum source, e.g. buoyancy fT heat source, e.g. viscous heating Re = L∗|v∗

∞|ρ∗ ∞ µ∗ ∞

Reynolds number (L∗ is characteristic length, e.g. cyl. diameter) Pr =

cp∗ ∞µ∗ ∞ κ∗ ∞

Prandtl number

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

slide-13
SLIDE 13

Motivation & model Scheme Results

Coupled evolutionary Incompressible Navier-Stokes-Fourier system

ρ ∂v ∂t + v · ∇v

  • = −∇p + 1

Re∇ ·

  • 2µD−2

3µ (∇ · v) I

  • + fv

(1a) ∂ρ ∂t + ∇ · (ρv) = m (1b) ρcp ∂T ∂t + v · ∇T

  • =

1 RePr∇ · κ∇T + fT (1c)

..dimensionless formulation in primitive variables, non-conservative form v = (v1, v2)T velocity (·)T, ∇,∇· matrix vector transposition, gradient, divergence D, I

1 2

  • ∇v + (∇v)T

, unit tensor t time T temperature (T =

T∗ T∗ ∞ or T = T∗−T∗ ∞ T∗ W −T∗ ∞

), T ∗

W temperature on wall

ρ = ρ(T), ρ = ρ(π) density µ = µ(T) dynamic viscosity κ = κ(T) thermal conductivity cp = 1

  • spec. heat capacity at const. pressure, calorically perfect fluid

fv volumetric momentum source, e.g. buoyancy fT heat source, e.g. viscous heating Re = L∗|v∗

∞|ρ∗ ∞ µ∗ ∞

Reynolds number (L∗ is characteristic length, e.g. cyl. diameter) Pr =

cp∗ ∞µ∗ ∞ κ∗ ∞

Prandtl number

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 4 / 18

Generalized Fourier law is included in the heat equation (1c), which is in form valid for calorically perfect fluid (e = cpT or e = cV T). A minor change cp → cV and redefinition of Pr switches between gases and liquids, while the equation form is preserved.

slide-14
SLIDE 14

Motivation & model Scheme Results

Incompressible Navier-Stokes solver

∂v ∂t + v · ∇v = −∇p + 1 Re∇2v + fv (2a) ∇ · v = 0 (2b) Semi-implicit/Projection/Splitting/predictor-corrector/IMEX/velocity-correction/KIO scheme (Karniadakis, Israeli, Orszag 1991) Backward difference formula ∂v/∂t ≈ γvn+1 − Q

q=0 αqvn−q

∆t (3) and consistent extrapolation of non-linearities [v · ∇v]n+1 ≈

Q

  • q=0

βq [v · ∇v]n−q ≡ [v · ∇v]∗ (4) (extrapolated terms are denotes [ ]∗ henceforward)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 5 / 18

slide-15
SLIDE 15

Motivation & model Scheme Results

Decouple the system by application of ∇· to (2), what results in the pressure-Poisson eq. ∇2pn+1 = ∇ ·

  • 1

∆t

Q

  • q=0

αqvn−q − [v · ∇v]∗ + fn+1

  • (5a)

denoting ˆ v = Q

q=0 αqvn−q − ∆t [v · ∇v]∗

∇2pn+1 = ∇ · ˆ v ∆t + fn+1

  • (5b)

supplemented by the Neumann boundary condition ∂p ∂n =

  • −∂v

∂t − v · ∇v − 1 Re∇ × ∇ × v ∗ + fn+1

  • · n

(5c) Having ∇pn+1 we can solve the velocity-correction step for vn+1 ∇2vn+1 − γRe ∆t vn+1 = Re

  • ∇pn+1 − ˆ

v ∆t − fn+1

  • (5d)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 6 / 18

slide-16
SLIDE 16

Motivation & model Scheme Results

Acceleration term in pressure Neumann BC is approximated from BDF (known a priori for Dirichlet BC) ∂v ∂t

  • n+1

≈ γvn+1 − Q

q=0 vn−q

∆t (6)

Testing (in 2D): known smooth functions, ∇ · v = 0

v(x, t) = u(x, t) v(x, t)

  • =

2cos(πx)cos(πy)sin(t) 2sin(πx)sin(πy)sin(t)

  • (7a)

p(x, t) = 2sin(πx)sin(πy)cos(t) (7b) f(x, t) = 2cos(πx)cos(πy)cos(t) − 4πcos . . . 2sin(πx)sin(πy)cos(t) + 4πcos . . .

  • (8)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 7 / 18

slide-17
SLIDE 17

Motivation & model Scheme Results

Convergence properties

Initialisation of IMEX2 using IMEX1 scheme with ∆tI1 < ∆tI2 Ω = [0 : 2] × [−1 : 1] (two quadrilateral elements), NM = 15, t ∈ [0 : 1], Re = 1

4 8 12 16 20 r 4 8 12 16 20 p 10−14 10−12 10−10 10−8 10−6 ˜ upr 10−4 10−2 100 102 10−12 10−10 10−8 10−6 10−3 10−2 1

∆t Errors 10

  • 3

10

  • 2

10

  • 1

10

  • 7

10

  • 6

10

  • 5

10

  • 4

10

  • 3

10

  • 2

10

  • 1

10 10

1

L

∞-u

L

2-u

L

∞-p

L

2-p

Reference

1 2 1 1.5 1 1.85

  • S. Dong, J. Shen/Journal of Computational Physics 229 (2010) 7013–7029

||u-ue||L∞ ||u-ue||L2 ||p-pe||L∞ ||p-pe||L2

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 8 / 18

slide-18
SLIDE 18

Motivation & model Scheme Results

Convergence properties

Initialisation of IMEX2 using IMEX1 scheme with ∆tI1 < ∆tI2 Ω = [0 : 2] × [−1 : 1] (two quadrilateral elements), NM = 15, t ∈ [0 : 1], Re = 1

4 8 12 16 20 r 4 8 12 16 20 p 10−14 10−12 10−10 10−8 10−6 ˜ upr 10−4 10−2 100 102 10−12 10−10 10−8 10−6 10−3 10−2 1

∆t Errors 10

  • 3

10

  • 2

10

  • 1

10

  • 7

10

  • 6

10

  • 5

10

  • 4

10

  • 3

10

  • 2

10

  • 1

10 10

1

L

∞-u

L

2-u

L

∞-p

L

2-p

Reference

1 2 1 1.5 1 1.85

  • S. Dong, J. Shen/Journal of Computational Physics 229 (2010) 7013–7029

||u-ue||L∞ ||u-ue||L2 ||p-pe||L∞ ||p-pe||L2

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 8 / 18

1e-09 1e-08 1e-07 1e-06 1e-05 0.0001 0.001 0.01 0.1 1 10 100 0.0001 0.001 0.01 0.1 1 Errors ∆t Nektar-git (8Jun2019) vs. JPech modified version 3.3.0 IMEX1 and IMEX2 scheme git:||uI1||L∞ git:||uI2||L∞ git:||pI1||L∞ git:||pI2||L∞ jp:||uI1||L∞ jp:||uI2||L∞ jp:||pI1||L∞ jp:||pI2||L∞

slide-19
SLIDE 19

Motivation & model Scheme Results

Intermediate steps

1

Homogeneous divergence

2

Divergence as a given function

◮ velocity-correction for ∇ · v = m(x, t) ◮ extension of stress tensor ∇2v → ∇ ·

  • ∇v + (∇v)T

− 2 3 ∇∇ · v

◮ Advection-diffusion for temperature (one direction of coupling, velocity independent of

temperature)

◮ µ = µ(T) For ∇ · v = 0 studied in

Karamanos and Sherwin: Applied Numerical Mathematics 33 (2000) 455–462 (IDEA: µ(T(x, t)) = ¯ µ + µs(t, x), where ¯ µ = const. or ¯ µ = ¯ µ(x))

◮ κ(T) = ¯

κ + κs(v, t)

3

Divergence estimated from continuity equation, since ρ = ρ(T) & ρ = ρ(p)

◮ in Navier-Stokes ◮ in energy balance Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 9 / 18

slide-20
SLIDE 20

Motivation & model Scheme Results

Demonstration of variable property splitting: Nonlinear energy equation

κ = κ(T) Tabulated data, e.g. power function fit (no a priori restriction to the function form): κ∗(T ∗) = κ∗ T ∗ T ∗ ωκ ⇒ κ(T) = κ∗ κ∗

  • T T ∗

T ∗ ωκ ∂T ∂t + v · ∇T = 1 RePr∇ · κ∇T + fT (9) κ(T) = ¯ κ + κs (¯ κ = const. or ¯ κ = κ(x) and κs = κs(x, t)) ¯ κ∇2Tn+1 − γRePr ∆t Tn+1 = RePr

ˆ T ∆t − fT n+1

  • − [∇ · κs∇T]∗

(10) where ˆ T = Q

q=0 αqTn−q − ∆t [v · ∇T]∗. If ¯

κ = ¯ κ(x) the formulation complicates.

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 10 / 18

slide-21
SLIDE 21

Motivation & model Scheme Results

Temperature dependent properties in Navier-Stokes & Full continuity equation

µ(T) = µ∗ µ∗

  • T T ∗

T ∗ ωµ , ρ(T) = ρ∗ ρ∗

  • T T ∗

T ∗ ωρ ∇ · v follows from the continuity equation The ”mass source” m is included for the testing only ρ ∂v ∂t + v · ∇v

  • = −∇p + 1

Re

  • ∇ · µ
  • ∇v + (∇v)T

− 2 3∇ (µ∇ · v)

  • + fv

(11) ∂ρ ∂t + ∇ · (ρv) = m (12)

Forward estimate of velocity divergence

We need to evaluate ∇ · v for both the pressure-Poisson and velocity-correction steps [∇ · v]n+1 ≈ 1 [ρ]∗

  • mn+1 − [v · ∇ρ]∗ −

∂ρ ∂t ∗∗ (13) where [ ]∗∗ denotes extrapolation of the approximation of density time derivative ∂ρ ∂t

  • n

∗ ≈

  • γρn − Q

q=0 αqρn−1−q

∆t ∗ ≡ ∂ρ ∂t ∗∗ (14)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 11 / 18

slide-22
SLIDE 22

Motivation & model Scheme Results

Pressure-Poisson step

Neumann pressure boundary condition

∂p ∂n = n·

  • −ρ∂v

∂t − ρv · ∇v + 1 Re

  • −µ∇ × ∇ × v + ∇µ ·
  • ∇v + (∇v)T∗

+ 1 Re

  • −2

3 [∇µ]∗ [∇ · v]n+1 + 4 3[µ]∗∇[∇ · v]n+1

  • + fn+1
  • (15)

Pressure-Poisson equation

∇2p = γ ∆t ∂ρ ∂t ∗∗ − mn+1

  • + ∇ ·

γ ∆t [ρ]∗ˆ v + 1 Re

  • ∇µ ·
  • ∇v + (∇v)T

− ∇µ · (∇ × ∇ × v) ∗ + 1 Re

  • −2

3[∇µ]∗[∇ · v]n+1 + 4 3[µ]∗∇[∇ · v]n+1

  • + fn+1
  • (16)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 12 / 18

slide-23
SLIDE 23

Motivation & model Scheme Results

Velocity-correction step

Density split

1 ρ = ¯ 1 ρ

  • +

1 ρ

  • s

∇2vn+1 − γ ∆t ¯ ρ ¯ µRevn+1 = ¯ ρ ¯ µ

  • −Re γ

∆t ˆ v + 1 [ρ]∗

  • Re(∇pn+1 − fn+1) −
  • ∇µ · [∇v + (∇v)T]

∗ +2 3[∇µ]∗[∇ · v]n+1 − 1 3[µ]∗∇[∇ · v]n+1

  • − (∇[∇ · v]n+1 − [∇ × ∇ × v]∗)

¯ ρ ¯ µ 1 [ρ]∗

  • s

[µ]∗ + 1 ¯ µ[µ]∗

s

  • (17)

..the last term in square brackets simplifies to

  • [µ]∗

[ρ]∗ − 1

  • if

¯

  • 1

ρ

  • = ¯

µ = 1

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 13 / 18

slide-24
SLIDE 24

Motivation & model Scheme Results

Convergence for manufactured solution

Ω = [0, 2] × [−1, 1] two elements, NM = 15 Boundary conditions:

◮ Dirichlet for v ◮ HOPBC (Neumann) for pressure ◮ Dirichlet for T

Re = Pr = 1     u v T p     =     2cos(πx)cos(πy)sin(t) sin(πx)sin(πy)sin(t) sin(x)sin(y)cos(t) 2sin(πx)sin(πy)cos(t)     µ(T) = κ(T) = ρ(T) = (1 + 0.1T)2 veeery long forcing terms defining fv and fT (snippet follows):

<FUNCTION NAME="BodyForce"> <E VAR="u" VALUE=" (1.0 + 0.1*sin(x)*sin(y)*cos(t))^(2.0)*( 2.0*cos(PI*x)*cos(PI*y)*cos(t)

  • 2.0*PI*sin(t)*sin(t)*sin(2.0*PI*x)*( 1.0-0.5*sin(PI*y)*sin(PI*y) )

) +2.0*PI*cos(PI*x)*sin(PI*y)*cos(t) + ( 0.1*2.0*(1.0+0.1*sin(x)*sin(y)*cos(t))^(2.0-1.0)*PI*cos(t)*sin(t)*( 4.0*cos(x)*sin(y)*sin(PI*x)*cos(PI*y) + sin(x)*cos(y)*cos(PI*x)*sin( +4.0*PI*PI*(1.0+0.1*sin(x)*sin(y)*cos(t))^(2.0)*cos(PI*x)*cos(PI*y)*sin(t) +PI*PI*(1.0+0.1*sin(x)*sin(y)*cos(t))^(2.0)*cos(PI*x)*cos(PI*y)*sin(t) / 3.0

  • 2.0*PI*0.1*2.0*(1.0+0.1*sin(x)*sin(y)*cos(t))^(2.0-1.0)*cos(x)*sin(y)*sin(PI*x)*cos(PI*y)*cos(t)*sin(t)/ 3.0

)/Re

  • (1.0 + 0.1*sin(x)*sin(y)*cos(t))^(2.0)*gx*g_inf*Char_Length/V_inf*V_inf

"/> <E VAR="v" VALUE=" (1.0 + 0.1*sin(x)*sin(y)*cos(t))^(2.0)*( sin(PI*x)*sin(PI*y)*cos(t) +PI*sin(t)*sin(t)*sin(2.0*PI*y)*( 1.0-0.5*sin(PI*x)*sin(PI*x) ) ) +2.0*PI*sin(PI*x)*cos(PI*y)*cos(t) Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 14 / 18

slide-25
SLIDE 25

Motivation & model Scheme Results

Convergence for manufactured solution

Ω = [0, 2] × [−1, 1] two elements, NM = 15 Boundary conditions:

◮ Dirichlet for v ◮ HOPBC (Neumann) for pressure ◮ Dirichlet for T

Re = Pr = 1     u v T p     =     2cos(πx)cos(πy)sin(t) sin(πx)sin(πy)sin(t) sin(x)sin(y)cos(t) 2sin(πx)sin(πy)cos(t)     µ(T) = κ(T) = ρ(T) = (1 + 0.1T)2 veeery long forcing terms defining fv and fT (snippet follows):

<FUNCTION NAME="BodyForce"> <E VAR="u" VALUE=" (1.0 + 0.1*sin(x)*sin(y)*cos(t))^(2.0)*( 2.0*cos(PI*x)*cos(PI*y)*cos(t)

  • 2.0*PI*sin(t)*sin(t)*sin(2.0*PI*x)*( 1.0-0.5*sin(PI*y)*sin(PI*y) )

) +2.0*PI*cos(PI*x)*sin(PI*y)*cos(t) + ( 0.1*2.0*(1.0+0.1*sin(x)*sin(y)*cos(t))^(2.0-1.0)*PI*cos(t)*sin(t)*( 4.0*cos(x)*sin(y)*sin(PI*x)*cos(PI*y) + sin(x)*cos(y)*cos(PI*x)*sin( +4.0*PI*PI*(1.0+0.1*sin(x)*sin(y)*cos(t))^(2.0)*cos(PI*x)*cos(PI*y)*sin(t) +PI*PI*(1.0+0.1*sin(x)*sin(y)*cos(t))^(2.0)*cos(PI*x)*cos(PI*y)*sin(t) / 3.0

  • 2.0*PI*0.1*2.0*(1.0+0.1*sin(x)*sin(y)*cos(t))^(2.0-1.0)*cos(x)*sin(y)*sin(PI*x)*cos(PI*y)*cos(t)*sin(t)/ 3.0

)/Re

  • (1.0 + 0.1*sin(x)*sin(y)*cos(t))^(2.0)*gx*g_inf*Char_Length/V_inf*V_inf

"/> <E VAR="v" VALUE=" (1.0 + 0.1*sin(x)*sin(y)*cos(t))^(2.0)*( sin(PI*x)*sin(PI*y)*cos(t) +PI*sin(t)*sin(t)*sin(2.0*PI*y)*( 1.0-0.5*sin(PI*x)*sin(PI*x) ) ) +2.0*PI*sin(PI*x)*cos(PI*y)*cos(t) Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 14 / 18

New scheme convergence: manufactured solution

1e-08 1e-07 1e-06 1e-05 0.0001 0.001 0.01 0.1 1 10 0.0001 0.001 0.01 0.1 1 Errors ∆t ||uI1||L∞ ||uI2||L∞ ||TI1||L∞ ||TI2||L∞ ||pI1||L∞ ||pI2||L∞

slide-26
SLIDE 26

Motivation & model Scheme Results

Simulation setup

Triangular mesh with 2360 elements, NM = 7, cylinder boundary curve 15 GLL points Boundary conditions: Farfield/Inlet - Dirichlet velocity, HOPBC, Dirichlet temperature Cylinder - velocity no-slip, HOPBC, Dirichlet temperature Outflow - Zero Neumann for velocity, homogeneous Dirichlet pressure, Zero Neumann for temperature

FARFIELD CYLINDER OUTFLOW Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 15 / 18

slide-27
SLIDE 27

Motivation & model Scheme Results

Cylinder flow influenced by heating/cooling - full model

buoyancy:

◮ fv =

1 Fr2 [ρ(T)]∗ g

◮ Dirichlet pressure boundary condition

gradient in direction of gravity force≡shifted hydrostatic pressure: p|ΩOUT = g∗

∞L∗

|v∗

∞|2 y

◮ Solution to this model gives an estimate of the absolute pressure variations in the wake

viscous heating:

◮ fT = Ec

Re

  • µ(T)
  • 2

∂v1 ∂x1 2 + ∂v2 ∂x2 2 + ∂v1 ∂x2 + ∂v2 ∂x1 2∗

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 16 / 18

slide-28
SLIDE 28

Motivation & model Scheme Results

Cylinder flow influenced by heating/cooling - full model

buoyancy:

◮ fv =

1 Fr2 [ρ(T)]∗ g

◮ Dirichlet pressure boundary condition

gradient in direction of gravity force≡shifted hydrostatic pressure: p|ΩOUT = g∗

∞L∗

|v∗

∞|2 y

◮ Solution to this model gives an estimate of the absolute pressure variations in the wake

viscous heating:

◮ fT = Ec

Re

  • µ(T)
  • 2

∂v1 ∂x1 2 + ∂v2 ∂x2 2 + ∂v1 ∂x2 + ∂v2 ∂x1 2∗

Fr =

  • v∗

  • g∗

∞L∗

Froude number g gravity vector (normalized by g∗

∞ = 9.81ms−1)

Ec =

  • v∗

  • 2

c∗

p T ∗ ∞

Eckert number (in case T = T ∗/T ∗

∞)

˜ T = TW

T∞ Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 16 / 18

slide-29
SLIDE 29

Motivation & model Scheme Results

Cylinder flow influenced by heating/cooling - full model

buoyancy:

◮ fv =

1 Fr2 [ρ(T)]∗ g

◮ Dirichlet pressure boundary condition

gradient in direction of gravity force≡shifted hydrostatic pressure: p|ΩOUT = g∗

∞L∗

|v∗

∞|2 y

◮ Solution to this model gives an estimate of the absolute pressure variations in the wake

viscous heating:

◮ fT = Ec

Re

  • µ(T)
  • 2

∂v1 ∂x1 2 + ∂v2 ∂x2 2 + ∂v1 ∂x2 + ∂v2 ∂x1 2∗

Fr =

  • v∗

  • g∗

∞L∗

Froude number g gravity vector (normalized by g∗

∞ = 9.81ms−1)

Ec =

  • v∗

  • 2

c∗

p T ∗ ∞

Eckert number (in case T = T ∗/T ∗

∞)

˜ T = TW

T∞ Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 16 / 18

Accuracy demonstration: ˜ T → T∞ = TW , i.e. viscous heating only Re = 121.8, T variation ≈ 10−7, (T ∈ [0.99999996, 1.000004])

slide-30
SLIDE 30

Motivation & model Scheme Results

Cylinder flow influenced by heating/cooling - full model

buoyancy:

◮ fv =

1 Fr2 [ρ(T)]∗ g

◮ Dirichlet pressure boundary condition

gradient in direction of gravity force≡shifted hydrostatic pressure: p|ΩOUT = g∗

∞L∗

|v∗

∞|2 y

◮ Solution to this model gives an estimate of the absolute pressure variations in the wake

viscous heating:

◮ fT = Ec

Re

  • µ(T)
  • 2

∂v1 ∂x1 2 + ∂v2 ∂x2 2 + ∂v1 ∂x2 + ∂v2 ∂x1 2∗

Fr =

  • v∗

  • g∗

∞L∗

Froude number g gravity vector (normalized by g∗

∞ = 9.81ms−1)

Ec =

  • v∗

  • 2

c∗

p T ∗ ∞

Eckert number (in case T = T ∗/T ∗

∞)

˜ T = TW

T∞ Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 16 / 18

Indication of spatial resolution of temperature field using highest modes in spectra:Re = 121.2, ˜ T = 1.5,

1 Fr2 = 0.0026, Ec Re = 1e−7

slide-31
SLIDE 31

Motivation & model Scheme Results

Cylinder flow influenced by heating/cooling - full model

buoyancy:

◮ fv =

1 Fr2 [ρ(T)]∗ g

◮ Dirichlet pressure boundary condition

gradient in direction of gravity force≡shifted hydrostatic pressure: p|ΩOUT = g∗

∞L∗

|v∗

∞|2 y

◮ Solution to this model gives an estimate of the absolute pressure variations in the wake

viscous heating:

◮ fT = Ec

Re

  • µ(T)
  • 2

∂v1 ∂x1 2 + ∂v2 ∂x2 2 + ∂v1 ∂x2 + ∂v2 ∂x1 2∗

Fr =

  • v∗

  • g∗

∞L∗

Froude number g gravity vector (normalized by g∗

∞ = 9.81ms−1)

Ec =

  • v∗

  • 2

c∗

p T ∗ ∞

Eckert number (in case T = T ∗/T ∗

∞)

˜ T = TW

T∞ Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 16 / 18

Re = 121.2, ˜ T = 1.5,

1 Fr2 = 0.0026, Ec Re = 1e−7

slide-32
SLIDE 32

Motivation & model Scheme Results

Cylinder flow influenced by heating/cooling - full model

buoyancy:

◮ fv =

1 Fr2 [ρ(T)]∗ g

◮ Dirichlet pressure boundary condition

gradient in direction of gravity force≡shifted hydrostatic pressure: p|ΩOUT = g∗

∞L∗

|v∗

∞|2 y

◮ Solution to this model gives an estimate of the absolute pressure variations in the wake

viscous heating:

◮ fT = Ec

Re

  • µ(T)
  • 2

∂v1 ∂x1 2 + ∂v2 ∂x2 2 + ∂v1 ∂x2 + ∂v2 ∂x1 2∗

Fr =

  • v∗

  • g∗

∞L∗

Froude number g gravity vector (normalized by g∗

∞ = 9.81ms−1)

Ec =

  • v∗

  • 2

c∗

p T ∗ ∞

Eckert number (in case T = T ∗/T ∗

∞)

˜ T = TW

T∞ Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 16 / 18

Re = 121.2, ˜ T = 1.5,

1 Fr2 = 0.0026, Ec Re = 1e−7

Velocity divergence (without projection to C 0)

slide-33
SLIDE 33

Motivation & model Scheme Results

Results for heated cylinder flow: frequency of vortex shedding behind heated/cooled cylinder St = St(Re, T) (St...Strouhal number)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 17 / 18

  • 0.3
  • 0.2
  • 0.1

0.1 0.2 0.3 50 100 150 200 250 300 time data maxima minima

slide-34
SLIDE 34

Motivation & model Scheme Results

Results for heated cylinder flow: frequency of vortex shedding behind heated/cooled cylinder St = St(Re, T) (St...Strouhal number)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 17 / 18

  • 0.3
  • 0.2
  • 0.1

0.1 0.2 0.3 50 100 150 200 250 300 time data maxima minima

0.12 0.13 0.14 0.15 0.16 0.17 0.18 0.19 60 80 100 120 140 160 St Re Buoyancy, Viscous heating Comp. Exp. T ~≈1.0 T ~≈1.1 T ~≈1.5 T ~≈1.8

slide-35
SLIDE 35

Motivation & model Scheme Results

Results for heated cylinder flow: frequency of vortex shedding behind heated/cooled cylinder St = St(Re, T) (St...Strouhal number)

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 17 / 18

  • 0.3
  • 0.2
  • 0.1

0.1 0.2 0.3 50 100 150 200 250 300 time data maxima minima

0.12 0.13 0.14 0.15 0.16 0.17 0.18 0.19 0.6 0.8 1 1.2 1.4 1.6 1.8 St T ~ St(T ~) comparison for Re≈62,121,160

  • emp. Reavg
  • emp. Reexp

computation experiment Re≈62.26 Re≈121.4 Re≈160.52

slide-36
SLIDE 36

Motivation & model Scheme Results

Thank you for attention

Jan Pech (Czech Acad Sci, Inst Thermomech) Temperature dependent flow 11.06.2019 18 / 18