Using Liquid Simulation attributes, you can add properties to your nParticle objects to make them look and behave like flowing liquids. Liquid Simulation attributes let you to create simulations, ranging from slow moving lava, mud splatters, droplets of liquids, and splashes of water. See Create nParticle liquids.
Depending on the liquid characteristics you want to achieve, there are a number of attributes that you can set for your simulation. Use the following information as a guide to obtaining the desired results:
nParticle attribute | Effect on liquid simulations |
---|---|
Self Collide | To create a liquid simulation, ensure that Self Collide is turned off. See nParticle Collisions attributes. |
Collide Width Scale | When liquid nParticles are contained in geometry, such as a passive collision glass, you may need to adjust the nParticle Collide Width Scale to avoid interpenetrations. See nParticle Collisions attributes. |
Enable Liquid Simulation | Enables nParticle to overlap, which forms the continuous surface of the liquid. Ensure that Enable Liquid Simulation is on. See nParticle Liquid Simulation attributes. |
Radius | Determines the overall surface of the nParticle liquid. Increasing Radius can increase the tendency of particle overlap, and therefore improves the smoothness of the liquid's surface. The amount nParticles overlap is also determined by Liquid Radius Scale. Adjusting Radius can also affect nParticle collisions and increasing it too much may result in interpenetrations with other Nucleus objects. See nParticle Size attributes. |
Liquid Radius Scale | Specifies the amount nParticles overlap. Increasing Liquid Radius Scale increase the volume of the liquid. For contained liquids, values greater than 1.0 may force particles out of the container, making your simulation unstable. At values less than 0.1, nParticles may not overlap enough to create a continuous surface. See nParticle Liquid Simulation attributes. |
Incompressibility | Specifies the amount nParticles resist compression. Contained liquids do not react as sensitively to Incompressibility as they do to Liquid Radius Scale. This means that you can set Incompressibility to higher values and your simulation still settles quickly and remains stable. For viscous liquids use high values. See nParticle Liquid Simulation attributes. |
Viscosity | Adds viscosity to the liquid making it appear thicker and more resistant to flow. You can use the Viscosity Scale ramp to set per-particle viscosity to nParticle properties such as Age to create the effects of liquid becoming more viscous as it ages. See nParticle Liquid Simulation attributes. |
Surface Tension | Adds a weak cohesive force to keep individual nParticles together. This is useful for maintaining the liquid's surface when it is flowing or suspended. You can set Surface Tension on a per-particle basis using Surface Tension Scale. SeenParticle Liquid Simulation attributes. |
Threshold | Threshold determines the size and smoothness of the nParticle’s rendered surface by controlling the density of the overlapping particles. Threshold affects how particles render, but it does not affect how the particles behave in the simulation. See nParticle Output Mesh attributes. |
After you setting up your nParticle liquid simulation, you can convert the nParticle object to a polygon mesh.
See Work with nParticles meshes.Liquid Simulation nParticles work best for contained liquids and small scale liquid flows. For large scale water effects, such as oceans, lakes, or swimming pools, use Maya Ocean or Pond effects. You can use an nParticle liquid simulations with an Ocean effect to create the splashes caused by the wakes in the fluid. See Open water effects
You can also use the Bifröst procedural framework to create high resolution and large-scale liquid simulations. See Bifröst