Jump to content


Viscous Teapots


  • Please log in to reply
20 replies to this topic

#1 goldleaf

goldleaf

    Initiate

  • Members
  • PipPip
  • 165 posts
  • Joined: 24-April 08
  • Name:Chris Rydalch

Posted 06 March 2012 - 10:53 PM

The results of my exploration of FLIP Fluids (many thanks to those who already lent a hand!), by doing a Viscosity test like Igor's Elephants (

View on Vimeo.

).

Here is a render, of the three shaders for the surfaced liquids. One thing that's been hard to nail down has been getting the surfacing to be smooth. The white teapot on the right shows it most; that bumpiness is in the geometry. Anyone have tips on surfacing between 500,000 and 2,000,000 points from a fluid?

Animation/flipbook coming soon....

Thanks!

Attached Thumbnails

  • first_render_3_viscosities.png

Edited by goldleaf, 06 March 2012 - 10:54 PM.


#2 dynamoanders

dynamoanders

    Initiate

  • Members
  • PipPip
  • 108 posts
  • Joined: 12-February 10
  • Location:Gotheburg, Sweden, Earth
  • Name:Anders Håkansson

Posted 07 March 2012 - 01:16 AM

Hey goldleaf.

It looks really nice.

Is it just flip with viscous settings? Can´t wait to play around with it.

//Anders

#3 CeeGee

CeeGee

    Illusionist

  • Members
  • PipPipPip
  • 309 posts
  • Joined: 15-July 07
  • Location:Belgrade - Srbija
  • Name:Igor Zanic

Posted 07 March 2012 - 02:29 AM

Hi goldleaf,

This look realy nice,

Can't wait to see render or playblast.

Igor

#4 goldleaf

goldleaf

    Initiate

  • Members
  • PipPip
  • 165 posts
  • Joined: 24-April 08
  • Name:Chris Rydalch

Posted 07 March 2012 - 10:23 AM

CeeGee: Thanks Igor! Better/larger ones are en route, once I get some sims finishes :) Thank you for the elephants! That was such a nice looking test, technically and artistically. BTW, did you render that with mantra? Was the meshing done in NAIAD, I assume?

dynamoanders: Thank you! Yeah, I used the Viscosity shelf tool to turn on viscosity. Then on the flipfluidobject, under the Physical tab, the Viscosity parameter is at the bottom.

Some observations so far:

- Turns out that the density strongly affects the viscosity settings. For example, these teapots are about 1 meter square, and their density is at the default of 1000. This meant that my viscosity settings for the three teapots you see here are 1000, 36642, and 72285. I'm resimming at a lower viscosity, 9500 (that's why there is only the really low "1990's" resolution render attached :) That was something I wasn't aware of before! So it was really cool to learn.
- I'm using a Phenom II X6 to sim/render these, and for FLIP Fluids, there seems to be lots of time that only some cores are being used, which is where the i5/i7 CPUs seem to be stronger; but mantra really uses all cores well; I never really saw the usage drop from 100%
- Using some of the tips found here, I re-rendered the large still. Interestingly, I noticed the SSS noise decreased dramatically, but the noise on the plain white shader increased (I did tweak the ground shader a bit; perhaps that caused it?)

Thanks for the encouragement!

Attached Thumbnails

  • second_render_3_viscosities.png

Attached Files


Edited by goldleaf, 07 March 2012 - 10:31 AM.


#5 johner

johner

    Initiate

  • Members
  • PipPip
  • 242 posts
  • Joined: 19-December 06
  • Location:Austin, TX
  • Name:John Lynch

Posted 07 March 2012 - 10:43 AM

View Postgoldleaf, on 07 March 2012 - 10:23 AM, said:

I'm using a Phenom II X6 to sim/render these, and for FLIP Fluids, there seems to be lots of time that only some cores are being used, which is where the i5/i7 CPUs seem to be stronger; but mantra really uses all cores well; I never really saw the usage drop from 100%

Nice!  BTW, did you see the Viscosity Tips here:
http://www.sidefx.co...quids#viscosity

In particular it looks like you might still have Treat As Ballistic for underrresolved particles.

You might also try turning off Use Preconditioner on the Solver tab, which basically trades having to take more solver iterations for multithreading.  Depending on your processor(s) it might speed up the FLIP solve.

#6 goldleaf

goldleaf

    Initiate

  • Members
  • PipPip
  • 165 posts
  • Joined: 24-April 08
  • Name:Chris Rydalch

Posted 07 March 2012 - 12:17 PM

Sweet! Thanks for those tips Johner! I totally missed that section of the doc page. I've got another set of wedges running now (with  more reasonable viscosity settings), and I've turned off Teat As Ballistic, and turned off Use Preconditioner. I also turned off reseeding, and it appears to be simming noticably faster (and the CPU graph seems to be spending much more time with busy cores, than idles). Thank you!

Here is a decent sized flipbook (nearly filled my ram! need more!). I resimmed with viscosity at 9500, and put that one in the middle, and moved the previous middle (36642) to the right.

I'm confused by the way the first set of teapot liquids all flatten before they hit the ground. Hrrmmm....... Is it air resistance? It's so flat though...

Attached Files



#7 CeeGee

CeeGee

    Illusionist

  • Members
  • PipPipPip
  • 309 posts
  • Joined: 15-July 07
  • Location:Belgrade - Srbija
  • Name:Igor Zanic

Posted 07 March 2012 - 03:33 PM

Hi goldleaf,

I did render with Maya and Vray, because i already did one render setup for my first viscosity test, mesh is done in Naiad.

2h ago i start same test with Houdini. This is resault.

Thanks to johner and you for Flip simulation tips.

Scene file ( if someone want to test more) and render.

Igor

Attached Files


Edited by CeeGee, 07 March 2012 - 03:33 PM.


#8 rtarantino

rtarantino

    Peon

  • Members
  • Pip
  • 9 posts
  • Joined: 15-July 08
  • Name:Ryo M

Posted 07 March 2012 - 05:04 PM

That is so nice.

And I really appreciate that you can tell differences between Naiad and H12.
About Sim time, Meshing Time, Ram usage, etc.

This time we got H12, so I am really wondering if this is done with Naiad??

I should but I dont get Naiad installed right now so if you dont mind.
I think as sim get larger, Naiad get better, but not sure.

I guess lot a people wanna know about this.

Thanks!!



View PostCeeGee, on 07 March 2012 - 03:33 PM, said:

Hi goldleaf,

I did render with Maya and Vray, because i already did one render setup for my first viscosity test, mesh is done in Naiad.

2h ago i start same test with Houdini. This is resault.

Thanks to johner and you for Flip simulation tips.

Scene file ( if someone want to test more) and render.

Igor


#9 goldleaf

goldleaf

    Initiate

  • Members
  • PipPip
  • 165 posts
  • Joined: 24-April 08
  • Name:Chris Rydalch

Posted 11 March 2012 - 10:49 PM

Wow! Thanks Igor! That's really generous of you to put that up, thanks! Can't wait to dig in!

Here is a new set of sims, with the teapots simmed at 1000, 14000, 27000, and 40000 (left to right), and re-rendered.

BTW, on Fedora 14, I installed ffmpeg so I could export *.mp4 files from mplay, and setting the image format to PNG resulted in an error, but JPG works just fine. I tried mencoder, but that resulted in random blue lines across the frames (on png).

Thanks!

Attached Files



#10 tmdag

tmdag

    Peon

  • Members
  • Pip
  • 72 posts
  • Joined: 07-January 09
  • Location:Wellington, NZ
  • Name:Albert Szostkiewicz

Posted 11 March 2012 - 11:32 PM

Hi, nice test guys!

Just wondering, why your first row of teapots squeeze in the air ? :)

btw, same is happening with Igor test - just frame before ground it looks like colliding with invisible plane
Albert 'tmdag' Szostkiewicz
http://tmdag.com

#11 Erik_JE

Erik_JE

    Illusionist

  • Members
  • PipPipPip
  • 377 posts
  • Joined: 12-January 10
  • Location:Stockholm, Sweden
  • Name:Erik Johansson-Evegård

Posted 12 March 2012 - 01:40 AM

View Postgoldleaf, on 11 March 2012 - 10:49 PM, said:

Wow! Thanks Igor! That's really generous of you to put that up, thanks! Can't wait to dig in!

Here is a new set of sims, with the teapots simmed at 1000, 14000, 27000, and 40000 (left to right), and re-rendered.

BTW, on Fedora 14, I installed ffmpeg so I could export *.mp4 files from mplay, and setting the image format to PNG resulted in an error, but JPG works just fine. I tried mencoder, but that resulted in random blue lines across the frames (on png).

Thanks!

I have pretty much given up on making good mp4 or mov straight out of Houdini and just export pictures and then run ffmpeg from the terminal instead to create the vid from the sequence. Nice simulations. I need to sign up for the AUP Apprentice HD soon.
This is either a really smart move or by far the stupidest thing that we have ever tried.

#12 goldleaf

goldleaf

    Initiate

  • Members
  • PipPip
  • 165 posts
  • Joined: 24-April 08
  • Name:Chris Rydalch

Posted 12 March 2012 - 09:22 AM

tmdag: yeah, I've been trying to figure that one out too :/ baffling...

Has anyone experienced the flattening flip fluids before?

Erik_JE: thanks! once I need some higher quality mp4's, I'll definitely use ffmpeg manually!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users