Foam - Foam Dynamics

Here is the place to control the foam particles' lifetime and behaviour.

 

 

Surface offset

Foam particles are created from the core fluid's surface and with this parameter you can control how far away from the surface the particles will be placed. This parameter becomes interesting when you want to mesh the foam and waterline particles, because it can help to avoid flickering. "Surface offset" is given metres [m].

Stringiness

With foam particle you can often observe a common behaviour: the particles are strongly influenced by the underlying fluid's velocity and create ripples and filaments. This parameter ranges between 0 and 1.0; 0 can help to suppress the filament effect.

Foam min lifetime

Foam can be preserved as long as you need it. With this setting it is possible to define a minimum value in seconds [s] for its life-span.

Foam max lifetime

Specifies the maximum amount of seconds [s] for the foam particles’ existence. RealFlow calculates a random value between “@min lifetime” and “@max lifetime” to achieve a realistic and randomized vanishing of the foam structures.

Foam min friction

The actual friction value lies between "Foam in friction" and "Foam max friction". The value specifies what amount (in percent) of the grid fluid’s velocity will be transferred to the foam particle. A value of 1.0 means that the entire velocity is transferred and this means that the foam particles are stuck to the grid fluid. A value of 0.0 indicates that the foam particles are not affected by the grid’s fluid’s velocity at all. 

Foam max friction

The actual friction value lies between "Foam in friction" and "Foam max friction". The value specifies what amount (in percent) of the grid fluid’s velocity will be transferred to the foam particle. A value of 1.0 means that the entire velocity is transferred and this means that the foam particles are stuck to the grid fluid. A value of 0.0 indicates that the foam particles are not affected by the grid’s fluid’s velocity at all.