Learning to simulate realistic fluids in any 3d app is always a challenge, but Blender's sophisticated solver allows for some very rewarding results.
In this introduction to Blender fluid simulations, you will learn the basics of how to set up a fluid simulation in Blender with an obstacle, and a few fluid set ups to give you an idea of some of the other things that you can do with Blender fluids.















User Comments
( ADD YOURS )Hiruy August 7th
Green liquid! That will come in handy ;>
( )Bryan August 7th
Nice tutorial
Now if only 3ds max had an internal fluid simulator…
( )Pawel August 11th
Time to switch to Blender, then.
( )SP Studios 3D August 12th
Amen Brother!
Just me! August 7th
Great tutorial!
Except for the part when you use the ACTION EDITOR to scrub! The TIMELINE exists for some reason, don’t you think!
Anyway, keep going!
( )Andrew Price August 7th
Could have put a little more effort into the final preview don’t ya think?
At least change the default blue background, pull the camera out slightly and make the liquid anything BUT green slime?
I’m sure it’s a good tutorial, but the final preview repulses viewers.
( )Greg Dunn August 7th
Good points — I know, the green slime is pretty hideous, right? I really did want to make the final preview look different, but I had to cut out several minutes to fit within the allotted timeframe, and I could’ve done something nice and fancy for the preview without letting people see how I did it, but it always frustrates me when I see one thing in the preview but it’s not what I end up creating. I’m hoping (if there’s demand) that I can do a more in depth follow up tutorial and we’ll definitely end up with a much nicer looking end result. There’s a lot more that you can do with blender fluids, I just didn’t have time to cover it. Yes, I could’ve taken 30 seconds to make those quick changes, but this tutorial was primarily about how to use the fluid simulation chunk of blender and not teach people how to create a specific look and feel/effect of the fluid. I’m also hoping that people will use this tutorial as a starting point and add their own textures/scenes and expand on the tutorial.
( )accessoire August 7th
I’m going to try this out this weekend. I’m glad this tutorial was posted, because I am looking at the physics stuff a lot lately. Is there a flickr group or something like that for cgtuts, where we can share our work with the community? Ok, I know flickr is a stupid idea for motion graphics
!
Willem August 7th
I think it’s good to see someone telling some stuff on the subject.
However, i also think your example looks like absolute shit, and doesn’t show what the solver is really capable of.
So kudos, and also no kudos. With a bit more homework this could be nicer.
( )Felix August 7th
good tut, man. Thanks.
( )IHazBlender August 7th
Just to add some tips for final rendering.
1.You may very well have to wait 10+ hours, I have known people to wait 60+ hours just to get a high quality fluid simulation. Don’t settle for under 3 hours.
2. Get your res as high as you can without crashing blender. 100-200 res looks like crap. People have fluid sims that are 1024 res. One-thousand-twenty-four, yeah, that’s intense. Here is the link /watch?v=JUyv0INBmAU. There are toooo many youtube videos of 100 res fluid sims, a lot of them have 1 star ratings.
3. Fluid simulations are not for the impatient. Quality is a necessity. No one likes weird blob things that is supposed to be water.
4. When adding transparency, and you are going for realism, under the IOR use water’s actual IOR. Objects in the real world, like glass, and water, have an IOR. Google the IOR of water and use it in your transparency settings. IOR is index of refraction.
5. If you really want to add that extra kick. You could try yafaray, and external raytracing rendering engine. It is very good for glass/water/glossy materials.
6. Some examples of good fluid simulations in blender on youtube.
( )/watch?v=k8eV9XMr7Gc
/watch?v=JUyv0INBmAU
/watch?v=-AiLyQWXjIg
Dark0Lord7 September 17th
How can people bake with 1024 res???
( )that’s impossible. do they use 64-bit operational systems?
Kris August 7th
This is awesome! Thank you very much for taking the time to create this tut. I for one loved the green slime. I immediatley thought of a video game environment that I’d expect to see something like this in.
Do you have any examples available of clean clear water though?
Thanks again!
( )Timo August 7th
could we have a download link for the tutorial?
( )Dj August 7th
I’ve watched a lot of these tuts since the inception of this site and must say that your style of teaching is probably one of the best “tuts” has. I watch most all of them (don’t fully understand many but enjoy the concepts) but this has been the most useful. Thanks.
Would definitely like to see more Blender related tuts! And don’t be afraid to get what you might call “basic” – all god’s chillin’ needs to start somewhere! Jeffery, I’m sure got a lot of smart but inexperienced people to take the first step with his jQuery for absolute beginners series.
( )Willem August 8th
Greg,
What would be interesting is to show how to get the water looking realistic.
( )The main problem i find with the Blender solver is that the drops/particles don’t relate to real-world physics, in the tests i did anyway.
So you get these really big drops and splashes and it looks like anything but real water.
However, i’m sure that with the right kind of tweaking the solver should be able to give acceptable results. But there’s a lot of parameters to learn here, and usually a very long time needed for calculations which don’t actually make it fun doing a lot of testing.
Evan Schaible August 9th
The algorithm that the Blender solver is based on is actually capable of true to life results, you just have to know what you are doing. Blenders solver in my opinion is better than RealFlow. I have used RealFlow for long time, and when I learned how to use Blender, I actually replaced it RF4 with it.
( )Willem August 10th
Evan,
You’re right. But as of yet I haven’t been able to get good results for anything bigger than a glass of water though, because at bigger volumes, the drops just are too big and i’m curious to see how to set the parameters for larger objects of fluid.
IHazBlender August 10th
Here is your giant glass of water.
this is a youtube link to a tsunami someone made in blender /watch?v=ocnLSuuljPo
There are even larger scale simulations if that one is too small for you.
( )Alejandro Sosa August 9th
nice tutorial man!
( )Catho August 11th
Vid stops @ 2:41
( )Catho August 11th
I mean the Tutorial Video
Sorry
( )Kaleb Aylsworth August 11th
I checked it out, but it plays past that point just fine for me. Anyone else having trouble with this vid quitting?
fxgogo August 11th
Great tut, got me going in a morning. Gotta make a T2 style promo, so this will come in handy thanks.
( )Garrick August 11th
Great tutorial!
I am new to blender, an am look to import the object sequence to Modo.
( )What file format can this be exported in?
mel August 11th
have you tried collada format?
( )Evan Schaible August 12th
collada
( )Ajith August 11th
Hey greg,
nice job making fluid simulations seem like a piece of cake
. There are some basics needed to be cleared first as the fluid simulation method in blender is not very obvious, and you pointed them out just fine. I had all my doubts cleared today on how to get started atleast. The way your final output looks doesnt really matter whether it is slimy green or bloody red as long as i can UNDERSTAND what you did to make fluid to simulate that way. I think its a perfect beginning tutorial for any one whos new to blender fluids. Nice clear HD video that too!!!
. Great job sir!!Would certainly love to see more …..
( )Pedro Bastos August 12th
That’s a very good introduction. Make more!
( )Arn Sweatman August 13th
GREAT tute, Greg. The audio and video quality were excellent as was the content. Please make another.
Who gives a fluck if the fluid is green?
( )renato September 25th
very understandable and very useful
perfect choice of presentation
are we gonna see somenthing about the OUTFLOW?
thanks renato
( )renric October 12th
Thanks a lot for this great tutorial. I learnt a lot about the basics of fluids sim in Blender.
One question: there is any way to export the fluids sim to Cinema 4D?
Thanks again,
E
( )