fluid dynamic simulation latte art

Anything Else!

Moderators: GreenBean, Gouezeri, bruceb, CakeBoy

fluid dynamic simulation latte art

Postby EspressoSquirrel » Sun Sep 06, 2009 7:33 pm

in an effort to use 3d graphics for good instead of the usual 'evil' purposes I do from day to day. I thought I would spend some time on a truly useless project i have been wanting to try out for a while. Trying to simulate latte art within the 3d software Maya.

I used to be able to pour an ok rosetta but recently as i have been drinking more espresso straight, i have fallen into a habit of pouring onions...
So this was also a way of working out exactly what i need to do to pour a rosetta again.
It actually did help, because once i had set it all up, the sim was doing onions and hearts and it took a while for me to get it, but the result is this

http://www.platformzero.com/coffee/dynamicCoffee1.mov

its not pretty, but the basics are roughly there, I can easily make it more realistic, but this is the most descriptive ideal simulation i did
I am going to play around and see if i can get a full set of patterns, as i've always found it very difficult to work out how you go about doing more complex patterns.

This is a 2D fluid simulation, so it can't fully simulate milk below the surface.

yes yes i know... it would be a lot quicker to make a coffee...
silvia and rocky
User avatar
EspressoSquirrel
 
Posts: 284
Joined: Mon Sep 25, 2006 7:12 pm

RE: fluid dynamic simulation latte art

Postby Hugo » Sun Sep 06, 2009 7:44 pm

Jeeeez... that's awesome. I see the imminent arrival of a latte art pouring robot!
http://www.relishfoodanddrink.co.uk
Relish Food & Drink
Foundry Court
Wadebridge
Cornwall
User avatar
Hugo
 
Posts: 229
Joined: Wed Nov 14, 2007 9:42 am
Location: Wadebridge, Cornwall

RE: fluid dynamic simulation latte art

Postby bruceb » Sun Sep 06, 2009 7:46 pm

I just get a Quicktime error "?"

Edit: It worked the second time I loaded it. Probably just my rubbish satellite connection.

Anyway, it's beautiful. I wish I could do that...I mean pour the rosette, not the simulation. Thanks. I'll be looking forward to more of this!
Last edited by bruceb on Sun Sep 06, 2009 8:40 pm, edited 1 time in total.
Three Francesconi (CMA) espresso machines - Rossi, San Marco, LaCimbali, Faema and 2 Mazzer Major grinders- CoffeeTech Maggionlino, Hottop, Alpenröst and HW Precision roasters.
I decided I needed a bit of a change so I roasted some Monsooned Malabar. That was a change!
Image
User avatar
bruceb
 
Posts: 5361
Joined: Sun Apr 04, 2004 12:49 pm
Location: Northern Hesse, Germany

RE: fluid dynamic simulation latte art

Postby charmon » Sun Sep 06, 2009 8:10 pm

Your milks too hot
charmon
 
Posts: 167
Joined: Wed Apr 02, 2008 7:15 pm
Location: Dublin

RE: fluid dynamic simulation latte art

Postby CakeBoy » Sun Sep 06, 2009 10:50 pm

That is excellent ES :D
www.CakeBoy.co.uk
International muffin blagger

Iberital L'Anna 1 Gp Hand-Fill | Wega Orion 2 Gp | Bezzera 1 Gp | Rancilio Audrey PID | Spidem Trevi
Iberital MC2 Timed | Macap M4 DS & MXA DS | Mazzer SJ | Starbucks Barista Grinder (Dualit E60/Solis 166)
Pinhalense 2x500g Gas Batch/Sample Roaster | Gene Cafe | IMEX CR-100
Aerobie | eSantos | Zassenhaus | Bodum P/Over | Chemex | Hario Woodneck | Timer Filter
User avatar
CakeBoy
 
Posts: 10006
Joined: Tue Oct 18, 2005 10:43 pm
Location: Oxfordshire, England

RE: fluid dynamic simulation latte art

Postby Jaanus » Mon Sep 07, 2009 6:58 am

Mesmerizing, watching it over and over again... Good work!!
La Cimbali Junior D/1
Mazzer Super Jolly
other stuff
------------------------------------
Caffeine. My drug of choice...
User avatar
Jaanus
 
Posts: 458
Joined: Thu Nov 30, 2006 10:18 pm
Location: Estonia

Postby GreenBean » Mon Sep 07, 2009 7:52 am

Very, very impressive. 8) 8)
Image

Izzo Alex Duetto | Gaggia XD 2 Group | Mazzer Super Jolly | La Cimbali Max | Solis 166 | Dalian 1 kg roaster | Hottop P | Hottop B | French Press (several) | Kettle modded, no really, added digital thermometer |
User avatar
GreenBean
 
Posts: 2215
Joined: Wed Jan 03, 2007 2:15 pm
Location: Chester

Re: fluid dynamic simulation latte art

Postby GMRK » Mon Sep 07, 2009 7:57 am

EspressoSquirrel wrote:in an effort to use 3d graphics for good instead of the usual 'evil' purposes I do from day to day.


What is it that you do from day to day with Maya that is so evil or can you not reveal that???

I'm a Maya user, mainly for videogames, but not evil ones:)
GMRK
 
Posts: 183
Joined: Sat Mar 25, 2006 5:07 pm

Re: fluid dynamic simulation latte art

Postby bruceb » Mon Sep 07, 2009 9:36 am

GMRK wrote:
EspressoSquirrel wrote:What is it that you do from day to day with Maya that is so evil or can you not reveal that???


See the Squirrel's post toward the end of this thread. :twisted:
Three Francesconi (CMA) espresso machines - Rossi, San Marco, LaCimbali, Faema and 2 Mazzer Major grinders- CoffeeTech Maggionlino, Hottop, Alpenröst and HW Precision roasters.
I decided I needed a bit of a change so I roasted some Monsooned Malabar. That was a change!
Image
User avatar
bruceb
 
Posts: 5361
Joined: Sun Apr 04, 2004 12:49 pm
Location: Northern Hesse, Germany

Re: fluid dynamic simulation latte art

Postby Gadders » Mon Sep 07, 2009 10:09 am

EspressoSquirrel wrote:in an effort to use 3d graphics for good instead of the usual 'evil' purposes I do from day to day. I thought I would spend some time on a truly useless project i have been wanting to try out for a while. Trying to simulate latte art within the 3d software Maya.

I used to be able to pour an ok rosetta but recently as i have been drinking more espresso straight, i have fallen into a habit of pouring onions...
So this was also a way of working out exactly what i need to do to pour a rosetta again.
It actually did help, because once i had set it all up, the sim was doing onions and hearts and it took a while for me to get it, but the result is this

http://www.platformzero.com/coffee/dynamicCoffee1.mov

its not pretty, but the basics are roughly there, I can easily make it more realistic, but this is the most descriptive ideal simulation i did
I am going to play around and see if i can get a full set of patterns, as i've always found it very difficult to work out how you go about doing more complex patterns.

This is a 2D fluid simulation, so it can't fully simulate milk below the surface.

yes yes i know... it would be a lot quicker to make a coffee...


This is quality, could you explain a bit more about how it works?

Phil :)
User avatar
Gadders
 
Posts: 1220
Joined: Sat Jun 10, 2006 11:09 am
Location: Nottingham

Re: fluid dynamic simulation latte art

Postby EspressoSquirrel » Tue Sep 08, 2009 8:10 pm

Gadders wrote:This is quality, could you explain a bit more about how it works?

Phil :)


its a simulation using Maya's 2D fluid solver, the 3D fluid solver is ironically not really up to the job of doing fluids funnily enough only gas. Fluid dynamics isn't my field of expertise, this is fairly simple to do with maya, you just specify a density, viscosity, friction etc. and in this case brown colour. Then you can add emitters to add milk which emits density and colour along with a velocity field. (If that sounds very complex to people not familiar with 3D software, its not, its just lots of buttons that are hidden away in the vast array of features they try and cram in. After that you just animate the position of the milk emitter. The most complex thing i did in this whole thing was write an expression to get a nice sine curve for the oscillating motion.

Its quite easy to do lots of variations of frequency and amplitude, i only posted the nicest one, i hope to do a few more, including tulips and double rosettas etc. but it tends to make my laptop heat up like crazy and my flat is boiling hot already tonight...

i did get a fluids expert at work once to try out a much more advanced fluid sim in 3D, it looked like it would work very well, the milk was sucking in the coffee and then returning to the surface which doesn't happen in my sim, but he didn't really get what you needed to do to get a pattern going and eventually said he had to stop and do some 'real' work.
:roll:

EDIT: ah Gadders i remember now, don't you do some fluid dynamics for engineering, its probably not as realistic as you are used to, its a grid based navier stokes solver (might mean more to you than me)
silvia and rocky
User avatar
EspressoSquirrel
 
Posts: 284
Joined: Mon Sep 25, 2006 7:12 pm

RE: Re: fluid dynamic simulation latte art

Postby Gadders » Thu Sep 10, 2009 1:54 pm

Ahh treat, yea did some fairly basic(ish) fluid dynamics last year, think i should have paid a little more attention in lectures however! 8)
User avatar
Gadders
 
Posts: 1220
Joined: Sat Jun 10, 2006 11:09 am
Location: Nottingham

Postby dr.chris » Fri Sep 18, 2009 10:12 am

I am whats laughably called a CFD expert but for whatever reason cant seem to see the video...
User avatar
dr.chris
 
Posts: 441
Joined: Thu Sep 17, 2009 12:56 pm
Location: Manchester

Postby CakeBoy » Fri Sep 18, 2009 9:19 pm

Have you got Quicktime?
www.CakeBoy.co.uk
International muffin blagger

Iberital L'Anna 1 Gp Hand-Fill | Wega Orion 2 Gp | Bezzera 1 Gp | Rancilio Audrey PID | Spidem Trevi
Iberital MC2 Timed | Macap M4 DS & MXA DS | Mazzer SJ | Starbucks Barista Grinder (Dualit E60/Solis 166)
Pinhalense 2x500g Gas Batch/Sample Roaster | Gene Cafe | IMEX CR-100
Aerobie | eSantos | Zassenhaus | Bodum P/Over | Chemex | Hario Woodneck | Timer Filter
User avatar
CakeBoy
 
Posts: 10006
Joined: Tue Oct 18, 2005 10:43 pm
Location: Oxfordshire, England

Postby dr.chris » Sat Sep 19, 2009 3:22 am

Yes but it returns an error saying something about quicktime cant do it - 'quicktime is missing software and its not on the server'

All I get is the control bar at the bottom of the animation
Iberital L'anna / Mazzer Mestre/ Iberital tamper
User avatar
dr.chris
 
Posts: 441
Joined: Thu Sep 17, 2009 12:56 pm
Location: Manchester

Next

Return to Off Topic

Who is online

Users browsing this forum: Bing [Bot] and 21 guests

cron