Naeem Posted April 3, 2012 Share Posted April 3, 2012 (edited) Hi, I am trying to simulate a stormy ocean using FLIP fluids (something like this ) and I have set up my scene as shown in the attached file. However, I have a problem with the dummy geometry. Since the fluid exists on the first frame itself, it is within the dummy geometry as well and hence that gets simulated. Is there any way to fix that so there are no particles on the inside of the geometry?Thanks. Naeem. P.S. : I understand I could not have the fluid present from the first frame and have it flowing into the scene from some emitter and then use initial data and simulate further from there. I am just wondering if there is a better way of doing this. STORM_GEO_V02_R11.hipnc Edited April 3, 2012 by Naeem Quote Link to comment Share on other sites More sharing options...
ryew Posted April 3, 2012 Share Posted April 3, 2012 Combining your geometry and using a Cookie SOP to subtract it from the box you're using for the initial data of your FLIP fluid simulation should get you what you're asking Quote Link to comment Share on other sites More sharing options...
Klockworks Posted April 4, 2012 Share Posted April 4, 2012 Hi, I am trying to simulate a stormy ocean using FLIP fluids (something like this ) and I have set up my scene as shown in the attached file. However, I have a problem with the dummy geometry. Since the fluid exists on the first frame itself, it is within the dummy geometry as well and hence that gets simulated. Is there any way to fix that so there are no particles on the inside of the geometry?Thanks. Naeem. P.S. : I understand I could not have the fluid present from the first frame and have it flowing into the scene from some emitter and then use initial data and simulate further from there. I am just wondering if there is a better way of doing this. If you have an SDF of your geometry you can do a volume sample in a vop. Any particle that returns <0 is inside your geometry. Add those points to a group and delete by the group. If your dummy geo exists as multiple static objects you can mix each together with a volume mix set to minimum(since we are only concerned about where the geo is it doesn't have to be a perfect combination). Quote Link to comment Share on other sites More sharing options...
Naeem Posted April 5, 2012 Author Share Posted April 5, 2012 If you have an SDF of your geometry you can do a volume sample in a vop. Any particle that returns <0 is inside your geometry. Add those points to a group and delete by the group. If your dummy geo exists as multiple static objects you can mix each together with a volume mix set to minimum(since we are only concerned about where the geo is it doesn't have to be a perfect combination). Thanks for your replies. Just over the top of my head (since I am on holiday and don't have a machine to test this right now), couldn't I use Sculpted Fluid to achieve the same thing? In H12, Sculpted Fluids also use the FLIP Solver, so I guess it should give me the same result. I could use the ground object as Terrain and the static geometry as Obstacles. Naeem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.