当前位置:首页 >> 物理 >>

计算流体力学(CFD)文档——1. Introduction to CFD

1. INTRODUCTION TO CFD 1.1 What is computational fluid dynamics? 1.2 Basic principles of CFD 1.3 Forms of the governing fluid-flow equations 1.4 The main discretisation methods Appendix Examples

SPRING 2011

1.1 What is Computational Fluid Dynamics? Computational fluid dynamics (CFD) is the use of computers and numerical techniques to solve problems involving fluid flow. CFD has been successfully applied in many areas of fluid mechanics, including: aerodynamics of cars and aircraft; hydrodynamics of ships; pumps and turbines; combustion and heat transfer; chemical engineering. Applications in civil engineering include: wind loading and dynamic response of structures; wind, wave and tidal energy; ventilation; fire and explosion hazards; dispersion of pollutants and effluent; wave loading on coastal and offshore structures; hydraulic structures such as weirs and spillways; sediment transport, hydrology. More specialist applications include ocean currents, weather forecasting, plasma physics, blood flow, heat dissipation from electronic circuitry. This range of applications is broad and encompasses many different fluid phenomena and CFD techniques. In particular, CFD for high-speed aerodynamics (where compressibility is significant but viscous effects are often unimportant) is very different from that used to solve low-speed, frictional flows typical of mechanical and civil engineering. Although many elements of this course are generally applicable, the focus will be on simulating viscous, incompressible flow by the finite-volume method.

CFD

1–1

David Apsley

1.2 Basic Principles of CFD The approximation of a continuously-varying quantity in terms of values at a finite number of points is called discretisation.

continuous curve

discrete approximation

The fundamental simulation are: (1)

elements

of

any

CFD

The flow field is discretised; i.e. field variables ( , u, v, w, p, …) are approximated by their values at a finite number of nodes. The equations of motion are discretised (approximated in terms of values at nodes): control-volume or differential equations algebraic equations (continuous) (discrete) The resulting system of algebraic equations is solved to give values at the nodes.

(2)

(3)

The main stages in a CFD simulation are: Pre-processing: – problem formulation (governing equations; boundary conditions); – construction of a computational mesh. Solving: – discretisation of the governing equations; – numerical solution of the governing equations. Post-processing: – visualisation; – analysis of results.

1.3 Forms of the Governing Fluid-Flow Equations The equations governing fluid motion are based on the fundamental physical principles: mass: change of mass = 0 momentum: change of momentum = force × time energy: change of energy = work + heat Additional conservation equations for individual constituents may apply for nonhomogeneous fluids (e.g. containing dissolved chemicals or imbedded particles). When applied to the fluid continuum these may be expressed mathematically as either: integral (i.e. control-volume) equations; differential equations.

CFD

1–2

David Apsley

1.3 Forms of the Governing Fluid-Flow Equations 1.3.1 Integral (Control-Volume) Approach This considers changes to the total amount of some physical quantity (mass, momentum, energy, …) within a specified region of space (control volume).

V

For an arbitrary control volume the balance of a physical quantity over an interval of time is change = amount in amount out + amount created In fluid mechanics this is usually expressed in rate form by dividing by the time interval (and transferring the net amount passing through the boundary to the LHS of the equation): RATE OF CHANGE + NET FLUX = SOURCE (1) out of boundary inside V inside V The rate of transport across a surface or flux is composed of: advection – movement with the fluid flow; diffusion – net transport by random (molecular or turbulent) motion.

RATE OF CHANGE + ADVECTION + DIFFUSION = SOURCE through boundary of V inside V inside V

(2)

The important point is that this is a single, generic scalar-transport equation, irrespective of whether the physical quantity concerned is mass, momentum, chemical content etc. Thus, instead of dealing with lots of different equations we can consider the numerical solution of a general scalar-transport equation (Section 4). The finite-volume method, which is the subject of this course, is based on approximating these control-volume equations.

1.3.2 Differential Equations In regions without shocks, interfaces or other discontinuities, the fluid-flow equations can also be written in equivalent differential forms. These describe what is going on at a point rather than over a whole control volume. Mathematically, they can be derived by making the control volumes infinitesimally small. This will be demonstrated in Section 2, where it will also be shown that there are several different ways of writing these differential equations. The finite-difference method is based on the direct approximation of a differential form of the governing equations.

CFD

1–3

David Apsley

1.4 The Main Discretisation Methods
i,j+1

(i) Finite-Difference Method
i-1,j i,j i+1,j

Discretise the governing differential equations directly; e.g. u i +1, j u i 1, j vi , j +1 vi , j 1 u v ≈ + 0 = + x y 2x 2y

i,j-1

(ii) Finite-Volume Method Discretise the governing control-volume equations directly; e.g. net mass outflow = ( uA) e ( uA) w + ( vA) n ( vA) s
uw

vn ue vs

= 0

(iii) Finite-Element Method Express the solution as a weighted sum of shape functions S (x), substitute into some form of the governing equations and solve for the coefficients (aka degrees of freedom or weights). e.g., for velocity, u (x) = ∑ u S (x)


Finite-difference and finite-element methods are covered in more detail in the Computational Mechanics course. This course will focus on the finite-volume method. The finite-element method is popular in solid mechanics (geotechnics, structures) because: it has considerable geometric flexibility; general-purpose codes can be used for a wide variety of physical problems. The finite-volume method is popular in fluid mechanics because: it rigorously enforces conservation; it is flexible in terms of both geometry and the variety of fluid phenomena; it is directly relatable to physical quantities (mass flux, etc.). In the finite-volume method ... (1) A flow geometry is defined. (2) The flow domain is decomposed into a set of control volumes or cells called a computational mesh or grid. (3) The control-volume equations are discretised – i.e. approximated in terms of values at nodes – to form a set of algebraic equations. (4) The discretised equations are solved numerically.

CFD

1–4

David Apsley

APPENDIX A1. Notation Position/time: x ≡ (x, y, z) or (x1, x2, x3) position; (in this course z is usually vertical) t time Field variables: u ≡ (u, v, w) or (u1, u2, u3) velocity p pressure (p – patm is the gauge pressure; p* = p + gz is the piezometric pressure.) T temperature φ concentration (amount per unit mass or per unit volume) Fluid properties: density dynamic viscosity ( ≡ / is the kinematic viscosity) diffusivity

A2. Mechanical Principles Statics At rest, pressure forces balance weight. This can be written mathematically as dp = g (3) p= g z or dz The same equation also holds in a moving fluid if there is no vertical acceleration, or, as an approximation, if vertical acceleration is much smaller than g. If density is constant, (3) can be written p* ≡ p + gz = constant (4) p* is called the piezometric pressure, combining the effects of pressure and weight. For a constant-density flow without a free surface, gravitational forces can be eliminated entirely from the equations by working with the piezometric pressure. Pressure, density and temperature are connected by an equation of state; e.g. ideal gas law: p = RT , R = R0 /m (5) where R0 is the universal gas constant, m is the molar mass and T is the absolute temperature. Dynamics The equations governing fluid motion are based on the following fundamental principles: mass: change of mass = 0 momentum: change of momentum = force × time energy: change of energy = work + heat and for non-homogeneous fluids: conservation of individual constituents. CFD 1–5 David Apsley

Examples The following simple examples develop the notation and control-volume framework to be used in the rest of the course.

Q1. Water (density 1000 kg m–3) flows at 2 m s–1 through a circular pipe of diameter 10 cm. What is the mass flux C across the surfaces S1 and S2?

10 cm

2 m/s

45

o

S1

S2

D=10 cm

u=8 m/s

F

Q2. A water jet strikes normal to a fixed plate (see left). Neglect gravity and friction, and compute the force F required to hold the plate fixed.

Q3. A fire in the Pariser hydraulics laboratory released 2 kg of a toxic gas into a room of dimensions 30 m × 8 m × 5 m. Assuming the laboratory air to be well-mixed and to be vented at a speed of 0.5 m s–1 through an aperture of 6 m2, calculate: (a) the initial concentration of gas in ppm by mass; (b) the time taken to reach a safe concentration of 1 ppm. (For air, density = 1.20 kg m–3.)

Q4. A burst pipe at a factory causes a chemical to seep into a river at a rate of 2.5 kg hr–1. The river is 5 m wide, 2 m deep and flows at 0.3 m s–1. What is the average concentration of the chemical (in kg m–3) downstream of the spill?

CFD

1–6

David Apsley


相关文章:
计算流体力学(CFD)文档1. Introduction to CFD_免....pdf
计算流体力学(CFD)文档1. Introduction to CFD 英国曼彻斯特大学教授David Apsley所写的关于CFD的优秀文档。英国曼彻斯特大学教授David Apsley所写的关于CFD的优秀...
CFD计算流体力学.doc
暂无评价|0人阅读|0次下载 | 举报文档 CFD计算流体力学_信息与通信_工程科技_专业资料。CFD 计算流体力学或计算流体动力学,英文 Computational Fluid Dynamics,简称...
第13章 计算流体力学CFD(1)_图文.ppt
第13章 计算流体力学CFD(1) - 上海交通大学 航空航天学 飞行器空气动力学... 第13章 计算流体力学CFD(1) 13章 计算流体力学CFD(1) 1 引言 流体力学的三种研...
计算流体力学CFD课件_图文.ppt
计算流体力学CFD(1) 引言 流体力学的三种研究方法 流体力学的控制方程组 基
计算流体力学(CFD)文档2. Governing equations.pdf
计算流体力学(CFD)文档2. Governing equations_机械/仪表_工程科技_专业资料...1 3 2 mass× acceleration This form is shorter and quicker to write and...
计算流体力学CFD(非常好)_图文.pdf
暂无评价|0人阅读|0次下载|举报文档计算流体力学CFD(非常好)_信息与通信_工程科技_专业资料。气体动力学 1. 理想气体运动的基本方程组理想气体:无粘性、无导热性...
计算流体力学(CFD)文档3. Common approximations_....pdf
计算流体力学(CFD)文档3. Common approximations 英国曼彻斯特大学教授David Apsley...derivative from 2 to 1 and hence one less boundary condition is required...
计算流体力学(CFD)概论_图文.pdf
计算流体力学(CFD)概论_工学_高等教育_教育专区。...systems Solution of the N-S equations 1. Introduction...: Validation is of vital importance to CFD. ...
计算流体力学(CFD)文档5. The momentum equation.pdf
In other words, mass conservation actually leads to a pressure equation! 51 David Apsley CFD In many incompressible-flow codes mass and momentum ...
计算流体力学(CFD)的通用软件_图文.pdf
1 常用CFD通用软件结构 计算流体力学商业软件包括以下几个模块:几何模型建立(CFD...数学网格化处理并生成CFD计算网格文件(几何文件) 的过程,它是CFD模拟计算的工作...
计算流体力学(CFD)的通用软件.pdf
暂无评价|0人阅读|0次下载 | 举报文档 计算流体力学(CFD)的通用软件_电力/水利...在 此背景下 ,CFD 通用软件包的出现成了必然 。 1 常用 CFD 通用软件结构...
我所知道的计算流体力学(CFD)大牛们.doc
暂无评价|0人阅读|0次下载|举报文档 我所知道的计算流体力学(CFD)大牛们_计算机...我所知道的计算流体力学(CFD)大牛们 大牛们 我所知道的计算流体力学 (1) ...
计算流体力学CFD结果的验证和确认1.pdf
计算流体力学CFD结果的验证和确认1 几篇经典的计算流体力学CFD结果的验证和确认文献之几篇经典的计算流体力学CFD结果的验证和确认文献之隐藏>> VERIFICATION AND...
CFD计算流体力学学些必看.doc
暂无评价|0人阅读|0次下载 | 举报文档 CFD计算流体力学学些必看_工学_高等教育...目前最新版本 2.1.6, 功能不见多大改善,导入几何仍然需要手动修复。 CFX-...
计算流体力学CFD网格划分技巧TGrid and Gambit_图文.pdf
计算流体力学CFD网格划分技巧TGrid and Gambit - 特别说明 此资料来自豆丁网(http://www.docin.com/) 您现在所看到的文档是使用下载器所生成的文档 此文...
计算流体力学(CFD)在化学工程中的应用.pdf
暂无评价|0人阅读|0次下载 | 举报文档 计算流体力学(CFD)在化学工程中的应用...尹晔东等 . 计算流体力学 ( CFD) 在化学工程中的应用 ?1 6 7 ? Yu [ ...
计算流体力学(CFD)在制冷与空调专业中的应用.doc
关键字:计算流体力学,速度场,压缩机,数值模拟 Keyword: CFD, the field of velocity, compressor, numerical simulation 1 通过学习,对计算流体力学有了初步的了解...
2018年计算流体力学(CFD)市场现状与发展趋势预测 (目录).doc
正文目录 第计算流体力学(CFD)市场概述 1.1 计算流体力学(CFD)市场概述 1.2 不同类型计算流体力学(CFD)分析 1.2.1 CFX 1.2.2 FLUENT 1.2.3 Flo...
中科院计算流体力学最新讲义CFD2011-第7讲-有限体积法1....ppt
暂无评价|0人阅读|0次下载|举报文档中科院计算流体力学最新讲义CFD2011-第7讲-有限体积法1_理学_高等教育_教育专区。计算流体力学讲义2011 第七讲 有限体积法(1)...
第一章 CFD的基本原理-2010_图文.ppt
86 Nanjing University of Technology 什么是CFD? ? CFD软件是计算流体力学(...文档贡献者 wugang2056 贡献于2012-02-11 1 /2 相关文档推荐 ...