For those of us programming nerds that want to play with aerodynamics, I can't recommend AeroSandbox enough. While the code is pretty obviously written for people who know their way around aerodynamics and not so much around programming, it is remarkably powerful. You can do all sorts of aerodynamic simulations and is coupled with optimization libraries that allow you to do incredible aerodynamic optimizations. It comes included with some pretty powerful open weight neural network models that can do very accurate estimates of aerodynamic characteristics of airfoils in a fraction of the time that top tier heuristic solvers (like xfoil) can do (which are already several orders of magnitude faster than CFD solvers).
Ok that's long, one top line thing people tend to miss in these flying explanations is that airfoil shape isn't about some special sauce generating lift. A flat plate generates any amount of lift you want just fine. Airfoil design is about the ratio of lift to drag most importantly and then several more complex effects but NOT just generating lift. (stall speed, performance near and above the speed of sound, laminar/turbulent flow in different situations, what you can fit inside the wing, etc)
You can't escape momentum exchange. To generate an upward force, the airplane must exert a downward force on the air molecules.
An airfoil does this more efficiently than a flat plate, essentially using the top shape to create a low pressure area that sucks the air over the top downwards, imparting the downwards momentum, along with deflecting the air downward on the bottom surface. A flat plate pitched upwards "stalls" the air on the top surface, because the air has to travel forward some to fill the gap by the plate moving forward - so this creates a lot of drag as the plate is imparting more forward momentum on the air.
The issue is that to analyze lift using momentum, you have to do statisitcal math on a grid of space around the airfoil, which is super complex. So instead, we use concept of pressure with static and dynamic pressure differences creating lift, because it makes sense to most people learning this, which then all gets rolled up into a plot of lift coefficient vs angle of attack.
And as you dive deeper, you learn more analysis tools. For example, there is also another way to analyze performance of an airfoil more accurately, which is called vorticity. If you subtract the average velocity of the airflow around an airfoil, the vector field becomes a circle. In vector math, the total curl of the vector field is directly correlated to the effective lift an airfoil can produce. This method accounts for any shape of the airfoil.
Exactly. Airfoil is an optimization. There is a common misconception that planes wouldn't get off the ground if you didn't have airfoil. No, most of the lift (depends on the plane but in the ballpark of 80-90%) comes from the overall shape of the wings. ~20% is from leading edge airfoil deflection dynamics.
And if, say, airfoil was never discovered, we'd probably design the whole wing slightly differently to compensate for it, so the actual difference wouldn't even be 20%.
Airfoil is about as important as winglets, and planes fly without winglets just fine. But nobody points to winglets and says that's the crucial bit that makes the whole thing work.
It is probably obvious, so obvious that no one starts with it? but it took me an absurdly long time to put together that an airplane lifts by moving air down.
Admittedly there is an amazing amount of fluid-dynamic subtly on top of this simple Newtonian problem. But I am surprised that almost no one starts with "An airplane produces lift by moving air down, for steady flight it needs to move exactly as much air mass down as the plane weighs. here are the engineering structures that are used to do this and some mathematical models used to calculate it"
Exactly. Any kid who has stuck a flat hand out of the window of a car at speed knows how airplane wings work. You tilt your hand back and the wind pushes it up. Tilt it forward and the wind pushes it down. Everything else is an optimization.
Umm no, at zero degrees AoA as the first diagram on the page shows, a flat plate does not generate lift.
But nobody actually questions that a flat shape can generate lift; we all made paper planes as a kid.
He usually posts these brilliant explanations once or twice a year but nothing in 2025. I hope he finds the time to continue because the lessons are really really brilliantly told.
These are amazing illustrations, but I don't understand the emphasis on pressure differentials. That is not how wings generate lift. Due to attachment they deflect the flow, and the momentum change generates an upward force [1]. The practical point of understanding the flow over the wing is to keep that flow attached so that you can deflect it or reattach it if you get out of sorts.
The explanation you described is the greatly simplified "high school friendly" explanation. It's not wrong, per se, but it's incomplete.
Even your link explains: "The net fluid force is generated by the pressure acting over the entire surface of a closed body. The pressure varies around a body in a moving fluid because it is related to the fluid momentum (mass times velocity). The velocity varies around the body because of the flow deflection described above."
I.e. pressure differential is experienced as lift and is caused by the flow turning.
Explaining the actual cause of the flow turning and resulting lift (and why attachment is maintained along top surface) requires looking at fluid dynamics/navier-stokes including pressure differentials, viscosity etc. The pressure differentials allow a more comprehensive way of breaking down the forces at play.
You are correct in that the deflected airflow exerts an upward force on the wing (or at least a force with an upward component; there's also a backward component (called induced drag if my memory serves me well)).
The way the airflow exerts that force is through pressure differentials: air under the wing having higher pressure than the air above it.
Momentum change can describe physical interactions, and it's often easier to calculate things that way, but actual physical forces still exist, and can also be used to describe the same physical interactions.
This is so cool. I've become more interested in aerodynamics since I've started watching F1 and reading Adrian Newey's book. This is such a great post, especially the diagrams in the velocity section.
It’s kind of sad IMO. Bartosz has made a ton of these super interesting and meticulously designed explainers. Something thrown together with AI is much more likely to be made by someone who doesn’t know what they’re talking about, and I’m worried that the sheer volume will crowd out actually quality content like this.
Don't think so, and we should stop spread damaging narrative like this. I'd say it's already able to imitate this kind of explainers(badly) thanks to his training data. All the subtle teaching nuances, effort, know-how and visual creativity that people like Bartosz Ciechanowski put on this kind of work is not reproducible if not statistically imitating it
Good rule of thumb: it should take less time to consume content than it does to create it.
I don’t know how long it takes Ciechanowski to create these explainers, probably a few months? It shows and it’s well worth spending your time reading through his content meticulously.
How long does it take for an LLM to crap out an equivalent explainer? 60 seconds? You should be spending less time than that reading it.
In order to be taken serious I feel like statements like this need to be qualified with who the claimant is imagining to be responsible for generating the anticipated output. The ‘A’ in AI isn’t for ‘autonomous’.
Bartosz Ciechanowski could generate an explainer like this using Claude today if he wanted to. But would he? If someone like him had the mind to do it then they could instead. But where’s it at? These types may hold themselves to a standard above this method. No shame in that.
I think it's actually already there. It's definitely possible to make these sorts of explainers with something like a Claude Code, you just have to spend a fair amount of time making sure that it's actually doing what you expect it to do. I think the biggest danger with something like a Claude Code is that you get something that looks functionally correct but that the details are suddenly wrong on. I wrote a little bit about this on my blog for some of the places that I've done visualizations actually, and I think it's remarkably easy to iterate on them now.
It's been said before, but this prediction isn't amazing, imo.
I look forward to Bartosz's articles because they're rock-solid sources of information and the visualizations are both easy-to-understand and surprisingly light on performance. It's all shockingly digestible.
Honestly, as popular science writing goes, this is art as far as I'm concerned, and art is best when it comes from a place of passion and conviction, something AI will never be able to reproduce.
darksaints|1 month ago
For those of us programming nerds that want to play with aerodynamics, I can't recommend AeroSandbox enough. While the code is pretty obviously written for people who know their way around aerodynamics and not so much around programming, it is remarkably powerful. You can do all sorts of aerodynamic simulations and is coupled with optimization libraries that allow you to do incredible aerodynamic optimizations. It comes included with some pretty powerful open weight neural network models that can do very accurate estimates of aerodynamic characteristics of airfoils in a fraction of the time that top tier heuristic solvers (like xfoil) can do (which are already several orders of magnitude faster than CFD solvers).
https://github.com/peterdsharpe/AeroSandbox
peterdsharpe|1 month ago
colechristensen|1 month ago
ActorNightly|1 month ago
You can't escape momentum exchange. To generate an upward force, the airplane must exert a downward force on the air molecules.
An airfoil does this more efficiently than a flat plate, essentially using the top shape to create a low pressure area that sucks the air over the top downwards, imparting the downwards momentum, along with deflecting the air downward on the bottom surface. A flat plate pitched upwards "stalls" the air on the top surface, because the air has to travel forward some to fill the gap by the plate moving forward - so this creates a lot of drag as the plate is imparting more forward momentum on the air.
The issue is that to analyze lift using momentum, you have to do statisitcal math on a grid of space around the airfoil, which is super complex. So instead, we use concept of pressure with static and dynamic pressure differences creating lift, because it makes sense to most people learning this, which then all gets rolled up into a plot of lift coefficient vs angle of attack.
And as you dive deeper, you learn more analysis tools. For example, there is also another way to analyze performance of an airfoil more accurately, which is called vorticity. If you subtract the average velocity of the airflow around an airfoil, the vector field becomes a circle. In vector math, the total curl of the vector field is directly correlated to the effective lift an airfoil can produce. This method accounts for any shape of the airfoil.
But under the hood its all momentum.
roncesvalles|1 month ago
And if, say, airfoil was never discovered, we'd probably design the whole wing slightly differently to compensate for it, so the actual difference wouldn't even be 20%.
Airfoil is about as important as winglets, and planes fly without winglets just fine. But nobody points to winglets and says that's the crucial bit that makes the whole thing work.
somat|1 month ago
Admittedly there is an amazing amount of fluid-dynamic subtly on top of this simple Newtonian problem. But I am surprised that almost no one starts with "An airplane produces lift by moving air down, for steady flight it needs to move exactly as much air mass down as the plane weighs. here are the engineering structures that are used to do this and some mathematical models used to calculate it"
tines|1 month ago
ge96|1 month ago
gf000|1 month ago
Stevvo|1 month ago
carabiner|1 month ago
seemaze|1 month ago
They should receive an unlimited grant to produce educational content for the digital generation’s benefit.
Cthulhu_|1 month ago
Lwrless|1 month ago
dang|1 month ago
Airfoil - https://news.ycombinator.com/item?id=39526057 - Feb 2024 (296 comments)
nvitas|1 month ago
queuebert|1 month ago
1. https://www.grc.nasa.gov/WWW/k-12/VirtualAero/BottleRocket/a...
stevenbhemmy|1 month ago
Even your link explains: "The net fluid force is generated by the pressure acting over the entire surface of a closed body. The pressure varies around a body in a moving fluid because it is related to the fluid momentum (mass times velocity). The velocity varies around the body because of the flow deflection described above."
I.e. pressure differential is experienced as lift and is caused by the flow turning.
Explaining the actual cause of the flow turning and resulting lift (and why attachment is maintained along top surface) requires looking at fluid dynamics/navier-stokes including pressure differentials, viscosity etc. The pressure differentials allow a more comprehensive way of breaking down the forces at play.
I like this video for a more comprehensive understanding without getting too in the weeds with the math: https://www.youtube.com/watch?v=aa2kBZAoXg0
roelschroeven|1 month ago
The way the airflow exerts that force is through pressure differentials: air under the wing having higher pressure than the air above it.
Momentum change can describe physical interactions, and it's often easier to calculate things that way, but actual physical forces still exist, and can also be used to describe the same physical interactions.
huqedato|1 month ago
underdeserver|1 month ago
MarleTangible|1 month ago
Wistar|1 month ago
robshippr|1 month ago
alanbernstein|1 month ago
greenavocado|1 month ago
ubj|1 month ago
https://ciechanow.ski/archives/
For machine learning, Distill.pub has some excellent hands-on tutorials. For example, here's one on momentum:
https://distill.pub/2017/momentum/
matsemann|1 month ago
lloeki|1 month ago
And going kinda meta, learning about the principles:
https://worrydream.com/LadderOfAbstraction/
https://vimeo.com/906418692
burkaman|1 month ago
random_duck|1 month ago
nntwozz|1 month ago
ivanjermakov|1 month ago
unknown|1 month ago
[deleted]
maximgeorge|1 month ago
[deleted]
scotthenshaw3|1 month ago
[deleted]
unknown|1 month ago
[deleted]
mellisacodes|1 month ago
moralestapia|1 month ago
Amazing times!
bayesnet|1 month ago
hollowturtle|1 month ago
jkubicek|1 month ago
I don’t know how long it takes Ciechanowski to create these explainers, probably a few months? It shows and it’s well worth spending your time reading through his content meticulously.
How long does it take for an LLM to crap out an equivalent explainer? 60 seconds? You should be spending less time than that reading it.
tolerance|1 month ago
Bartosz Ciechanowski could generate an explainer like this using Claude today if he wanted to. But would he? If someone like him had the mind to do it then they could instead. But where’s it at? These types may hold themselves to a standard above this method. No shame in that.
carlos-menezes|1 month ago
estsauver|1 month ago
https://estsauver.com/blog/scaling-visualizations
_verandaguy|1 month ago
I look forward to Bartosz's articles because they're rock-solid sources of information and the visualizations are both easy-to-understand and surprisingly light on performance. It's all shockingly digestible.
Honestly, as popular science writing goes, this is art as far as I'm concerned, and art is best when it comes from a place of passion and conviction, something AI will never be able to reproduce.