Presentation on theme: "Teaching Heat Transfer and Fluid Mechanics by means of CFD"— Presentation transcript:
1 Teaching Heat Transfer and Fluid Mechanics by means of CFD Keynote lecture atHEFAT 2012Teaching Heat Transfer and Fluid Mechanics by means of CFDi.e. Computational Fluid DynamicsbyBrian Spaldingof CHAM Ltd
2 ContentsTo:Teachers of HEFAT who don’t “do CFD”.The message:You can.It’s easy,and better.Here’s how,and why.The proposal:A CFD-for- Teaching club.
3 The purpose is to prepare students The purpose of teachingThe purpose is to prepare studentsto become engineers,who will design the most efficientand environment-friendlyequipment and processes.What is the best way?
4 The necessary content of the teaching The laws of conservation of mass, momentum and energyThe laws of transport : (diffusion, viscosity, heat conduction, convection and radiation).The equations to which they lead, either finite-volumeor infinitesimal.How to solve the equations when applied to real-life processes and equipment.
5 To understand these, mastery of differential calculus was necessary. How to solve the equations:1. Before the electronic computerInfinitesimal volumes were chosen. So the equations were differential ones.To understand these, mastery of differential calculus was necessary.Therefore only the analytically adept were allowed even to study engineering.This precluded many from entering the profession who might well have succeeded in it;for practising engineers rarely use calculus.
6 The consequencesHeat transfer is still taught by way of differential equations because (a few) analytical solutions exist;but only for seldom-realistic conditions (uniform heat-transfer coefficient, temperature-independent properties).If the solutions are used for design, large ‘safety factors’ must be applied.Widely-used heat-exchanger-design software provides ‘correction factors’; but it is still based on pre-computer idealisations.This has world-wide (and bad) economic and environmental significance.Basing predictions on finite-volume analysis (it will be argued) can therefore bring important benefits.
7 Another aspect of pre-computer teaching A further mainstay of traditional teaching is reliance on dimensional analysise.g. this handbook item about heat transfer and pressure drop in banks of finned-tubes:which should certainly not be relied upon because
8 How many parameters are needed to describe a finned-tube bundle? Here are 10 parameters for the geometry alone.Others are 3: velocities, 3 conductivities, etc.
9 Finned-tube fact and fiction (1) The total number of dimensionless parameters needed for finned-tube bundles is at least 15 .(2) The army of experimentalists needed systematically to explore this 15-dimensional space has surely never been mobilised. Nor will it ever be.(3) Even if it had been, it is highly improbable that its findings would have fitted the always-preferred form:Nu=a*Reb*Prc*De*Fg*Hi Jk*Lm etcetera where a, b, c, e, g, i, k and m are constants, & D, F, H, J & L dimensionless parameters acting independently.But detailed-geometry CFD can work out the interacting influences of all parameters for the particular case in question.
10 Every store-keper can understand in- and out-flows. How to solve the equations:2. Using the electronic computerFinite volumes can now be chosen. So the equations can be solved by arithmetic.Every store-keper can understand in- and out-flows.Computers perform the laborious arithmetic.The unrealistic assumptions can be dispensed with.And insight can be gained as well as numbers.
11 Summary ofthe argument so far1. Traditional teaching demands rare analytical skills and provides little true design capability.2. Finite-volume-based CFD plus sum-gobbling computers provide more-realistic design capability and make less intellectual demands.3. FV-based heat-transfer teaching will therefore prepare more students to become better engineers.The remainder of this lecture is devoted to how this may be achieved.
12 There are 3 kinds of heat-transfer- related computer software 1. Special-purpose packages (e.g. those marketed by HTRI and Aspen) which re-cast the pre-CFD design methods in software form. These can not serve the present purpose.2. General-purpose CFD packages (PHOENICS, FLUENT, etc). These can serve only as hidden-from-user ‘CFD engines’.3. New!! User-adapted simulation-scenario packages, called ‘simulets’ in the printed paper.They can be down-loaded for use by lecturers and students who are not CFD specialists.
13 What are down-loadable ‘Simulation-Scenario’ files? Example: a file for flow & heat transfer in tubes.A ‘SimScene’-viewer package reads it; and then shows this screen:The lecturer uses the SS-Viewer throughout.Its main window contains the start of an html file, which the lecturer is free to edit .Above are buttons enabling him/her to do live simulations of flow in tubes.But the input data must first be inspected.
14 About the TubeFlow package: data input via one of eight menus A closer look:Clicking on the appropriate bar and then on the seventh left-hand box causes this menu to appear.The flow formulations which can be chosen are shown here.The lecturer may choose to explain their meanings,perhaps after first studying the html document.
15 Handling temperature-dependent properties Heat-transfer text-book formulae connect Nusselt, Reynolds and Prandtl numbers, each containing thermo-physical property values, treated as constants.In reality, properties vary with temperature.A SimScene-using lecturer can explore these effects in the class-room;and more easily than in the laboratory; both real and fictitious fluids can be investigated.
16 How the in-classroom simulations are performed Just click on the running man icon; then in a few seconds the computed results are ready for display.Nor need the lecturer know how to operate the graphical display package; for, when the run ends, he will see this:Clicking on the icon will activate a macro which creates images automatically, such as:contours of temperaturewhich the class can then discuss.
17 Some merits of the down-loadable SimScene system The lecturer needs only minimal computer skills; and he/she can deliver ‘as is’ or with own embellishments.Graphical displays make more impact on students’ minds than algebraic derivations.Moreover students can make explorations for themselves in ‘SimScene home-work’ sessions.Later, as professional engineers, they will be readier to use finite-volume-based simulation for design;and will well know that CFD has its own limitations, viz:grid-fineness effects;computer-size needs;turbulence-model uncertainties;and human error.
18 Example of a home-work assignment The task: Use TubeFlow’s multi-run capability to compute fluid flow and heat transfer for water, at 80 degC, in fully-developed flow , for various Reynolds numbers; and explain the resultsThe student might obtain this Not bad. But how explain the drooping of the Nusselt No. curve(bottom-right) Unravelling puzzles promotes understanding.
19 Exploring the influence of uncertain inputs Lecturers should know enough about CHT to explain its sources of uncertainty: e.g. that fine grids are need for realism, as seen here:So they can enlarge their students’ knowledge (and their own) by saying: ‘Run each turbulence model, at various Reynolds numbers; then compare results’.TubeFlow makes this easy. Here is its multi-run screen:This will launch 30 runs: 5 models for each of 6 velocities.
20 Further advantages: some things need no longer be taught Text- and hand-books are cluttered with formula which purport (implausibly and impractically) to be useful in design. For example:They represent someone’s long-ago hopeful guess; and they are copied from book to book without criticism.Likewise, figures like this, with impossibly low Nusselt Nos.
21 How to create a SimScene package; what’s involved? Step 1. Decide what parameters define the scenario, e.g. shapes, sizes, materials, thermal conditions.Step 2. Decide what default values (or lists) shall appear in the SimScene-viewer’s menu boxes.Step 3. Decide what CFD engine will perform the flow-simulating calculations.Step 4. Express the above decisions in the CFD engine’s Data-Input language.Comments: (a) Steps 1 and 2 are the creative steps(b) Re Step 3, any general-purpose CFD code will serve.(c) Step 4 requires knowledge of the engine’s language; but it is mechanical in essence (students can do it).
22 How to create a SimScene package; some details 1. Knowing only the PHOENICS Input Language (PIL), I used it; but repeat: SimScenes can use any CFD engine.2. There does exist a PIL editor, with macros, widgets and other aids. Editors may exist for other engines too.3. It is Steps 1 and 2 that require agreement on format. Commercial competition should not hinder its making.4. The current SimScene format can of course be improved; but refinement is cheaper than replacement.5. For those who make the same choice of engine, I can provide the Editor, and how-to-use instructions.6. My aim is to bring into existence a ‘critical mass’ of SimScenes in a short time. Can that be made possible?
23 Regarding possibility, Sir Francis Bacon wrote: “I take it those things are to be held possible which may be done by some person though not by every one;“and which may be done by many, though not by any one;“and which may be done in the succession of ages, though not within the hour-glass of any one man’s life;“and which may be done by public designation, though not by private endeavour”.What public? Could that be the HEFAT community? Perhaps in co-operation with like-minded others?For, if ‘many’ participate, a cloud of SimScenes might exist sooner than ‘succession of ages’ suggests.
24 Another heat-transfer-related SimScene: HeatEx Its top page looks like this:If all SimScenes: have similar forms, novelty of content is better perceived.Author, date and institution would be useful additions..If a HEFAT-SimScene-Creators’ Club came into existence, a first task would be to recommend an all-fitting format.
25 The purpose of HeatExHeatEx is designed to teach students about shell-and-tube heat exchangers, like this one:Influences of tube and baffle number and positioning are among those to be explored.
26 Available flow configurations As well as the text-book-standard options: parallel-, counter- and cross-flow, it has oblique, two-baffle, leaky-baffle and four-baffle options.
27 Data-input facilities It has a menu structure similar to that of TubeFlow.Here the flow configuration is being selected.
28 Its multiple-grid feature For economical programming and display, it uses two grid segments to cover the same space: one for the shell- and one for the tube-side fluid.
29 What students can learn from the HeatEx SimScene Simulations run in the classroom by the lecturer or as home-work by the students reveal:1. That finite-volume-based simulations fit the text-book formulae closely enough, if the grid is sufficiently fine.2. That contours of temperature in cross-flow exchangers may look like this 3.That baffles bring close-to-counterflow effectiveness but raise the pressure drop.4.That phase-change effects can be taken account of.
30 Last words about simulation-scenario packages A few such packages exist; and I hope to create more.But hundreds are needed, for the teaching of all relevant fluid-flow, heat/mass transfer topics; and my personal ‘hourglass’ will certainly not suffice.I hope therefore to have conveyed the vision clearly enough for some of you to share it; and to desire to turn it into reality.My offer: I will make TubeFlow and HeatEx downloadable by anyone who asks for them in the hope of spreading my enthusiasm and promoting the creation of new SimScenes.
31 A final speculationWe laugh because medieval scholars debated how many angels could stand on the head of a pin.One day we may scorn mathematicians for their obsession with the infinitesimal.But finite-volume-based simulation will surely survive!
32 and to all of you for your kind attention. And now my thanksTo Alexey Ginevsky for conceiving and creating the SimScene-viewer package and the PIL-editor;to Elena Pankova for her work on TubeFlow and HeatEx;and to all of you for your kind attention.The End