Adding fluidity to the nParticles
 
 
 

To make it easier to see how the nParticles interact with the pitcher and glass objects, you can turn on the Solver Display to see the nParticle collision volume. Collision volumes are a non-renderable surface offset from each nParticle radius that the nucleus solver uses when calculating collisions between Nucleus objects.

To edit Collide Width Scale and add fluidity

  1. In the Outliner, select nParticle_Water.
  2. In the Attribute Editor, click the nParticle_WaterShape tab.
  3. In the Collisions section, select Collision Thickness from the Solver Display list.
  4. Set Collide Width Scale to 0.6.

    For liquid simulations, set Collide Width Scale to a value that is one-third the nParticle object Radius value.

  5. Play the simulation, and stop at frame 40.
  6. In the scene view, dolly and tumble so that you get a close-up view of the nParticles at the bottom of the pitcher.

    The nParticles occupy the pitcher in two distinct layers one on top of the other. In the bottom layer, the nParticles are evenly spaced and level, while in the upper layer, there are gaps between particles. Since the top layer of nParticles represent the surface of the liquid, the gaps between particles create a surface that is uneven and unlike the surface of water.

Increasing Incompressibility decreases the tendency of the particles to be pushed together. This forces the nParticles into a more uniform distribution throughout the volume, which creates a smoother surface for the liquid.

To set Incompressibility

  1. In the Outliner, select nParticle_Water.
  2. In the Attribute Editor, click the nParticle_WaterShape tab.
  3. In the Liquid Simulation section, set Incompressibility to 20.

  4. Play back the simulation.

More about Liquid Simulation attributes

For this tutorial, you leave the following Liquid Simulation attributes at their default values:

You can experiment with Rest Density by setting it to 0.5 and then to 4.0. Play back your simulation with each new setting to observe how the values affect your nParticles. Set Viscosity to 10, play back the simulation, and observe how long it takes for the nParticles to move from the pitcher to the glass. Ensure you set Viscosity and Rest Density to their default values before continuing the tutorial.

For more information about these attributes, see Viscosity and Rest Density.