Computational Fluid Dynamics Fundamentals Course

2y ago
5 Views
2 Downloads
924.72 KB
51 Pages
Last View : 25d ago
Last Download : 3m ago
Upload by : Harley Spears
Transcription

Computational Fluid DynamicsFundamentals CourseDr. Aidan WimshurstFluid Mechanics 101FluidMechanics101@gmail.com

Table of ContentsForeward4How To Use This Course5Introduction to Transport Equations7The 1D Diffusion Equation14The 1D Convection-Diffusion Equation28Upwind Differencing392

DisclaimerThe exercises, software, code and equations in this course are for educational and demonstrativepurposes only. They should not be used to analyse, design, test, accredit or validate realscientific/engineering/mathematical structures and flow systems. For such applications,appropriate trained, qualified and accredited engineers/scientists should be consulted. FluidMechanics 101 and Dr. Aidan Wimshurst are not accountable or liable in any form for theuse or misuse of the information contained in this course beyond the specific educational anddemonstrative purpose for which it was intended.3

ForewardWelcome to my Computational Fluid Dynamics Fundamentals Course! I put together thiscourse to help you develop a deep understanding of computational fluid dynamics (CFD), sothat you can set up, run and post-process engineering simulations of fluids (liquids and gases)more effectively. This course starts from the absolute basics, with the only prior knowledgerequired being basic calculus, differential equations and vector operations. These basics aretypically taught during first year college/university courses and in some cases secondary/highschool lessons. Hence, this course is perfect for anyone with a foundational background inscience/mathematics/engineering or physics.Having carried out several years of CFD studies myself, I found that many areas of the CFDprocess were hidden or poorly explained. This often made it difficult for me and my colleaguesto set up and analyse simple flow simulations. The aim of this course is to guide you throughsome simple flow simulations interactively, with working CFD code that you can set up andrun yourself. The entire process if transparent and documented/explained and no specificCFD code is required. By the end of this course, you will have set up and run CFD simulationsfrom scratch and observed first hand the effect of different discretisation schemes on thesolution. Having carried out these simulations yourself, you can return to full-scale CFD codeswith confidence and a deep understanding of how the CFD code is operating. This willultimately lead to better simulations, results and problem solving skills.I am really excited to bring you this course and know that you will find it as useful as I have.The interactive exercises may even answer some long standing technical questions that younever found the answer to .All the bestAidan4

How To Use This CourseThis course contains a comprehensive set of equations, explantations and diagrams, which areall contained in this PDF book. It is recommended that you follow along with the content inthis book from start to finish, as Chapter 3 and 4 follow chronologically from Chapter 1 and 2.As you proceed through Chapter 2, 3 and 4, worked examples are provided. When instructed,it is advied that you open the example code (either in Microsoft Excel or in a suitable texteditor/graphical user interface (GUI) for Python). Here you will be able to examine the code,modify the input variables and run the CFD simuations yourself. This is where the majority ofthe learning is likely to take place and is highly encouraged for all readers.All of the exercises can be completed using either the Excel or Python scripts. Usewhichever approach is more appealing and straightforward for you to follow. Alternatively,you can use the equations that are provided in the text to write your own code/scripts tosolve the equations! The aim of this course is not to develop knowledge of a specific languageor CFD code, but to learn and observe the overall process. Hence, it is highly encouraged foryou to take your preferred approach.4

Chapter 1Introduction to Transport Equations

1 INTRODUCTION TO TRANSPORT EQUATIONS1Introduction to Transport EquationsA solid body will remain stationary or in motion at constant velocity unless acted on byexternal forces. When acted on by external forces, the momentum of a solid body will changeaccording to Newton’s second law. For a solid body with constant mass, Newton’s secondlaw can be written concisely in differential form as:F ma F mdvdt(1)where F is the sum of the forces acting on the body, v is the velocity of the body, m is themass of the body and bold symbols represent vector quantities. If the mass of the solid bodychanges with time, then equation 1 becomes:F d(mv)dt(2)Hence, Newton’s second law physically states that the rate of change of momentum (massmultiplied by velocity), is equal to the sum of the external forces acting on the body. The solidbody velocity (v) is a vector quantity. In a Cartesian coordinate system, the solid body velocitycan be resolved into components in the x, y and z directions (v (vx , vy , vz )). Hence, whenwritten in vector form, Newton’s second law is a compact way of expressing three individualequations for the change of momentum of the body in the x, y and z directions.Fx d(mvx )dtFy d(mvy )dtFz d(mvz )dt(3)If the mass of the object and the forces acting on it are known, then Newton’s second lawcan be solved to calculate the velocity (v) of the object at a given time. The equations aresolved by integration. In the same way that the velocity of a solid body can be calculatedby solving Newton’s second law, the velocity of a fluid (liquid or gas) can be calculated bysolving the Navier-Stokes equations. The Navier-Stokes equations are analogous to Newton’ssecond law and state that the rate of change of momentum of a fluid is equal to the sum ofthe external forces acting on the fluid. However, the Navier-Stokes equations are applied toa parcel/finite volume of fluid rather than a solid body.Figure 1 shows an example of a fluid parcel/volume that forms a part of the fluid continuum. The parcel has a volume V and can be any size. In concise vector form, theNavier-Stokes equations can be written as:D (mU ) FDt(4)where m is the mass of the fluid parcel, U is the velocity of the fluid parcel and F is thesum of the external forces acting on a fluid parcel. Note the similarities between this formof the Navier-Stokes equations and Newton’s second law for a solid body (equation 2). It isstandard practice to divide the Navier-Stokes equations by the volume of the fluid parcel, asthis is constant. This simplification leads to:D (ρU ) fDt(5)where ρ is the fluid density and f is the sum of the external forces per unit volume, acting onthe fluid parcel. In the same manner that Newton’s second law can be solved by integration toFluid Mechanics 1017

1 INTRODUCTION TO TRANSPORT EQUATIONSFigure 1: A finite parcel/volume of fluid that forms a part of the fluid continuum.WindWingEngineFigure 2: Calculating the flow of air over a wing allows the lift and drag forces acting onthe wing to be calculated.calculate the velocity of a solid body, the Navier-Stokes equations can be solved to calculatethe velocity (motion) of the fluid. Once the velocity of the fluid has been determined, theforces acting on the solid surfaces that are in contact with the fluid can be computed. Forexample, solving the Navier-Stokes equations for the flow of air around a wing allows pressureand skin friction forces acting on the wing to be calculated (see Figure 2). These forcesgenerate lift and drag and allow the plane to fly. Hence, solving the Navier-Stokes equationsnumerically (for real geometries) is of considerable interest to scientists and engineers. Solvingthe Navier-Stokes equations numerically will be the focus of this fundamentals course.Fluid AccelerationIn the Navier-Stokes equation (equation 5), the change in momentum of the fluid parcel hasbeen written as:D(ρU )(6)Dtwhere D/Dt is the total derivative. The total derivative has been used instead of the temporalderivative (d/dt) in the Navier-Stokes equation. The reason for this change is the fluid volumemay change its momentum in time and also change its momentum as it moves through space.For example, consider the flow of water through a garden hose (Figure 3), which is held ata constant flow rate. The overall flow rate of water will be constant with time if the tap iskept open at the same setting. However, the water accelerates (in space) as it moves intothe nozzle. As time advances while the water moves through space, the water experiences anacceleration in time as it moves through the nozzle. The total derivative can be expanded toshow the change in time and the change in space. Adopting a Cartesian coordinate systemfor the spatial dimensions (x, y and z):Fluid Mechanics 1018

1 INTRODUCTION TO TRANSPORT EQUATIONSHose pipeNozzleSlowFastWaterConstrictionFigure 3: The flow of water through a garden hose. The water accelerates as it movesthrough the nozzle due to the contraction. Even if the global flow does not change in time,a fluid parcel accelerates in time as it moves through the nozzle due to the contraction.D Ux Uy UzDt {z} t x y zTime {z(7)}SpaceThe first term represents the change in momentum in time and the second, third and fourthterms represent the change in momentum in the x, y and z spatial directions respectively, asthe fluid parcel is convected through the flow field. In vector form, the total derivative canbe written compactly as: D U · (8)Dt tBy using the expanded form of the total derivative, the Navier-Stokes equations can be written: (ρU ) U · (ρU ) f t(9)Equation 9 can be simplified slightly by applying conservation of mass and the product rule.For conciseness, the details are not included here. (ρU ) · (ρU U ) f t(10)While the Navier-Stokes equations have been expanded and rewritten, their physical interpretation remains the same. The change in momentum of a fluid parcel in time is equal to thesum of the forces acting on the fluid parcel.External ForcesDepending on the flow condition, a variety of external forces may act to change the momentumof a fluid. Three of the most common forces that act to change the momentum of fluids arepressure, viscosity and gravity. These terms are included in the Navier-Stokes equations asforces (per unit volume) on the right hand side of the equation: (ρU ) · (ρU U ) p · τ} ρg {z {z } {z} tPressureFluid Mechanics 101Shear Stress(11)Gravity9

1 INTRODUCTION TO TRANSPORT EQUATIONSCold AirHot AirHot SurfaceFigure 4: The flow of cold air over a hot plate, cooling the plate.where p is the static pressure (normal stress), τ is the shear stress (which includes the actionof viscosity) and g is the acceleration due to gravity. All of the terms on the right hand-siderepresent forces acting on the fluid parcel, while the terms on the left hand-side represent theacceleration of the fluid parcel in response to the forces. Physically, the equations state thatpressure, gravity and viscosity all act to change the momentum of the fluid (ρU ). By solvingthe equations numerically, the velocity of the fluid can be computed in response to theseforces. Once the equations are solved, the forces acting on the solid surfaces that contact thefluid can be computed.In this course, the Finite Volume Method will be examined, which is the most popularmethod for solving the Navier-Stokes equations numerically. By following this course, you willdevelop an understanding of the fundamentals of how the finite volume method can be usedto solve the Navier-Stokes and other transport equations.Transport EquationsIn addition to solving the Navier-Stokes equations to determine the fluid velocity (U ), additional equations may need to be solved, depending on the application. For example, thefluid flow may be used to cool a hot surface, as shown in Figure 4. In this instance, thefluid transports heat away from the surface, cooling the surface. In order to determine rateof cooling of the hot surface by the fluid, the temperature (and velocity) of the fluid needto be computed. For air or water cooling at low velocity (incompressible flow), the followingequation can be solved to compute the temperature T of the fluid: (ρcp T ) · (ρcP U T ) · (k T ) S {z} {z} tConvection(12)Diffusionwhere cp is the specific heat capacity of the fluid, k is the thermal conductivity of the fluidand S is a heat source (per unit fluid volume). This type of equation is called a transportequation, as the temperature (representing the thermal energy of the fluid) is transported bythe motion of the fluid (U ).Thermal energy is transported through the fluid by two main mechanisms: convection anddiffusion. Thermal energy is also transported by radiation, but this will not be considered here.The mathematical form of the convective and diffusive transport mechanisms are highlightedin equation 12. Diffusion represents the physical process where thermal energy moves fromareas of high temperature to areas of low temperature due to the temperature gradient (seeFigure 5). The diffusion of heat takes the following mathematical form: · (k T )Fluid Mechanics 101 Tk x x! T k y y! T k z z!(13)10

1 INTRODUCTION TO TRANSPORT EQUATIONSDiffusion of HeatFigure 5: Heat diffuses from regions of high temperature to regions of low temperature.This diffusion is represented mathematically by · (k T ).The thermal conductivity k gives the strength of diffusion. A highly conductive material (suchas copper) will transfer significant quantities of heat with a small temperature gradient. Onthe other hand, thermal insulators (like oven gloves) have low thermal conductivity k and willtransmit relatively little heat, even with a large temperature gradient.Diffusion occurs in moving and stationary fluids, hence it does not depend on the velocityof the fluid U . Diffusion is often referred to as conduction, when applied to solids. In astationary fluid where the velocity U 0, the convection term is zero and the temperatureequation reduces to: (ρcp T ) · (k T ) S(14) {z} tDiffusionConvection of heat is the transport of thermal energy by the motion (velocity) of the fluid. Ithas the following mathematical form: · (ρcp U T ) (ρcp T Ux ) (ρcp T Uy ) (ρcp T Uz ) x y z(15)The thermal energy is physically transported by the motion of the moving fluid (U ). Thisis similar to the transport of leaves and branches that are dropped into a moving river. Theleaves and branches are physically transported by the motion of the fluid and are carried alongwith the river. Convection increases the rate of heat transfer and is the reason why blowingover the surface of a hot drink reduces its temperature, so that we can drink it!Other Transport EquationsA variety of quantities that are transported by fluids follow a similar transport equation tothe temperature/thermal energy equation. On example is the injection of dye or fine solidparticles into a flow stream, as shown in Figure 6. The particles will be convected by thefluid and will also diffuse from areas of high concentration to low concentration. Hence, theconcentration C of dye/solid particles follows a similar transport equation to temperature: (ρC) · (ρU C) · (D C) Sc {z} {z} tConvection(16)Diffusionwhere D is the diffusivity of the dye/solid particles. The transport equations that governthe convection and diffusion of quantities in a fluid flow (velocity, temperature, concentrationetc.) all share the same common form: (ρφ) · (ρU φ) · (Γ φ) Sφ tFluid Mechanics 101(17)11

1 INTRODUCTION TO TRANSPORT EQUATIONSHigh ConcentrationLow ConcentrationFluid FlowFigure 6: The concentration of dye/solid particles diffuses from regions of highconcentration to regions of low concentration. This diffusion is represented mathematicallyby · (D C)where φ is a transported quantity (velocity, temperature, concentration etc.), ρ is the fluiddensity, Γ is the diffusivity of the quantity and Sφ is the additional source per unit volumeof the quantity φ. In this course, the finite volume method will be used to solve a generaltransport equation that includes convection, diffusion and a source term. As the governingequations of fluid flow all share the same general form, the same method can then be appliedto any transport equation (velocity, temperature, concentration etc.) that is required.In the three remaining chapters in this course, the finite volume method will be appliedto a transport equation for temperature. Temperature has been chosen specifically in thiscourse, as it is conceptually the most straightforward quantity to understand while applying themethod. The same techniques applied in this course can then be applied to any transportedquantity of interest, by following the same analysis steps. The diffusion and source termswill be considered first, to develop a general understanding of the method. The convectionterm will then be added in the third chapter of this course, allowing the effects of diffusionand convection to be studies simultaneously. In the fourth chapter of this course, a specialtechnique called upwind differencing will be introduced. This technique is essential to solvethe majority of convection-diffusion equations and is adopted by all modern CFD codes.Fluid Mechanics 10112

Chapter 2The 1D Diffusion Equation

2 THE 1D DIFFUSION EQUATION2The 1D Diffusion EquationIn the previous chapter, the convection-diffusion equation for the transport of temperature(thermal energy) was introduced. (ρcp T ) · (ρcp U T ) · (κ T ) S t(18)In this chapter, the transport equation for temperature will be solved for the limited case ofone-dimensional (1D) steady-state diffusion. This limited case will be used to introduce thefinite volume method and demonstrate how it works. The same approach can also be applied toother transport equations (momentum, species concentration, turbulence etc.). Temperaturehas been specifically chosen for this chapter, as it is conceptually the most straightforwardto follow and understand. In the next chapter, the one-dimensional steady-state diffusionexample will be extended to also include convection. Starting with the three-dimensional(3D) transport equation for thermal energy (temperature), the temporal derivative and theconvection term will be neglected in this chapter.0*:0 (ρc p T) · (ρc p U T ) · (κ T ) S t(19)0 · (κ T ) S(20)Expand the gradient ( ) and dot product ( ·) operators in Cartesian coordinates: T0 κ x x! T κ y y! T κ z z! S(21)!!*0 *0 T T κ S κ z y y z (22)For one-dimensional diffusion, the y and z derivatives are zero. T0 κ x x!dTd0 kdxdx! S(23)Equation 23 is the 1D steady-state heat diffusion equation. This equation will be solved usingthe finite-volume method, which is the most common approach used by modern CFD codes.The finite volume method can also be applied to more detailed equations and is not limited toone dimensional analysis. However, one dimensional flow has been specifically selected hereto illustrate the principals of the method clearly.Equation 23 is a differential equation (not an algebraic equation). Hence, the solution ofthis equation requires integration and the application of boundary conditions. Rather thanintegrate the equation over the entire domain of interest, the first stage in the finite volumemethod is to integrate the equation over a small piece of the domain. This piece is called afinite volume or parcel of fluid. Figure 7 shows an example of a finite volume of fluid, whichforms a part of the continuum of fluid. Remember that the differential equation is valid forevery finite volume of fluid in the domain, regardless of the size of the volume and its location.Mathematically, the integration process is described as:Z "VFluid Mechanics 101ddTkdxdx!# S dV 0(24)14

2 THE 1D DIFFUSION EQUATIONFinite VolumeFigure 7: A finite volume of fluid, which has been isolated from the fluid continuum.1D BarControl VolumeFigure 8: A 1D finite volume of fluid with volume V , which has been isolated from the bar.The integration of each term can be considered separately, as addition and integration arecommutative operations (it does not matter which order they are carried out in).Z "VdTdkdxdx!#dV Z[S] dV 0(25)VIn one-dimension, the control volume forms a part of a one-dimensional geometry, as shownin Figure 8. This control volume can be thought of as a piece of a bar that is conductingheat from one-end to the other, with constant properties over its cross-section. The secondterm in equation 25 represents the heat source generated in the finite volume. Assume thatthe heat source is constant across the control volume, with a value of S (the volume averageheat source). The second term in the finite volume integral can now be simplified.Z "VddTkdxdxZ "V!#ddTkdxdxdV SZdV 0(26)V!#dV SV 0(27)The source term S has units of W/m3 . Hence, the product SV has units of W .The first term in equation 25 is the volume integral of the heat diffusion inside the controlvolume. To simplify and evaluate this term, the divergence theorem is required. Physically,the divergence theorem states that the rate of accumulation of a vector field inside a controlvolume is equal to the flux of the vector field across the surfaces of the control volume. Whenapplied to the heat diffusion equation, this theorem can be thought of as an expression ofconservation of energy. Heat accumulating inside the control volume by diffusion must crossthe surfaces of the control volume if there are no additional sources of heat in the volume,Fluid Mechanics 10115

2 THE 1D DIFFUSION EQUATIONAcummulationin the VolumeFlux out of VolumeFlux out of VolumeFigure 9: A diagram to show the physical significance of the divergence theorem applied tovector field A. The accumulation of A in the volume equals the flux of A over the surfacesof the volume.Left faceRight faceFigure 10: A diagram to show the face normal vectors on the left and right faces of the 1Dcell. The cell normal vectors always point out of the cell.as shown in Figure 9. Mathematically, the divergence theorem for a general vector field A iswritten as:ZZ(28)( · A) dV (A · n̂) dAAV! Ax Ay Az dV (Ax nx Ay ny Az nz ) dA(29) x y zVAwhere n̂ is the unit normal vector pointing out of the control volume and A is the surfacearea of the control volume. In 1D, the divergence theorem can be written:ZZ!ZdAxdV (Ax n̂x ) dAdxAZV(30)For the 1D heat diffusion equation A k T . Hence Ax k dT /dx. Applying the 1Ddivergence theorem to the 1D heat diffusion equation leads to:!ZAdTκ nx dA SV 0dx(31)Physically, equation 31 states that the flux of heat out of the cell by diffusion must balancethe heat generated within the cell. To simplify this equation further, consider the 1D cell inFigure 10. The cell has a left face l and a right face r. Lower-case letters l and r are used inthis course to refer to the left and right faces of the cell, while upper-case L and R are usedto refer to the centroids of the neighbour cell that are on the left and right of the cell underconsideration. The flow quantities (temperature, thermal conductivity etc.) are constant onthe cell face. Hence, the first integral can be simplified:!ZdTκ nxdA SV 0dxAFluid Mechanics 101(32)16

2 THE 1D DIFFUSION EQUATION(a) Interior Cell(b) Boundary CellFigure 11: A comparison of interior cells (a) and boundary cells (b) in the mesh.dTk nx Adx!!dT k nx Adxr SV 0(33)lAs shown in Figure 10, nx is positive on the right face and negative on the left face. Hence:dTkAdx!dT kAdxr! SV 0(34)lThis simplified form of the 1D heat-diffusion equation is valid for all cells in the mesh. However,it cannot be solved yet numerically, as the equation is written in terms of variables on the cellfaces (l and r). In the cell-centred finite volume method, the equation is solved in terms ofvariables at the cell centroids (L, R and P ). To carry out the necessary simplification, interiorcells and boundary cells need to be considered separately. As shown in Figure 11, interiorcells are in the interior of the geometry and are connected to other cells. However, boundarycells are connected to a boundary of the domain (such as an inlet or wall) on one or moreof their faces. In the sections that follow, the interior and boundary cells will be consideredseparately when simplifying equation 34.Interior CellsStart with the general finite volume discretisation of the 1D heat-diffusion equation.dTkAdx!dT kAdxr! SV 0(35)lTo simplify and solve this equation for the interior cells, the temperature gradient on thecell faces (l and r) need to be expressed in terms of temperatures at the cell centroids (L,R and P ). This simplification can be accomplished with linear interpolation, which is oftencalled central-differencing. To help understand this simplification, remember that the spatialgradient of temperature can be thought of as:dT TChange in Temperature dx xDistance(36)As shown in Figure 12, the temperature gradient on the left face can be expressed usingcentral differencing as:!dTTP TL (37)dx ldLPwhere dLP is the distance between the cell centroids L and P . In a similar manner, thetemperature gradient on the right face can also be expressed using central differencing:dTdxFluid Mechanics 101! rTR TPdP R(38)17

2 THE 1D DIFFUSION EQUATIONRight faceLeft faceFigure 12: Central differencing (linear interpolation) of the temperature gradient on theleft face of the cell using the values at the cell centroids of the interior cell (TP ) and the leftcell (TL ).Substitute this simplification into the 1D heat-diffusion equation (equation 35). TR TPkr ArdP R TP TL kl Al SV 0dLP (39)The 1D diffusion equation can now be solved for the temperatures at the cell centroids (TL , TRand TP ). To simplify this process, rearrange the equation and collect the terms in terms oftemperature of the interior cell (TP ), temperature of the left cell (TL ) and the temperatureof the right cell (TR ).kl Al kr Ar dLPdP RTP! TLkl AldLP! TRkr ArdP R! SV(40)For convenience, introduce the notation D k/d. This quantity can be thought of as thediffusive flux of heat per unit area through the cell face and has units of W/m2 K.TP (Dl Al Dr Ar ) TL (Dl Al ) TR (Dr Ar ) SV(41)For consistency with other equations that will be introduced later, write the above equationin the following form:ap TP aL TL aR TR Su(42)TP (Dl Al Dr Ar 0) TL (Dl Al ) TR (Dr Ar ) {z}SV {z}ap {z }aL {z }aR(43)SuHence, the following coefficients can be identified. These coefficients will be compared withother formulations of the convection-diffusion equation in the next two chapters.ap aL aR SpSP 0aL Dl AlSu SVaR Dr Ar(44)(45)At this stage, we now have an algebraic equation for the temperature at the centroid of the cellTP . This is the unknown in the equation that we want to solve for. However, the temperatureof the cells on the left and right of this cell (TL and TR ) are also unknown. To overcome thisdifficulty, one equation will be written for every cell in the mesh, with the unknown of eacheuqation being the temperature of that cell centroid TP . Each of these equations is coupledto the equations of the cells on the left and right of the cell through the variables TL and TR ,as shown in equation 43. Before proceeding to assemble and solve these equations, separatetreatment is required for the boundary cells.Fluid Mechanics 10118

2 THE 1D DIFFUSION EQUATIONBoudary Cell (Left)Right CellFigure 13: The left boundary cell with temperature TP at its centroid. The shared facebetween the boundary cell and the right cell is at a temperature Tr and the wall has atemperature Tl TA .Boundary Cell (Left)Figure 13 shows the boundary cell at the left end of the bar. The cell is connected to theboundary (wall) at the left face, where a fixed temperature TA is applied. The finite volumediscretisation of the 1D heat-diffusion equation (equation 34) is:dTkAdx!dT kAdxr! SV 0(46)lThe right face of the boundary cell is connected to an interior cell. Hence, the same centraldifferencing scheme for the temperature gradient from the previous section can be used.However, the left face is connected to a boundary. As shown in Figure 13, the temperaturegradient term for the left face is:dTdx! lTP TAdLP /2(47)The factor of 1/2 is required as the distance from the cell centroid to the face is 1/2 ofdLP (the distance from the cell centroid to the cell centroid of the adjacent cell). The finitevolume discretisation of the 1D heat-diffusion equation for the left boundary cell is now: TR TPkr ArdP R TP TA kl AldLP /2! SV 0(48)Again, introduce the notation D k/d for the diffusive heat flux per unit area.TP (2Dl Al Dr Ar ) TR (Dr Ar ) TA (2Dl Al ) SV(49)For consistency with the interior cell, write in the following form:ap TP aL TL aR TR Su(50)TP (0 Dr Ar 2Dl Al ) TL (0) TR (Dr Ar ) TA (2Dl Al ) SV {zaP} {z}aL {z }aR {zSu(51)}For comparison with the interior cell, the boundary cell (left) has the following coefficients:aL 0Fluid Mechanics 101aR Dr Arap aL aR Sp(52)19

2 THE 1D DIFFUSION EQUATIONLeft CellBoundary Cell (Right)Figure 14: The right boundary cell with temperature TP at its centroid. The shared facebetween the boundary cell and the left cell is at a temperature Tl and the boundary has atemperature Tr TB .SP 2Dl AlSu TA (2Dl Al ) SV(53)Comparing these coefficients with the coefficients for the interior cell, it can be seen thatthe left coefficient aL is zero. This makes sense physically, because the boundary cell is notconnected to another cell on the left. The influence of the boundary condition is introducedinto the equation through the source terms Sp and Su .Boundary Cell (Right)The boundary cell on the right of the domain is shown in Figure 14. The cell is connected tothe boundary at the right fa

Welcome to my Computational Fluid Dynamics Fundamentals Course! I put together this course to help you develop a deep understanding of computational uid dynamics (CFD), so that you can set up, run and post-process engineering simulations of uids (liquids and gases) more eectively. This course

Related Documents:

1.1 What is computational fluid dynamics? 1.2 Basic principles of CFD 1.3 Stages in a CFD simulation 1.4 Fluid-flow equations 1.5 The main discretisation methods Appendices Examples 1.1 What is Computational Fluid Dynamics? Computational fluid dynamics (CFD) is the use of computers and

Fluid Mechanics Fluid Engineers basic tools Experimental testing Computational Fluid Theoretical estimates Dynamics Fluid Mechanics, SG2214 Fluid Mechanics Definition of fluid F solid F fluid A fluid deforms continuously under the action of a s

Computational Fluid Mechanics Lecture 2 Dr./ Ahmed Nagib Elmekawy Oct 21, 2018. 2 . Computational Fluid Dynamics -A Practical Approach, Second Edition, 2013. Ch. 2 Wendt, Anderson, Computational Fluid Dynamics - An Introduction, 3rd edition 2009. 4 LAGRANGIAN A

J.H. Ferziger and M. Peric, Computational Methods for Fluid Dynamics, Springer-Verlag [available online through USC Libraries] C.A.J. Fletcher, Computational Techniques for Fluid Dynamics, Vol. 1: Fundamentals and General Techniques, 2nd ed., 1991, Springer-Verlag, ISB

What is Computational Fluid Dynamics ? Fluid (gas and liquid) flows are governed by partial differential equations (PDE) which represent conservation laws for the mass, momentum, and energy Computational Fluid Dynamics (CFD) consist in replacing PDE systems by a set of algebraic equations which can be solved using computers. p u g Dt Du

Fluid Dynamics Fluid dynamics refers to the physics of fluid motion The Navier-Stokes equation describes the motion of fluids and can appear in many forms Note that ‘fluid’ can mean both liquids and gasses, as both are described by the same equations Computational fluid

Business Ready Enhancement Plan for Microsoft Dynamics Customer FAQ Updated January 2011 The Business Ready Enhancement Plan for Microsoft Dynamics is a maintenance plan available to customers of Microsoft Dynamics AX, Microsoft C5, Microsoft Dynamics CRM, Microsoft Dynamics GP, Microsoft Dynamics NAV, Microsoft Dynamics SL, Microsoft Dynamics POS, and Microsoft Dynamics RMS, and

API 6A Flanges Catalogue. API 6A - TYPE - 6B 13.8 MPA (2000 PSI) Size B OD C (MAX.) K P E T Q X BC N H LN HL JL Ring Number R or RX 2 1/16 53.2 165 3 108 82.55 7.9 33.4 25.4 84 127 8 20 81 60.3 53.3 23 2 9/16 65.9 190 3 127 101.60 7.9 36.6 28.6 100 149.2 8 23 88 73.0 63.5 26 3 1/8 81.8 210 3 146 123.83 7.9 39.7 31.8 117 168.3 8 23 91 88.9 78.7 31 4 1/16 108.7 275 3 175 149.23 7.9 46.1 .