top | item 42683389

Fluid Simulation Pendant

501 points| sschueller | 1 year ago |mitxela.com | reply

69 comments

order
[+] adriand|1 year ago|reply
Fascinating video. I watched almost the whole thing without planning to, I got sucked in.

This is one of those examples of software that reminds me of my struggle to understand how LLMs are passing code evaluations that culminate with people declaring that they are now better than even the best human coders. I have tried to get LLMs (specifically, Claude and ChatGPT, trying various models) to assist with niche problems and it's been a terrible experience. Fantastic with CRUD or common algorithms, terrible when it's something novel or unusual.

The author creates his own version of a "FLIP simulation". I'm going to go out on a limb and posit that even ChatGPT's unreleased o3 model would not be up to the task of writing the software that powers this pendant. Is this incorrect? I realize perhaps that my comment is a little off-topic given that this is not an AI project. However, this project seems like an excellent example of the sort of thing that I am quite skeptical the supposedly "world-class" artificial software engineers could pull off.

[+] Kiro|1 year ago|reply
I've implemented fluid mechanics using Claude (through Cursor) and it had no problem writing the logic and integrating it using my custom physics engine and custom renderer.

So no, I don't think your assessment is correct. LLMs shine when they get to implement something from scratch on a blank slate with clear API boundaries, whether it's a CRUD app or a physics simulation. Where I think they struggle the most is in big legacy codebases on tasks spanning multiple modules with lots of red herrings.

[+] btrettel|1 year ago|reply
I'm a computational fluid dynamics (CFD) engineer. Like others have said, I'm pretty confident basic CFD algorithms are in the training data of many LLMs. I would say a bigger problem is the accuracy of the generated simulator. A LLM would not be able to generate good tests. You need both tests for the math ("verification") and tests for the physics ("validation"), and LLMs can't do either at the moment.

Gold-standard verification tests are constructed using the "method of manufactured solutions" (MMS), which can be largely automated with computer algebra software, but are still quite tedious. I know from experience. I don't believe LLMs can handle the algebraic manipulation here particularly well.

Worse, LLMs won't be able to produce actual experimental data to do the validation test with. You'll need to track down one or more experiments from the literature or do your own experiment. LLMs might in the future be able to point you to appropriate experiments in the literature, but they don't seem able to do that at present. I think LLMs might provide useful advice when a simulation ends up not matching the experimental data. LLMs seem to know a thing or two about turbulence modeling, though I would question their knowledge of the most recent advances.

(If you're only interested in fluid simulation for games or computer graphics then physical accuracy is not a priority. But you probably should still use MMS to make sure you've implemented the math correctly. MMS is an interesting technique that has no parallel in software testing in general. Abstractly, the idea is to make a minimal modification to the software so that you have an oracle, and the nature of the modification is such that the modified software passing the test implies that the unmodified software would also pass the test. This idea probably can be applied in other areas.)

[+] hackernewds|1 year ago|reply
You could go and try it out. You'd be surprised how capable the LLMs, specifically Claude are now at creative projects such as this
[+] derbaum|1 year ago|reply
The "issue" with saying an LLM can't do this is that CFD simulations are not actually that niche. Many university courses ask their students to write these types of algorithms for their course project. All this knowledge is present freely on the internet (as is evident by the Youtube videos that the author mentioned), and as such can be learned by an LLM. The article is of course still very impressive.
[+] UltraSane|1 year ago|reply
Claude is pretty good at writing Python programs.
[+] mncharity|1 year ago|reply
> access to a lathe is a fundamental human right

A teacher once told me their (middle? high?) school was the last in their state with lathes. Something which couldn't be created there today, and couldn't exist now in some other states, but which had been repeatedly grandfathered, since its creation with many others, just after World War 2. And that it would disappear upon the first serious accident, leaving none at all.

[+] Waterluvian|1 year ago|reply
I mentor at a public high school that has a dozen metal lathes, a half dozen wood lathes. Plasma cutters. CNC everything. A giant planer. My favourite thing is that half of it is super modern and half of it is indestructible WWII surplus, which looks really cool mixed together.

I cannot imagine the concept of lathes being taken out of schools because of accidents. What a self destructive cultural attitude.

[+] bsder|1 year ago|reply
Access to a CNC mill and a CNC lathe should be a fundamental right.

Being CNC with an enclosure mitigates 99+% of all the safety issues and makes them 1000% more useful. With CNC, the most harmful injury is likely to be a broken bone because you're only in the envelope with servos active but not the spindle. With manual, the spindle or chuck can grab you and kill you or send shrapnel into you.

And I really wish we had a good, open source pick and place. Those still can't handle 0201 components and higher density BGAs even though those PCBs are really cheap nowadays.

[+] coldpie|1 year ago|reply
I picked some random public high school in my area (twin cities, MN). Here's some classes they offer:

> Machine Technology 1 - Increase your knowledge and skills in the use of common hand tools, engine lathes, shapers, drill presses, milling machines, and grinders. In this class students will have hands-on experiences in elementary mechanical fundamentals and principles used in precision manufacturing industries.

> Welding 1 - Interested in becoming a welder? Learn how to use the art of welding in artistic and industrial settings. Develop basic skills related to safety, equipment set up, metal transfer, gas shielding and welding various types of metals. This class focuses on oxyacetylene and gas tungsten arc welding.

> Construction Trades 1 - Interested in a career in construction or learning valuable home maintenance skills? In this course you will develop basic carpentry, metals, electricity, and pipefitting skills along with safe usage of hand and power tools applicable to each skill set.

I think there was a period (90s-2000s?) where trade skills were mostly not taught in public schools, but they're thankfully working their way back in.

[+] petters|1 year ago|reply
I used a lathe by myself at school when I was 12 or younger. But we live in different times I suppose
[+] doubleg72|1 year ago|reply
Id take it with a grain of salt.. I used to work with Dream It Do It in western New York. There were many schools with machine and carpentry shops.
[+] polishdude20|1 year ago|reply
This is super cool! I love the simulation aspect of it.

On the same note, I've been working on a bike POV display with lots of LEDs and just got "live-ish" video working over wifi with it:

https://youtu.be/hxAHBvuyqpY?si=8XraFuG_Fi54Bs7T

[+] nox101|1 year ago|reply
Awesome! I hope you'll post some write up or something on how you did it!
[+] ayoubd|1 year ago|reply
I really love mitxela's project ideas and process videos, I recommend checking out his other projects as well
[+] NKosmatos|1 year ago|reply
Yeap, Tim is some serious maker/tinkerer/creator. Besides the very good hardware things he makes, there are also some other software stuff: https://mitxela.com/other/
[+] fasten|1 year ago|reply
This project is an incredible mix of artistry and engineering. the attention to detail in both the fluid simulation and the hardware design is mindblowing(especially the clever use of charlieplexing to optimize LED placement congrats!!
[+] neumann|1 year ago|reply
this is so incredibly impressive. I find projects and the people who do this so inspiring and also deflating because while I can appreciate the work ethic and polymath skills needed for this I couldn't recreate this. I'll just have to hang back and appreciate.

Any other similar creators with this level of polish (pun intended) and interests to follow?

[+] zonkerdonker|1 year ago|reply
If you're into the custom PCB design, I highly recommend Carl Bugeja: https://youtube.com/@carlbugeja He has lots of super interesting projects using micromagnetics, motors, flappers, and the like.

If you liked the part where he machined the housing, check out Clickspring. I think it's fair to say he is the greatest machinist currently active on YouTube, both in videography and storytelling, and in actual skill. https://youtube.com/@clickspring

[+] Hubix|1 year ago|reply
I of course don't know your specific circumstances, but nonetheless I'd like to recommend you the author's own take on their work described in a rant titled "Spare Time and Hard Work".

It's available here: https://mitxela.com/rants (unfortunately It's not possible to link directly to it so you'll need to scroll a little bit down to find it)

I personally like coming back to it from time to time, since it's inspiring in it's own way for me.

[+] JKCalhoun|1 year ago|reply
Don't be deflated, get started.
[+] JKCalhoun|1 year ago|reply
Weirdly I am drawn to his previous idea of using an actual liquid (mercury) to trigger the LEDs. So much simpler to lay out in KiCad, no 4-layers required....
[+] leephillips|1 year ago|reply
So, so beautiful. I was shocked at the price. I was expecting something about 10x what he's charging.
[+] pimlottc|1 year ago|reply
Seems like it’s sold out now except for a special one at £1,000. Did anyone catch what the original price was?
[+] tantalor|1 year ago|reply
I would not use "prototype" to describe this as he did.
[+] titanomachy|1 year ago|reply
One sense of the word is “a first full-scale and usually functional form of a new type or design of a construction” (Webster)
[+] Swoerd|1 year ago|reply
I would love to see a version with wireless charging, though that might be tough with the all metal enclosure, perhaps it could be done through the front/screen section.

Also, adopting the screen off function Apple watches use could be a cool addition, for that it would need a light sensor. On an Apple Watch, you can switch the screen off by simply covering the screen with your hand.

[+] ImHereToVote|1 year ago|reply
I think a plastic housing might look really nice TBH.
[+] solardev|1 year ago|reply
This is the only piece of jewelry I've ever seen that I immediately crave. Wish it were still on sale!
[+] londons_explore|1 year ago|reply
Those LED's could have been packed much closer together if one was willing to have adjacent LED's share a single pad.

Since the LED's are all the same component and therefore heat at the same speed in the oven, I don't think that would cause tombstoning.

[+] elcritch|1 year ago|reply
Fascinating that with such a simple simulation you can see grain boundaries like those in metals forming. Look at the second image, those are almost identical to what they looked like in our material science courses.
[+] LolWolf|1 year ago|reply
wait, this is amazing !

I am tempted to make a slightly sillier version of this w/ a circular lcd rather than the uhh retro-cool smt leds honestly just to avoid the multiplexing design

great work!! super cool

[+] ge96|1 year ago|reply
dang, great video and nice write up

I can see a good video as far as show/don't tell my stuff is dry/way too much info. Guess it depends verbatim tutorial vs. just showcasing.

[+] albus0x|1 year ago|reply
Such a cool project. The only thing - I wish LEDs were blue
[+] fitsumbelay|1 year ago|reply
the whole mitxela store is t-i-g-h-t the metal shop close-ups are zomg :salivating-face: ...
[+] ionwake|1 year ago|reply
Is this for sale? Its so cool
[+] illwrks|1 year ago|reply
£1k, on his website he has a link.