This is the place where the type of fluid/material is defined together with its properties.
In RealFlow | Cinema 4D it is possible to use multiple "Scene" trees in the same project:
- To link the "Fluid" node to a different scene tree dragging the appropriate "Scene" node to this field
- Furthermore you have direct access to the selected "Scene" tree's → "Solver", → "Cache", and → "Display" tabs. For descriptions of these parameters follow the links.
- Quick access to the "Solver" settings comes in handy when you work with Dyverso materials (granular, viscous, viscoelastic, rigid, elastic).
RealFlow | Cinema 4D supports interactions between different fluid, rigid, and elastic containers, e.g. for the creation of foam or water-and-oil simulations:
- All fluid, rigid, and elastic containers inside the drag-and-drop field will be affected by the fluid. If there is only one container in the scene it will be linked automatically, otherwise the connection has to be established manually.
- To learn more about how to link RealFlow scene elements and make them interact take a look at the → "Links" page with examples.
There are six different types of fluids and materials. All types, except "Dumb", are GPU-accelerated:
- "Dumb” particles are often used for spray or foam. These particles cannot react with each other and do not have the characteristic fluid properties, but they are simulated very fast.
- "Liquid - SPH" is a very accurate fluid solver.
- "Liquid - PBD" is a very fast fluid type (faster than “Liquid - SPH”).
- "Granular" is suitable for substances like sand or snow.
- "Viscous" fluids are suited for substances like caramel, yogurt, oil, or lava.
- "Viscoelastic" is the choice of materials such as rubber, caoutchouc, silicone, or "memory foam".
Not all materials are able to interact. For a complete list of possible interactions please visit → this page.
With this setting you can change the amount of particles. “Resolution” mainly depends on scene scale and emitter scale, but it also affects the material's mass and therefore depends on “Density”, too:
- With “Resolution” set to 1.0, a volume of 1 m x 1 m x 1 m contains exactly 1,000 particles.
- The parameter accepts any positive value.
This parameter is defined as mass per volume unit and is different for each substance. “Density” does not change the fluid's behaviour, but it is possible to mix fluids from different domains. This way you are able to simulate substances like oil and water. The unit is kilograms per cubic metre. The density of water is 1,000 kg/m3. Avoid very small values close to 0, because they can lead to instabilities.
Interpenetration simulates the repulsion forces between granular particles. We recommend values ≤ 1, but any positive value is accepted. The substeps and iterations settings in the "Scene" node's → "Solver" tab influence how this parameter acts on the fluid.
When nearby particles collide they start to slide, "Friction" counteracts this motion until the particles stop (also known as dynamic friction). Any value ≥ 0 is valid, but you should not go beyond 1.0 unless necessary. The substeps and iterations settings in the "Scene" node's → "Solver" tab influence how this parameter acts on the fluid.
"Static friction" acts like a barrier that has to be exceeded in order to make a particle slide. With higher values you are able to create structures like sand piles. Any value ≥ 0 is valid, but you should not go beyond 1.0 unless necessary. The substeps and iterations settings in the "Scene" node's → "Solver" tab influence how this parameter acts on the fluid.
This parameter adds a kind of friction that helps to get a more fragmented, block-like behaviour when the granular material is breaking. Any value ≥ 0 is valid.
"Cohesion" is a force of attraction between nearby granular particles. Values greater than zero support the appearance of chunks, similar to snow or wet sand. Any value ≥ 0 is accepted. The substeps and iterations settings in the "Scene" node's → "Solver" tab influence how this parameter acts on the fluid.
In the real world, granular substances do not have perfectly rounded shapes, but there are irregularities like spikes or edges. This parameter mimics these effects and helps to suppress regular structures. Any value ≥ 0 is accepted.
Increase this value to simulate structures like piles. Any positive value ≥ 0 is accepted. The substeps and iterations settings in the "Scene" node's → "Solver" tab influence how this parameter acts on the fluid.
Damping smoothens the relative velocities between nearby particles. A small amount of damping helps to stabilize a simulation, while higher values introduce viscosity to the material. You can enter any positive value and 0.
Vorticity hardly contributes to a fluid's behaviour and is therefore disabled by default to improve performance. Activate this option before the simulation starts if you need it for → filtering or shading purposes.
Please enter a value to stop emission at a certain amount of particles. "Max particles" is based on the total amount of emitted particles. Let's say you have entered "50,000". If there are currently 1,000 particles in your scene, but you have already deleted 49,000 particles RealFlow will stop the emission.
Use Initial State
Initial states can be created and activated/deactivated individually for each "Fluid" node (also see → "Initial States"). When
- enabled the initial state will be used
- disabled the initial state will be deactivated temporarily.
Create Initial State
This function lets you set any simulation frame as a new start preset. When you reset the scene the simulation will be starting from the previously defined initial state. The associated initial state file will be written to the scene's catch folder specified under Scene > Cache. Here is the workflow:
- Simulate (click on the timeline's "Play" button)
- Stop the simulation at any time and press "Create Initial State.
- Set “Use Initial State” to “Yes” if necessary.
- Rewind the timeline to frame 0; the initial state is shown.