remlorestudios Posted March 14, 2013 Share Posted March 14, 2013 (edited) It seems i ran into a problem here... The Fluid Source shows the density attribute, but it seems I can't get the velocity (using length() to get speed) to alter the density using an if statement in the Density Box. I'm using two object sources in one flipsolver, but I want to vary the density of source A via speed... so it when it slows down, it sinks... So, source A floats on top of source B, then as source A loses speed, it gains density, and sinks to the bottom. Edited March 14, 2013 by remlorestudios Quote Link to comment Share on other sites More sharing options...
kleer001 Posted March 14, 2013 Share Posted March 14, 2013 Have you tried using a SOP solver? Quote Link to comment Share on other sites More sharing options...
remlorestudios Posted March 14, 2013 Author Share Posted March 14, 2013 I can try that, but what is the order of solving? Do I disable density in the Fluid Source and add the density attribute via SOP Solver... i've done that, but you think you could alter density in the Fluid Source by reading in the velocity and getting speed from it somehow... Quote Link to comment Share on other sites More sharing options...
kleer001 Posted March 14, 2013 Share Posted March 14, 2013 Can you post a hip file? Quote Link to comment Share on other sites More sharing options...
remlorestudios Posted March 14, 2013 Author Share Posted March 14, 2013 Okay, here it is. This is a simple setup, but the main thing is, the input type in the fliptank has to be a Surface SOP... Thanx! SopVaryDensityVelocity.hip 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.