Self Attraction and Repulsion attributes generate attractive and repulsive forces between Voxels in 2D or 3D fluid containers. Using the Self Force attribute, you can set whether the forces depend on the container’s density or temperature grid values.
The Equilibrium Value attribute set the target value which determines whether a voxel generates an attractive or repulsive force. Voxels with density or temperature values less than the Equilibrium Value generate an attractive force. Voxels with density or temperature values greater than the Equilibrium Value generate a repulsive force. See Equilibrium Value.
See also Using self attraction and repulsion forces.
Self Attraction and Repulsion can be applied to dynamic and static grids.
Turns on the self attraction and repulsion forces and sets whether the force is based on the container’s Density or Temperature grid values.
No self force is applied to the voxels in the fluid container.
Sets the Self Force to be based on the Density grid values.
Sets the Self Force to be based on the Temperature grid values.
Sets the strength of the attractive force. Self Attract does not effect voxels that have density or temperature values greater than the Equilibrium Value.
Sets the strength of the repulsive force. Self Repel does not effect voxels that have density or temperature values less than the Equilibrium Value.
Sets the target value that determines whether voxels generate an attractive or repulsive force. Voxels that have density or temperature values that are less than the set Equilibrium Value generate an attractive force. Voxels with density or temperature values greater than the Equilibrium Value generate a repulsive force.
Sets the maximum distance, in voxels, that the self force is applied. For example, when set to 1, voxels are only affected by the self forces generated by the voxels next to them. If the Self Force Distance value is greater than the resolution of the fluid, each voxel in the container is attracted or repelled by every other voxel in the fluid. The default value for Self Force Distance is 16.
Large Self Force Distance values can increase simulation time. If you increase the Resolution of a fluid container, increase the Self Force Distance value to obtain the same effect. The effect of Self Force drops off with local space distance in a way that is similar to gravitational self attraction.