Latest / Mechanical Engineering Made Simple / (#22) Vector Calculus to Heatsinks: Bridging Math and Design of Thermal Fluids
Transcript
- 0:00Welcome back, design junkies, to mechanical engineering made
- 0:02simple. Great to be back.
- 0:04Today we are diving straight into, well, the really core
- 0:08stuff, the foundational mathematics that underpins
- 0:11thermal and fluid dynamics. That's right, vector calculus
- 0:14and conservation laws. Yeah, and you know, one of our
- 0:17listeners shared some sources and they highlighted something
- 0:19we see a lot, don't we? Textbooks, papers.
- 0:23They often jump straight from these core differential
- 0:25equations like Boom into really complex applications.
- 0:29Oh yeah, things like thermal spreading analysis or optimizing
- 0:32flow channels. Exactly.
- 0:34And there's this, this gap, this Canyon almost between the pure
- 0:38math and the practical problem. It really is.
- 0:40You can't fully appreciate the solutions, the clever designs,
- 0:44if you don't speak the language the problem is written in, you
- 0:46know? Absolutely.
- 0:47So our mission today is to try and bridge that gap, connect
- 0:51these abstract mathematical tools, your gradients, your
- 0:54divergences, to things we can actually measure and design
- 0:57around, like heat flow paths or how stable a fluid flow is.
- 1:01Precisely. We need to get comfortable with
- 1:03the physics of fields before we can really manage the fluxes,
- 1:07the energy transfer, the momentum transfer.
- 1:09It's about understanding that language first.
- 1:11OK, so let's unpack this a bit. When we're analyzing heat
- 1:14transfer or fluid flow, we're fundamentally dealing with
- 1:17fields. That's the key concept fields.
- 1:20Like temperature, that's a scalar field, right?
- 1:23Just has a magnitude at every point.
- 1:24Just a number. How hot is it here?
- 1:26But. Velocity.
- 1:28That's different. It's a vector field.
- 1:29It has magnitude and direction everywhere.
- 1:31How fast and which way the fluids moving at that point?
- 1:34So to describe how these fields change across space, we need
- 1:39these tools, these vector operators.
- 1:42Exactly, and maybe the most intuitive one to start with is
- 1:46the gradient, usually written as enable of T for temperature.
- 1:49The gradient of temperature. Conceptually, what's it telling
- 1:52us? It's giving you 2 key pieces of
- 1:54information. One, the direction of the
- 1:56steepest change in temperature. Think of it like the steepest
- 2:00uphill direction on a temperature map, and two, the
- 2:04rate of that change how steep is that hill?
- 2:06So if you put a hot ship on a cold heat sink, the gradient
- 2:10vector points directly along the fastest path heat wants to take.
- 2:13Right, and in simple rectangular coordinates your basic XYZ
- 2:17system, the formula looks pretty clean.
- 2:20It does. The gradient of T is just.
- 2:22Well, it's a vector sum. You take the partial derivative
- 2:24of T with respect to X times the X unit vector plus the partial
- 2:28of T with respect to Y times the Y unit vector plus the partial
- 2:31of T with respect to Z times Z unit vector.
- 2:34Equation 1.31 in the source. Straightforward enough, but.
- 2:38And this is a big, but the math changes quite a bit depending on
- 2:41your coordinate system. Right cylindrical or spherical
- 2:44coordinates always tricky. Exactly.
- 2:46Imagine analyzing flow in a pipe or heat spreading from a
- 2:50cylindrical heater. You switch to cylindrical
- 2:52coordinates or Theta Z and suddenly that gradient formula
- 2:56gets more complex. Specifically, look at the
- 2:59angular component, how temperature changes as you move
- 3:01around the cylinder, the Theta direction.
- 3:03What happens there? You get this extra factor.
- 3:05It's E sub Theta times 1 / r times partial T partial Theta.
- 3:09See equation 1.36. One over, so the radius matters
- 3:13directly in the gradient calculation.
- 3:15Immensely, that 1 / R term tells you that the same angular change
- 3:18in temperature contributes less to the overall gradient if
- 3:21you're far away from the center, large R because it's spread over
- 3:24a wider arc. OK, so close to the center a
- 3:27small angular change looks steep.
- 3:29Far away, it's shallower. Precisely, geometry dictates the
- 3:33math. It's not just a change of
- 3:35variables, it changes the structure of the operator.
- 3:37OK. So that's the gradient focused
- 3:39on slope and direction of change.
- 3:41What about the other big operators for fields, especially
- 3:44vector fields like velocity? Well, we absolutely need to talk
- 3:47about divergent nabla dot V and curl nabla cross.
- 3:51Divergent. What's the physical intuition
- 3:53there? Think of divergent divergent of
- 3:56velocity as measuring expansion or contraction.
- 3:59If you draw a small imaginary box in, the fluid is more fluid
- 4:03flowing out-of-the-box than throwing it.
- 4:05If the divergent is positive, the fluid is expanding like it's
- 4:08coming from a source within the box.
- 4:11If it's it's negative, it's contracting, heading towards a
- 4:13sink. If it's zero, well, we'll get to
- 4:16that. It's crucial for mass
- 4:18conservation. Got it.
- 4:19Source or sink and curl nubble across V?
- 4:22Curl measures rotation, local rotation, or vorticity.
- 4:27Imagine placing a tiny tiny paddle wheel in the flow.
- 4:30OK, would it spin? The curl vector tells you the
- 4:33axis it would spin around and how fast.
- 4:35If the curl is 0 everywhere, the flow is called irritational.
- 4:38Which I assume makes the math easy.
- 4:40It's significantly easier in many cases, yeah.
- 4:43And sometimes these operators get combined, right?
- 4:45Yeah, I see the Laplacian mentioned Nabila Squared T.
- 4:48Yes, the Laplacian is basically the divergent of the gradient.
- 4:51So for temperature, Nabil squared T involves second
- 4:53derivatives like partial squared T, partial X ^2 plus partial
- 4:57square T, partial y ^2 and so on.
- 4:59Equation 1.35 shows the rectangular form.
- 5:02And that's important because. Because setting the Laplacian of
- 5:06temperature equal to 0 nebula $2.00 and four describes steady
- 5:11state heat conduction with no internal heat generation, it's
- 5:15often the starting point for solving basic heat transfer
- 5:17problems in solids. All right, so we have this
- 5:19mathematical language gradient divergent curl Laplacian.
- 5:24Now let's apply to the fundamental rules governing how
- 5:27things, especially fluids, move conservation laws.
- 5:30Starting with the big one, conservation of mass, this gives
- 5:34us the continuity equation, it's most general form.
- 5:36For a compressible fluid, the equation looks like this partial
- 5:39rho partial T plus partial with respect to X of rho V sub X plus
- 5:44partial with respect to Y of rho V sub Y plus partial with
- 5:47respect to Z of rho V sub Z = 0. That's equation 1.58.
- 5:52Whoa, OK, but break that down. Partial rho, Partial T.
- 5:54That's the rate of change of density rho over time.
- 5:57At a fixed point, it's how much mass is accumulating or
- 6:00depleting in a tiny volume got. It and the other terms.
- 6:03Those are the divergent terms. Essentially, they represent the
- 6:06net rate at which mass is flowing out of that tiny volume
- 6:09in each direction XYZ. So accumulation rate plus net
- 6:12outflow rate equals 0. Mass isn't created or destroyed
- 6:16in that volume. Exactly.
- 6:17It's just a mathematical statement of mass conservation.
- 6:20But you mentioned compressible flow.
- 6:22What happens if the fluid is incompressible like water or
- 6:25oil, where the density swirl is basically constant?
- 6:29That's where the magic happens. If rho is constant, its
- 6:32derivatives are 0, so that first term partial rho partial T
- 6:36vanishes, and you can pull the constant rho out of the other
- 6:40derivatives. Since rho isn't 0, you can
- 6:42divide the whole equation by it. What you're left with is
- 6:45beautiful, which is partial V sub X, partial X plus partial V
- 6:49sub Y, partial Y plus partial V sub Z partial Z = 0, the
- 6:53equation 1.61. Wait, that's just.
- 6:56The divergent of the velocity vector nabla VO not V equals.
- 7:00Wow, so for incompressible flow the velocity field has zero
- 7:03divergent everywhere. Exactly.
- 7:05It mathematically states that the fluid isn't expanding or
- 7:08contracting locally. What flows in must flow out.
- 7:12It's incredibly elegant and simplifies fluid dynamics
- 7:15immensely. OK.
- 7:16That's a huge insight. Now when we're tracking fluids,
- 7:18there's this other concept mentioned, the substantial
- 7:20derivative or material derivative.
- 7:21Why do we need that? Right, the substantial
- 7:23derivative, often written as capital D by capital DT.
- 7:26We need it because usually we don't care just about how things
- 7:30change at a fixed point in space.
- 7:32That's the partial derivative with respect to time partial
- 7:34partial T. We care about what happens to a
- 7:36specific chunk of fluid as it moves along.
- 7:38Precisely, we want to know the rate of change experienced by a
- 7:42fluid particle as it follows its path.
- 7:44Think about tracking a floating particle and measuring its
- 7:47temperature change. OK, so how does the substantial
- 7:49derivative capture that? It combines 2 effects.
- 7:51Look at equation 1.55 for density.
- 7:54DRO by DT equals partial rho partial T.
- 7:58That's the local change at a point, right?
- 8:00Plus V sub X times partial rho partial X + v sub Y times
- 8:04partial rho partial y + v sub Z times partial rho partial Z.
- 8:08So those extra terms involve the velocity V sub XV, sub YV sub Z
- 8:13and the spatial gradients partial row, partial X,
- 8:15etcetera. Exactly.
- 8:17That second group of terms is the convective derivative.
- 8:20It accounts for the change the particle experiences simply
- 8:23because it's moving to a new location where the density or
- 8:26temperature or whatever property is different.
- 8:28Ah, I see. So DDT local change plus
- 8:32convective change. It follows the particle.
- 8:34You got it. It's essential for applying
- 8:36Newton's laws to fluids correctly.
- 8:39Which brings us to conservation of momentum, the next big
- 8:44conservation law. This is basically Newton's
- 8:46second law. Faber applied to a fluid element
- 8:49or a control volume. The source is stated as a
- 8:52theorem. The net force F on a control
- 8:55volume equals the time rate of increase of momentum inside plus
- 8:58the net rate at which momentum flows out across the surface.
- 9:01Equation 1.66. That's the integral form, yeah.
- 9:04It accounts for all the forces. Pressure pushing on the
- 9:06surfaces. Viscous shear stress is acting
- 9:08like friction and body forces like gravity and when you.
- 9:11Take that principle, apply it using the substantial
- 9:13derivative, and specialize it for, say, incompressible laminar
- 9:17flow with constant viscosity. You end up with a set of complex
- 9:21nonlinear partial differential equations, the famous or maybe
- 9:25infamous Naver Stokes equations like equations 1.69 and 1.70
- 9:31shown for cylindrical coordinates.
- 9:32They look incredibly complicated, especially in
- 9:35cylindrical or spherical coordinates.
- 9:36They are, but the core idea, the engineering insight, is that
- 9:40they are fundamentally just $5 for a fluid.
- 9:43They balance inertia, pressure gradients, viscous forces, and
- 9:46external forces to determine the fluids acceleration and
- 9:49therefore its velocity field. They describe how pretty much
- 9:52every liquid in most gases move. OK, wow.
- 9:55So we've built up the language and the fundamental laws.
- 9:58Let's shift gears now and connect this back to more
- 10:00tangible, practical things a designer actually grapples with,
- 10:04starting with heat generation inside a solid.
- 10:06Good idea. Let's take a simple case.
- 10:08A slim conductor, maybe a wire or flat plate, with heat being
- 10:12generated uniformly throughout its volume.
- 10:14Maybe it's resistive heating $2.00.
- 10:16OK, uniform volumetric heat generation and let's say both
- 10:19ends or surfaces are kept cool at a constant temperature
- 10:22subzero. Right, So heat is generated
- 10:25everywhere inside and it has to flow out to the cooler
- 10:28boundaries. Where will it be hottest?
- 10:30Intuitively right middle, farthest from the cool edges.
- 10:33Exactly. And there's a simple formula for
- 10:36that peak temperature T Max. It's T Max to 0 plus the QG
- 10:39Frankie L2. That's equation 1.4 here.
- 10:43L is the thickness or total length and K is the thermal
- 10:46conductivity. T Max equals T 0 + Q sub G * l
- 10:51^2 over AK. OK, now here's a really useful
- 10:55practical insight buried in that equation, highlighted as
- 10:58equation 1.5 in the source material.
- 11:01Compare this case distributed generation to a case where the
- 11:04same total amount of heat is generated, but all at a single
- 11:08point or plane right in the center.
- 11:10The thermal resistance for this distributed case where heat is
- 11:13generated everywhere is only 1/4 of the resistance you get if all
- 11:16the heat originated from the center 1/4.
- 11:18Just by spreading the heat generation out.
- 11:20Yeah, it makes a huge difference in keeping that peak temperature
- 11:23down, spreading the load. Essentially, it fundamentally
- 11:26changes how you might design something to avoid hotspots.
- 11:28That's a fantastic nugget, but often the biggest thermal
- 11:32challenge isn't the resistance within a material, right?
- 11:35It's at the joins, the interfaces.
- 11:37Oh. Absolutely.
- 11:39What engineers call thermal contact resistance one or out
- 11:42Fowler. This is often the dominant
- 11:44resistance in an assembly. Why does it happen?
- 11:47I mean if you bolt 2 flat metal plates together, shouldn't heat
- 11:51flow easily? You'd think so, but flat at our
- 11:53scale isn't flat at the microscopic scale.
- 11:56Every surface, even polished ones, has tiny peaks and
- 11:59valleys. Asperities.
- 12:00Like microscopic mountains. Exactly.
- 12:03So when you press 2 surfaces together, they only touch at the
- 12:06tips of the highest peaks. The actual solid to solid
- 12:09contact area might only be like 1 or 2% of the apparent area you
- 12:13see. Whoa, really?
- 12:14That. Little Yep.
- 12:15So heat has two main paths, direct conduction through those
- 12:19few tiny solid spots, which is usually efficient but limited in
- 12:22area, and conduction across the gas, usually air trapped in the
- 12:26gaps between the peaks and gases are generally poor conductors.
- 12:29So the gap is the main barrier. It's a huge barrier and modeling
- 12:33the overall heat transfer across that interface.
- 12:35The contact conductance P is really complex.
- 12:38Equation 1.9 gives a sense of it.
- 12:40Let's see, it depends on the material conductivity of CIGAL,
- 12:43but also surface properties like micro hardness centers, the
- 12:46clamping pressure. Right, more pressure squash
- 12:48increase in contact area, but it also depends on the gas and the
- 12:51gap, its conductivity at calalars and even its mean free
- 12:54path Lambda the mean. Free path.
- 12:57That's a molecular gas property. It is it.
- 12:59Shows how microscopic physics affects the macroscopic heat
- 13:01transfer, especially if the gap is very small or the pressure
- 13:04very low. It's a fascinating mix of
- 13:06mechanics, material science, and heat transfer.
- 13:08OK, so. Interfaces are critical.
- 13:11Now shifting back to fluids in motion, convection.
- 13:13How do we quantify heat transfer to a moving fluid, say inside a
- 13:17pipe or channel? The workhorse.
- 13:19Equation there is Newton's law of cooling QQ equals HSTSTS on
- 13:23LA equation 1. Dollar 12 Q equals.
- 13:26HS Delta T, where Q is the heat rate, S is the surface area,
- 13:30delta T is the temperature difference between the surface
- 13:32and the bulk fluid and and lower dollars is the convective heat
- 13:36transfer coefficient. And finding a dollars, well
- 13:40that's often the main goal in convective heat transfer
- 13:42analysis. It wraps up all the complexity
- 13:45of the fluid flow and thermal conditions into one number but
- 13:49dollars. Isn't just a constant, is it?
- 13:51Especially inside a duct? No.
- 13:53Definitely not, particularly in the entrance region.
- 13:56When fluid first enters a pipe, say from a large reservoir, its
- 14:00velocity profiles usually uniform.
- 14:02As it flows down the pipe, viscosity acts, the layers near
- 14:06the wall slow down, and a boundary layer grows until the
- 14:08velocity profile becomes stable or fully developed.
- 14:11OK, the velocity. Profile develops represented by
- 14:14$6. And the same thing happens with
- 14:16temperature. If the pipe wall is heated, a
- 14:19thermal boundary layer grows from the wall into the fluid.
- 14:22The temperature profile also develops over a thermal entrance
- 14:25length $6.00. So both.
- 14:26Velocity and temperature profiles are changing near the
- 14:29entrance, correct? And because the dollar depends
- 14:32critically on the shape of those profiles, especially the
- 14:34gradients right at the wall, a dollar changes significantly
- 14:37along the entrance length. It's usually very high right at
- 14:39the start and decreases as the flow develops until until.
- 14:42Both profiles become fully developed, meaning their shapes
- 14:45stop changing far downstream. The dollars often settles down
- 14:49to a constant asymptotic value for a given flow regime and
- 14:52boundary condition like the. Example given for a laminar flow
- 14:56in a round tube with uniform wall heat flux exactly.
- 14:59That's a classic case. Once the flow is fully
- 15:02developed, the dimensionless form of Lawler is called the
- 15:04Nusselt number. No, a lie becomes constant for
- 15:07that specific case. Nu equals 4.364.
- 15:11Nu equals 4. .364 A fixed number.
- 15:14A fixed number. Doesn't matter if it's water or
- 15:17oil or air, as long as it's laminar.
- 15:19Doesn't matter if the pipe is tiny or huge.
- 15:22That dimensionless group captures the physics.
- 15:24It's incredibly powerful. For designers, that is powerful.
- 15:26OK, one last practical application area mentioned
- 15:29geometric optimization. How do we find the best shape or
- 15:33size for heat transfer components right specifically?
- 15:36Looking at forced convection, like blowing air through a heat
- 15:38sink with parallel fins or plates, often you have a fixed
- 15:41pressure drop available from your fan Delta P1 and maybe a
- 15:45fixed total volume for the heat sink.
- 15:46OK, constrained. Design.
- 15:48The question is, what's the optimal spacing D effect between
- 15:51those plates or fins to maximize heat removal?
- 15:54How do you? Figure that out the insight.
- 15:56Is that the best performance happens when you size the
- 15:58channels just right, so the thermal boundary layers growing
- 16:01from opposite walls just meet or merge right as the fluid is
- 16:05about to exit the channel length L?
- 16:08So you use the full channel volume for heat transfer without
- 16:11choking the flow too much? Exactly.
- 16:13Make the channels too wide and the core flow doesn't get heated
- 16:16effectively. Make them too narrow and the
- 16:18friction skyrockets for the same flow rate, or your flow rate
- 16:21drops for the fixed pressure drop.
- 16:23So there's an. Optimum and the sources link
- 16:26this to something called the Bijan number.
- 16:28Yes, the. Bijan number Bijan dollar is a
- 16:30dimensionless group representing the imposed pressure difference.
- 16:34It's defined as Bijan elbow Delta PL-2 MU Alpha, where MU is
- 16:38viscosity and alpha is thermal diffusivity delta.
- 16:41PL. squared over MU alpha OK. And there are correlations
- 16:44linking this Bijan number to the optimal geometry for parallel
- 16:48plates. Equation 5.47 gives V John Froff
- 16:50at approx 2.7 Tex 14D dot. Over L is about 2.7 * B to the
- 16:56power of -1 fourth. So the available pressure drop
- 16:59directly tells you the best aspect ratio for your channels.
- 17:02That's the power. Of it, it connects an
- 17:04operational constraint delta P2 directly to a physical design
- 17:08dimension down dimensional analysis and optimization
- 17:12theory. Wow.
- 17:14OK, what a journey we've taken. Then we started way back with
- 17:17the abstract math of vector fields, gradients, divergent
- 17:21curl, the basic. Language use that.
- 17:24Language to write down the fundamental laws of conservation
- 17:26of mass and momentum, leading to things like the continuity and
- 17:29Navier Stokes equations, the core physics.
- 17:31And differential form and then we.
- 17:33Saw how these underlying principles manifest in really
- 17:36practical engineering problems. Calculating peak temperatures
- 17:40with internal generation. The nightmare of thermal contact
- 17:42resistance, finding heat transfer coefficients and even
- 17:45optimizing the physical shape of channels using the Bijan number.
- 17:49It really shows. The connection, doesn't it?
- 17:51From the most abstract math to the most concrete design
- 17:54decisions, it absolutely. Does and I highlight something
- 17:57crucial you touched on when those full differential
- 18:00equations like Navier Stokes are just too beastly to solve
- 18:04analytically, which they often. Are engineers.
- 18:06Have another powerful tool, Dimensional Analysis.
- 18:09Exactly. The sources mentioned the
- 18:12Buckingham Π theorem. It's a systematic way to take
- 18:15all the variables in a complex problem and group them into a
- 18:18smaller set of dimensionless numbers like the Nusselt.
- 18:21Number we saw or Reynolds number, Pranth, Nell number
- 18:23precisely. These dimensionless groups
- 18:25capture the essential physics and ratios governing the system.
- 18:29By focusing on these groups, we can design smarter experiments,
- 18:32develop empirical correlations like that one new 4.3644 or the
- 18:36Bajan number correlation, and get reliable engineering answers
- 18:40even when a full analytical solution is out of reach.
- 18:43It's a cornerstone of practical fluid mechanics and heat
- 18:45transfer, a pathway to. Solutions when the pure math
- 18:48hits a wall. A fantastic take away indeed.
- 18:51Until the next. Equation designed junkies.
- 18:53We are mechanical engineering made simple.