02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity...

38
Governing Equations Fluid Mechanics Foundations (1)

Transcript of 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity...

Page 1: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Governing Equations

Fluid Mechanics Foundations (1)

Page 2: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Outline• Introduction to Governing Equations• Derivation of Governing Equations

– The Continuity Equation– Conservation of Momentum– The Energy Equation

• Boundary Conditions• Standard Forms and Terminology• The Gas Dynamics Eq. and the Full Potential Eq.• Special Cases• Which governing equation should be used ?• Mathematical Classification• Requirements for a Complete Problem Formulation

Page 3: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Introduction to Governing Equations

• The fluid is defined by :– an equation of state

• p = ρ R T

– the thermodynamic and transport properties• the ratio of specific heats, γ• viscosity, µ,• the coefficient of heat conduction, k.

Page 4: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Introduction to Governing Equations

• The motion of the fluid is controlled by– governing equations

– boundary conditions

• The governing equations are given by conservation laws:– mass continuity– momentum Newton’s 2nd Law, F=ma– energy 1st Law of Thermodynamics

Page 5: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Introduction to Governing Equations

• Coordinate systems– Cartesian coordinates are normally used to

describe vehicle geometry.– General nonorthogonal curvilinear coordinates

Page 6: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Introduction to Governing Equations

• In general Cartesian coordinates, the independent variables are x, y, z, and t.

• We want to know the velocities, u, v, w, and the fluid properties; p, ρ, T.

• These six unknowns require six equations.– continuity 1 equation– momentum 3 equations– energy 1 equation– equation of state 1 equation

Page 7: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Derivation of Governing Equations

• Motivations– We want to find the flowfield velocity, pressure

and temperature distributions.

– We need to develop a mathematical model of the fluid motion suitable for use in numerical calculations.

– The mathematical model is based on the conservation laws and the fluid properties.

Page 8: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Derivation of Governing Equations

• Approaches– Lagrangian

• Each fluid particle is traced as it moves around the body. • This method corresponds to the conventional concept of Newton’s

Second Law.

– Eulerian• We look at the entire space around the body as a field, and

determine flow properties at various points in the field while the fluid particles stream past.

• We consider the distribution of velocity and pressure throughoutthe field, and ignore the motion of individual fluid particles.

Page 9: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Derivation of Governing Equations

• The form of Equations– The differential form

• Most frequently used in fluid mechanics analysis

– The integral form• Numerically, integral more accurately computed

than derivatives

Page 10: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

The Continuity Equation• The statement of conservation of mass is in words simply:

net outflow of mass decrease of massthrough the surface = within thesurrounding the volume volume

Control volume for conservation of mass

YXt

decreasemassofchangeinYoutYinXoutX

∆∆∂∂

=

=−−−+−−−

ρ)(

][][][][

Page 11: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

The Continuity Equation• The differential form

• The integral form

2-D

3-D

Vector form

0=∂∂

+∂∂

+∂∂

+∂∂

zw

yv

xu

tρρρρ

0=∂∂

+∂∂

+∂∂

yv

xu

tρρρ

0)( =⋅∇+∂∂ Vρρ

t

∫∫∫∫∫ ∂∂

−=⋅∧

V

dVt

dSn ρρV

Page 12: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

The Continuity Equation

• Comments– The equation is for all flows, viscous or

inviscid, compressible or incompressible.

– Using the Gauss Divergence Theorem, two equations are related:

0)( =⎥⎦⎤

⎢⎣⎡

∂∂

+⋅∇∫∫∫ VV dtV

ρρ

Page 13: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum

• Newton’s 2nd Law:

The time rate of change of momentum of a body equals the net force exerted on it.

• For a fixed mass this is the famous equation

DtDmm VaF ==

Page 14: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum• Substantial Derivative

– We need to apply Newton’s Law to a moving fluid element from our fixed coordinate system.

– Consider any fluid property, Q(r,t).

Moving particle viewed from a fixed coordinate system

The change in position of the particle between r at t, and r+∆r at t+∆t is

),(),(),(),(tQtttQ

tQttsQQrVr

rr−∇+∆+=

−∇+∆+=∆

The rate of change of Q

ttQtttQ

tQ

DtDQ

tt ∆−∆+∆+

=∆∆

=→∆→∆

),(),(limlim00

rVr

Page 15: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum

– The second term has the unknown velocity V multiplying a term containing the unknown Q. This is important !

– The convective derivative introduces a fundamental nonlinearity into the system.

VsQ

tQ

tQ

t ∂∂

+∂∂

=∆∆

→∆ 0lim

Local time derivative, local derivative

Variation with change of position, convective derivative

Substantial derivative

Page 16: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum

– In coordinates, V = {u, v, w}, and the substantial derivative becomes:

tww

twv

twu

tw

DtDw

tvw

tvv

tvu

tv

DtDv

tuw

tuv

tuu

tu

DtDu

∂∂

+∂∂

+∂∂

+∂∂

=

∂∂

+∂∂

+∂∂

+∂∂

=

∂∂

+∂∂

+∂∂

+∂∂

=

Page 17: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum• Forces

– body forces– pressure forces– shear forces

Details of forces acting on a two-dimensional control volume

Page 18: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum

– The net force in the x-direction is found to be:

– Using the substantial derivative and the definition of the mass, m = ρ Dx Dy Dz, and considering the x component, max = Fx

xyx

yxx

yfx yxxxx ∆∆∂∂

+∆∆∂∂

+∆∆⋅ )()( ττρ

zxyz

zxyy

zyxx

zyxDtDuzyx

zx

yxxx

∆∆∆∂∂

+

∆∆∆∂∂

+∆∆∆∂∂

+∆∆∆⋅=∆∆∆⋅

)(

)()(

τ

ττρρ

Page 19: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum

• General conservation of momentum relations

• Comments• They are valid for anything !

zyxf

DtDw

zyxf

DtDv

zyxf

DtDu

zzyzxzz

zyyyxyy

yxyxxxx

∂∂

+∂

∂+

∂∂

+=

∂+

∂+

∂+=

∂+

∂+

∂∂

+=

τττρρ

τττρρ

τττρρ

Page 20: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum• Newtonian fluid

– Stress is a linear function of the rate of strain

• The set of assumptions1. The stress-rate-of-strain relations must be independent of

coordinate system.

2. When the fluid is at rest and the velocity gradients are zero (the strain rates are zero), the stress reduces to the hydrostatic pressure

3. Stoke’s Hypothesis is used to eliminate the issue of mean pressure vs thermo-dynamic pressure.

yu∂∂

= µτ

Page 21: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum

• Relations between stress and µ based on the assumptions

and

xwp

yvp

xup

zz

yy

xx

∂∂

+⋅∇−−=

∂∂

+⋅∇−−=

∂∂

+⋅∇−−=

µµτ

µµτ

µµτ

232

232

232

V

V

V

⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

==

⎟⎠⎞

⎜⎝⎛

∂∂

+∂∂

==

⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

==

yw

yv

xw

zu

xv

yu

zyyz

zxxz

yxxy

µττ

µττ

µττ

Page 22: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum• The classic Navier-Stokes Equations

– written in the standard aerodynamics form neglecting the body force.

– Non-linear ( recall that superposition of solutions is not allowed)– Highly coupled– Long !

⎟⎠⎞

⎜⎝⎛ ⋅∇−

∂∂

∂∂

+⎥⎦

⎤⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

∂∂

+⎥⎦

⎤⎢⎣

⎡⎟⎠⎞

⎜⎝⎛

∂∂

+∂∂

∂∂

+∂∂

−=

⎥⎦

⎤⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

∂∂

+⎟⎟⎠

⎞⎜⎜⎝

⎛⋅∇−

∂∂

∂∂

+⎥⎦

⎤⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

∂∂

+∂∂

−=

⎥⎦

⎤⎢⎣

⎡⎟⎠⎞

⎜⎝⎛

∂∂

+∂∂

∂∂

+⎥⎦

⎤⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

∂∂

+⎟⎠⎞

⎜⎝⎛ ⋅∇−

∂∂

∂∂

+∂∂

−=

V

V

V

µµµµρ

µµµµρ

µµµµρ

322

322

322

zw

zyw

zv

yzu

xw

xwp

DtDw

zv

yw

zyv

yxv

yu

xyp

DtDv

zu

xw

zxv

yu

yxu

xxp

DtDu

Page 23: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum

• Euler Equations– When the viscous terms are small, and thus ignored, the

flow is termed inviscid.

– The resulting equations are known as the Euler Equations.

0

0

0

=∂∂

+∂∂

+∂∂

+∂∂

+∂∂

=∂∂

+∂∂

+∂∂

+∂∂

+∂∂

=∂∂

+∂∂

+∂∂

+∂∂

+∂∂

zp

zww

ywv

xwu

tw

yp

zvw

yvv

xvu

tv

xp

zuw

yuv

xuu

tu

ρ

ρ

ρ

Page 24: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum

• The integral formulations of the equations– The momentum change, ρV, is proportional to the

force.

– This statement can also be converted to the differential form using the Gauss Divergence Theorem.

surfacevolumeV

dvt

dsn FFFVVV +==∂∂

+⋅ ∫∫∫∫∫∧

ρρ )(

Page 25: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Conservation of Momentum

• Comments on N-S equations:– The derivation of the Navier-Stokes Equations is for general

unsteady fluid motion.

– Because of limitations in our computational capability, these equations are for laminar flow.

– When the flow is turbulent, the usual approach is to Reynolds-averaged the equations, with the result that additional Reynolds stresses appear in the equations.

• The addition of new unknowns requires additional equations.

• This problem is treated through turbulence modeling and is discussed in Viscous Effects in Aerodynamics.

Page 26: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

The Energy Equation• 1st Law of Thermodynamics

– The sum of the work and heat added to a system will equal the increase of energy.

– For the fixed control volume coordinate system, the rate of change is:

where

e is the internal energy per unit mass

The last term is the potential energy, i.e. the body force.

(1)

WQdEt δδ +=Change of total energy of the system

Change of heat added Change of work done on the system

••

+= WQDt

DEt ⎟⎠⎞

⎜⎝⎛ ⋅−+= rg2

21 VeEt ρ

Page 27: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

The Energy Equation– In aerodynamics the potential energy is neglected. – Et can also be written in terms of specific energy as:

221

00 VeewhereeEt +== ρ

• The derivation of the energy equation– To obtain the energy equation we need to write the Q and W in

terms of flow properties.

– Using the concept of control volume, we can obtain:

)(.

TkqQ ∇⋅+∇=⋅−∇=

(2)

The rate of change of Q

Page 28: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Work done on a control volume

(4))()( yyyxxyxx vuy

vux

divW ττττ +∂∂

++∂∂

=−=•

w

Page 29: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

– Substituting Eqs.(2) ,(3) and (4) into (1) , we obtain:

wdivTkDt

VeD−∇⋅∇=

+)(

)( 221ρ

– Substituting in the relations for the t’s in terms of m and the velocity gradients

– Introducing the definition of enthalpy, h = e + p/ρ,

– We obtain a the classical energy equation

where

Φ+∇⋅∇=− )( TkDtDp

DtDhρ

Heat conduction Viscous dissipation (always positive)

Page 30: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Review on Governing Equations

• The Continuity Equation • The N-S equation (Conservation of Momentum )

0=∂∂

+∂∂

+∂∂

+∂∂

zw

yv

xu

tρρρρ

⎟⎠⎞

⎜⎝⎛ ⋅∇−

∂∂

∂∂

+⎥⎦

⎤⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

∂∂

+⎥⎦

⎤⎢⎣

⎡⎟⎠⎞

⎜⎝⎛

∂∂

+∂∂

∂∂

+∂∂

−=

⎥⎦

⎤⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

∂∂

+⎟⎟⎠

⎞⎜⎜⎝

⎛⋅∇−

∂∂

∂∂

+⎥⎦

⎤⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

∂∂

+∂∂

−=

⎥⎦

⎤⎢⎣

⎡⎟⎠⎞

⎜⎝⎛

∂∂

+∂∂

∂∂

+⎥⎦

⎤⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

∂∂

+⎟⎠⎞

⎜⎝⎛ ⋅∇−

∂∂

∂∂

+∂∂

−=

V

V

V

µµµµρ

µµµµρ

µµµµρ

322

322

322

zw

zyw

zv

yzu

xw

xwp

DtDw

zv

yw

zyv

yxv

yu

xyp

DtDv

zu

xw

zxv

yu

yxu

xxp

DtDu

• The Energy Equation

Φ+∇⋅∇=− )( TkDtDp

DtDhρ

Page 31: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Boundary Conditions

• Introduction

– Boundary conditions are the means through which the solution of the governing equations produce differing results for different situations.

– In computational aerodynamics the specification of boundary conditions constitutes the major part of any effort.

– The application of the software usually requires the user to specify the boundary conditions.

Page 32: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Boundary Conditions• The condition on the surface

– For an inviscid steady flow over solid surface

V • n = 0 non-penetration condition

– If the flow is viscous the statement becomes even simpler:

V = 0 no-slip condition

– If the surface is porous, and there is mass flow, the values of the surface velocity must be specified

– Numerical solutions of the Euler and N-S solutions require that other boundary conditions be specified.

• conditions on pressure and temperature are required

Page 33: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Boundary Conditions

• Conditions away from the body– Commonly this means that at large distances from

the body the flowfield must approach thefreestream conditions.

– Questions • How far away is infinity ?

• Exactly how should you specify the farfield boundary condition numerically?

– How to best handle these issues is the basis for many papers currently appearing in the literature.

Page 34: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Boundary Conditions

• Another use of the boundary conditions

– a means of modeling physics

• Kutta Condition: (for example)– The viscous effects at the trailing edge can be

accounted for in an inviscid calculation without treating the trailing edge problem explicitly.

Page 35: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Standard Forms and Terminologyof Governing Equations

• Nondimensionalization– The governing equations should be nondimensionalized.

– Each code will have a set of reference nondimensionalizations, care must be taken to understand exactly what thenondimensionalization is.

– For example:

20*

0***

2****

****

∞∞∞∞

∞∞∞∞∞

====

====

====

Uee

TTT

Vpp

Vzw

Vyv

Vxu

LtVt

Lzz

Lyy

Lxx

µµµ

ρρρ

ρ

Page 36: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Standard Forms and Terminologyof Governing Equations

• Use of divergence form (or conservation form)

– Conservation form refers to the situation where the the variables are inside the derivatives.

– This form is found to be required for reliable numerical calculation.

• If discontinuities in the flowfield exist, this form must be used to account for discontinuities correctly.

• For example, across a shock wave the density and velocity both jump in value. However, the product of these quantities,the mass flow, is a constant.

– It is why it is better numerically to work with the product rather than the individual variables.

Page 37: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Standard Forms and Terminologyof Governing Equations

– We show how the divergence forms are obtained from the standard classical form.

– Using the 2D steady x-momentum equation as the example

The equations must be written in divergence form to be valid when shock waves are present.

xp

yuv

xuu

∂∂

−=∂∂

+∂∂ ρρ

0)()( 2

=∂

∂+

∂+∂

yvu

xpu ρρ

Page 38: 02-Fluid Mechanics Foundations(1)aircraftdesign.nuaa.edu.cn/aca/Slide/02-Fluid... · The Continuity Equation • Comments – The equation is for all flows, viscous or inviscid, compressible

Standard Forms and Terminologyof Governing Equations

• A standard form of Navier-Stokes equations used in NASA Langley codes cfl3d and cfl3de.

• For detail, the vector Q, F, G and H can be found in the text/notes.

0)()()(=

∂−∂

+∂−∂

+∂−∂

+∂∂

zyxtvvv HHGGFFQ