Jump to content
Sign in to follow this  
invadersmustdie

create flip tank inside object

Recommended Posts

hey there, 

im newbie to houdini and here. 

Im trying to achieve fluid in bathtub, easiest way seems like using flip tanks.  But i don't know how to do that with custom shape instead of box. Also i will add some rigid bodies top of that water later.
Also i tried to fill it with particle emitters but i couldn't success. Also how i freeze it after it fills, initial state ? 

In short: bathtub with water, floating rubber duck and some other model in surface. 
attached scene file.

bath.hip

Share this post


Link to post
Share on other sites

I would use flipfluid from object for this one.

I downloaded your hip file but the geo wasnt in it so hard to set it up.

 

Lets start of with a empty scene.

1. create a geo node. in this you import your geo for the bathtub.

2. go up one level and create a box.

3. in the box geo, create a object merge node.

4. create a boolean node and connect the object merge and the box node.

5. set up the boolean so that the bathtub deletes the geo you dont want to have fluid in.

6. create a null node in the end.

7. go up one level and select the box geo node and create flipfluid from object.

8. select you bathtub and create a static collision from it.

 

 

 

Share this post


Link to post
Share on other sites
5 hours ago, ekan de said:

I would use flipfluid from object for this one.

I downloaded your hip file but the geo wasnt in it so hard to set it up.

 

Lets start of with a empty scene.

1. create a geo node. in this you import your geo for the bathtub.

2. go up one level and create a box.

3. in the box geo, create a object merge node.

4. create a boolean node and connect the object merge and the box node.

5. set up the boolean so that the bathtub deletes the geo you dont want to have fluid in.

6. create a null node in the end.

7. go up one level and select the box geo node and create flipfluid from object.

8. select you bathtub and create a static collision from it.

 

 

 

thanks for an answer.

I tried these when i saw your thread about bottle. 
unfortunately no success on boole because it leaves box outside of battub as well.

Anyway i realized i dont need all fluid stuff only surface is enough so did a simple solution with basic plane shaped in bathtub and displacers for surface in c4d.

Share this post


Link to post
Share on other sites

You can just select the outer part by dubbelclicking and deleteing it, that will create a blast node and then put your null after that. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×