Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

RealFlow's gaseous particles are based on "Smoothed Particle Hydrodynamics" (SPH), not on equations for grid fluids and are therefore not comparable. With SPH-like gaseous fluid it is not possible to achieve the typical behaviour of swirling smoke clouds or fire. RealFlow's gas has a very high tendency to expand. To avoid exploding particles we recommend using a very low “Int Pressure” value. The fluid type's temperature settings can also be used to effectively control the particles. High values increase the motion of the particles and lead to stronger expansion; cool gases fill a smaller volume.

 

 

Type

This menu allows you to define the fluid’s behaviour. By default, RealFlow generates fluid particles used for all kind of liquids. Fluid particles can interact with other fluid particles and support self-collision. They are affected by any of RealFlow’s internal or imported objects, including RealWave surfaces.

Gas” is used to create substances like air. Gas particles tend to very strong expansion and high velocities. RealFlow gases are not grid-based and therefore behave completely different from other solvers.

Liquid” is RealFlow’s standard setting and provides parameters for all watery or high-viscous substances. It is surely the most often used type and is suitable for all kinds of particle-object interactions, but especially for small to mid-range simulations. For larger projects, you should consider using the new grid-based fluid solver.

Dumb” particles are perfectly suited for fast calculations of secondary effects, like spray or foam. Please keep in mind that these particles cannot react with each other and will not be affected by other emitters.

Elastics” establishes a so-called spring-mass system between the particles, making them behave like a soft body. This option can be used for interesting effects like jelly-like fluids or expanding an contracting substances. Please note that elastic particles are not ruled by RealFlow’s soft body solver – that is a completely different system and can only be used with objects.

Script” gives you the opportunity to write your own fluid behaviour with Python scripting or C++. Choosing this type adds an “Edit” button to the menu. Clicking on “Edit” opens a new scripting window with a predefined function that is used to enter your source code. By default, this window does not contain any executable code.

Resolution

With this setting you can increase or decrease the amount of particles, and therefore it is one of the most important parameters. “Resolution” especially depends on scene scale and emitter scale, but it also affects the fluid’s mass and therefore depends on “Density”, too. By default, resolution is 1.0. A volume of 1 x 1 x 1 units filled with 1,000 particles has a mass of exactly 1,000 kg. In other words: Each particle has a mass of exactly 1.0 kg. By raising “Resolution”, an individual particle’s mass will be lowered and vice versa. You can monitor the relationship between mass and density under

Statistics > Particle mass

Dependent on your scene, “Resolution” can dramatically increase, and values of 1,000 or even much higher are sometimes necessary. Another interesting issue – especially for scripting and plugin development – is the relation between “Resolution” and a particle’s radius, ruled by this formula:

radius = 1.0 / (1000.0 · Resolution1/3)

Density

Density” is defined as mass per volume unit and is expressed in kilograms per cubic metre [ kg/m3 ]. Water, for example, has a density of 1,000 kg/m3. “Density” is different for each substance and for some fluids, like crude oil or honey, there are only average values available, because they consist of variable amounts of ingredients.

Int Pressure

Each fluid shows a more or less strong tendency to expand. With gases this behaviour can be observed best, but even liquid substances have this tendency. “Int Pressure” simulates the forces between nearby particles, and very high values make the fluid fill a greater volume. If “Int Pressure” is set to 0.0 the particles lose their fluid behaviour.

Ext Pressure

This is “Int Pressure’s” counterpart and tries to limit a fluid’s expansion tendency. With very high values it is possible to compress the fluid. Gases, for example, should have very low “Int Pressure” and rather high “Ext Pressure” values to prevent them from flying away. With both parameters it is possible to fine tune a fluid’s appearance and behaviour, therefore they are fundamentally important for a realistic simulation.

Viscosity

Each fluid has a certain amount of viscosity, even water. It defines the tendency of particles to stick together. With very high values you can observe the typical strings in viscous fluids when they are torn apart. Substances with very high viscosity are honey, tar or syrup, for example. Fluids with low viscosity are alcohol, many solvents or liquid gases. Exaggerated settings can lead to misbehaving particles with high velocities.

Temperature

Temperature plays a very important role with gases, because it directly influences their tendency to expand or rise. Very hot gases have a very strong tendency to expand and they raise quickly. A rising or expanding gas loses energy, becomes colder, and denser, and therefore starts falling. In RealFlow, temperature is measured in Kelvin [ K ]. The Kelvin scale is based on absolute zero point at roughly -273°C, which represents 0 K. A temperature of 0°C is 274 K, 100°C equals 373 K etc.

Ext temperature

This is the temperature of an external static atmosphere. If this value is lower than "Temperature", the particles will cool down. A warmer environment will heat the fluid, expand it and accelerate the particles.

Heat capacity

This parameter controls the heat transfer between the individual particles of the emitter. A low value reduces the gas’s capability of propagating heat.

Heat conductivity

This is the ability of a substance to conduct heat. Good thermal conductors are generally materials with many free electrons, for example metals. A poor conductor shows low conductivity and is called an insulator.

Compute Vorticity

"Vorticity" hardly contributes to a fluid simulation, but it is a very important and interesting feature when you want to create rendered images. When you read out the BIN files' "Vorticity" channel and add it to add a shader you can create stunning and naturally looking results. The RenderKit mesh engine also supports "Vorticity", as well as the RFRK particle shaders. By default, this property is not simulated and you have to change the value to "Yes" if you want to make use of it. Please note that a particle's vorticity cannot be used to create the typical vortices of gas, fire or smoke.

Max Particles

The pre-adjusted default value is also the maximum value, but it can be changed any time, if you need less. Under “Statistics” you can see two entries counting particles

Statistics > Emitted Particles

Max Particles” is connected to this value, and if you want to stop the emitter to create more particles you can enter a smaller value. Please note that "Max particles" is based on the total amount of emitted particles. Let's say you have entered "500,000", so even if you currently have only 1,000 particles in your scene, but have already deleted 499,000 particles, RealFlow will stop creating new particles.



  • No labels