Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

...

Section
Column
width50%

The Source controls the emission of fluid and where the fluid emits from, so that the simulator knows where in 3D space the fluid can be born.

An Emitter can be geometry and/or particles, and is what actually emits the fluid inside the simulation grid. The emitter(s) must be selected by the Source in order to emit fluid inside the simulator, unless you are using the Initial fill option in the simulator’s settings, or specifying a geometry to do an initial fill with liquid.

The Source also contains its own settings that determine how much fluid is emitted, what is emitted, and so forth. A Liquid Source can be used to emit fluid into a Liquid Simulator using Liquid FLIP particles, or any of the Source's Grid Channel options, and it can also emit fluid for multiple channels at once.

This includes emitting options such as RGB color and Viscosity, as well as emitting secondary particle types like Splashes, Mist and Foam.

You can use the Liquid Source to emit FLIP particles into Liquid Simulators.

You can emit fluid from geometry or from particles. The fluid can be emitted from the surface, or from the entire volume of emitting geometry. Particles can emit from a spherical shape, or from instanced geometry shapes. Note that the viewport gizmo of the Source does not emit fluid itself - you have to first pick the geometry or particles you would use as emitters in the Source's list.

The position of the Source icon in the scene does not matter.
UI Text Box
typeinfo

If you have many Simulators in the scene, by default each Simulator will interact with a Source'

s Emitter Nodes

 as

, as long

as they

as they are inside

this

that Simulator. You can exclude Sources or Emitters from a

 Simulator

Simulator's Scene Interaction rollout.

If you switch to use the Include List mode, you have to pick both the Source and its Emitter Nodes in

the 

the Interaction List.

The Source can emit in
3 different 
three different Emit Modes
 - 
:
  • Surface Force
 mode
  • creates fluid only at the surface of emitters
  • Volume Brush
 fills
  • fills the entire volume of
the
  • emitters
, and 
  • Volume Inject
 also fills the emitter's volume and adds
  • fills an emitter’s volume while adding pressure for an explosive effect
.

You can emit any fluid particle channel and you can emit many channels at once. Additionally, you can emit different particle types from the Source. If you want to emit unevenly only from some areas or volumes of the emitters, you can use a Mask for each of the emission channels. Also, note that if Emit Mode is set to Volume Brush or Volume Inject and the Mask uses Explicit Map Channel or Vertex Color Channel mapping, then the Mask will be applied on the whole volume, based on the closest geometry surface.

Additionally, each channel can have one or many Discharge Modifiers. They allow you to gain more precise procedural control over how the fluid gets emitted. Discharge modifiers vary the emission over different parts of the emitter depending on properties of the emitter - e.g. the direction of its normals, the speed of movement at each point of an animated emitter, etc.

Column
width50%

Image Removed

UI Expand
title UI Path: ||Create panel|| > Helpers > PhoenixFD category > LiquidSrc button

Image Removed

 

Parameters

Emitter Nodes

Section
Column
width50%
Div
stylemargin-top: 10px
idLiquidSource_EmitterNodes

Emitter Nodes | sources – Specifies a list of objects that will emit fluid. Both geometry and particle systems can be selected here. Press the Add button and pick an object from the Viewport, or a list of objects using the Scene Explorer.

Column
width5%

 

Column
width45%

Image Removed

 

General

also use textures as masks for each of the emission channels, to create more interesting emission behaviors, with more variation. Specifically, Masks make it possible to emit unevenly from only some areas, or emit unevenly from the entire volume of an emitter.

UI Text Box
typetip

Using textures as masks can help to break up the emission, and can lead to a more varied or natural looking result.

For example, you could use a black and white noise texture as a Mask when emitting Liquid particles, to make it so that the black parts of the texture emit nothing, while the white parts emit Liquid.

Additionally, each channel can have one or many Discharge Modifiers.  They can give you more precise procedural control over how the fluid gets emitted.

Discharge modifiers vary the emission over different parts of the emitter, depending on the properties of the emitter - e.g. the direction of its Normals, the speed of movement at each point of an animated emitter, etc

Column
width50%

Image Added

 

 

UI Expand
title UI Path: ||Create panel|| > Helpers > PhoenixFD category > LiquidSrc button

Image Added

Parameters

...

Emitter Nodes

...

UI Text Box
typeinfo

Non-Phoenix particles, such as Particle Flow or tyFlow particles, can also act as emitters for a Phoenix Source. They can emit from a spherical 3D shape, or from instanced geometry.

UI Text Box
typenote

Note that the Source icon itself does not emit fluid, so the position of the icon's viewport gizmo in the scene does not matter.

Instead, you must pick the geometry and/or particles that you want to use as emitters, in the Source’s Emitter Nodes list.

Section
Column
width50%
Div
stylemargin-top: 10px
idLiquidSource_EmitterNodes

Emitter Nodes | sources – Specifies a list of objects that will emit fluid. Both geometry and particle systems can be selected here. Press the Add button and pick an object from the Viewport, or a list of objects using the Scene Explorer.

Column
width5%

 

Column
width45%

Image Added

General

...

UI Text Box
typeinfo

Fluid can be emitted from a geometry’s surface, or from the entire volume of an emitting geometry.

Note that if the Emit Mode is set to Volume Brush or Volume Inject, and you have a Texture Mask using either Explicit Map Channel or Vertex Color Channel mapping, then the Mask will be applied on the whole volume, based on the closest geometry surface.

UI Text Box
typenote

Even if you do not simulate visible fluid like liquid, there can still be Velocity simulated within the grid, if for example, you animate an object to move around inside the grid to stir the Velocity channel. The simulated velocity can also be previewed in the viewport, or even rendered.

Section
Column
width50%
Anchor
IfNotSolid
IfNotSolid

Emit Mode ifnotsolid – Specifies the way the objects in the Emitter Nodes emit fluid.

Surface Force – The surface of the emitters will eject the selected fluid channels along the geometry normals. In this mode, the discharge is named Outgoing Velocity and it specifies the speed of the emitted fluid in units/sec. The displayed units will change accordingly if the scene units change.

This mode can work with both Solid and non-Solid emitters. If you use a Mask for the discharge in Surface Force mode, white areas of the emitter's surface will eject fast fluid, while darker ones would emit more slowly. Black areas will not emit at all.

Volume Brush – The fluid inside the volume of the emitters will gradually change towards the selected channel values. When this mode is selected, the discharge is named Brush Effect (%) and it specifies the rate at which the transition takes place. When Brush Effect is 100%, the fluid will immediately reach the selected channel values, and if Brush Effect is less, it specifies how close the fluid values will get to the values from the Source over 1 second. E.g. if the Temperature inside an emitter's volume is 1000 and the Source emits Temperature 2000 with Brush Effect of 80%, then after 1 second the temperature will have risen to 1800. This mode is useful for creating standing volumes of fluid with a high Brush Effect, or alternatively - to slowly convert the fluid inside the volume of the emitters to the values selected below over a period of time. Note that you can both increase or decrease the values of the fluid channels in Volume Brush mode. When Brush Effect (%) is 0, then the Source has no effect.

This mode requires that all selected emitters are set into non-Solid mode from their Per-Node Properties. If you use a Mask for the discharge in Volume Brush mode, white zones in the volume will have the Brush Effect you have specified, while darker zones will use a smaller Brush Effect. Completely back zones in the mask would not be affected at all by this Source.

Volume Inject – The volume of the emitters will discharge the selected fluid channels with added pressure. When this mode is selected, the discharge is named Inject Power and it specifies the added volume of the injected fluid per second. This mode is useful for getting explosive discharge. Inject Power can be negative, in which case the Source will suck in and delete the fluid.

This mode requires that all selected emitters are set into non-Solid mode from their Per-Node Properties. If you use a Mask for the discharge in Volume Inject mode, white zones in the volume will have the Inject Power you have specified, while darker zones will use a smaller Inject Power. Completely back zones in the mask would not be affected at all by this Source.

UI Text Box
typeinfo

When emitting from particles in any of the 'Sphere' Prt Shape modes, the Surface Force Emit Mode is not supported - Phoenix will automatically fall back to Volume Inject mode. Only Use Particle Shape supports all 3 emit modes.

Inject Power / Brush Effect (%) / Outgoing Velocity | discharge / brusheffect / outvel – These parameters control the strength of the source. Check Emit Mode for more info.

Mask | dmap, usedmap – Allows you to vary the Outgoing Velocity, Inject Power or Brush Effect (%) over the surface or the volume of the emitters. White areas of this map will have the strongest discharge, while black areas of the map will not discharge at all. The individual fluid channels can also be modulated using dedicated maps from the options below. See the info on the Emit Mode option above for more info on how the Mask affects each mode.

Modifiers |  dmoddisch – Discharge Modifiers can be attached here in order to affect the Outgoing Velocity, Inject Power or Brush Effect (%) parameters.

Noise noise – Varies the Outgoing Velocity, Inject Power and Brush Effect (%) across the surface or the volume of the emitting geometry or particle. The variation also changes over time. This is a shorthand for using an animated noise in the Mask slot.

Column
width5%

 

Column
width45%

...

Liquid & RGB

...

Section
Column
width50%

Emit Liquid – Enables or disables liquid emission. Disabling this option is useful in situations where only foam and splashes need to be emitted but not the liquid itself.

RGB uvw, useuvw – If the RGB Map is not enabled, the emitted fluid's RGB channel will contain the specified color. If the RGB Map is enabled, the RGB values from the texture map will be used instead of the color swatch. If the RGB channel is not enabled in the Output rollout of the Simulator, this parameter will be ignored. Also, note that if Emit Mode is set to Volume Brush or Volume Inject and the Map uses Explicit Map Channel or Vertex Color Channel mapping, then the Map will be applied on the whole volume, based on the closest geometry surface.

Modifiers dmodrgb – A discharge modifier can be attached here in order to affect the RGB parameter.

Map uvwmap, useuvwmap – Allows you to vary the RGB over the surface or the volume of the emitters. If this is not used, the Source will emit equal RGB over the entire surface or volume of the emitters.

None – The RGB channel will not vary.
Texmap – Allows you to specify a texture map to color the fluid emitted by the Source. If this is used, the color swatch is ignored and the RGB comes entirely from the texture. For more information on texture mapping in Phoenix, please check the Texture mapping, moving textures with fire/smoke/liquid, and TexUVW page.
Vertex Color – The RGB channel of the emitted fluid is determined by the emitter node's vertex colors. If this is used, the color swatch is ignored and the RGB comes entirely from the vertex color. The texture map slot is also ignored.

UI Text Box
typetip

To render these RGB colors for smoke, set the Smoke Color Based On parameter to RGB.

For rendering of meshed liquids, set a Grid Texture as the Diffuse map for a Standard or V-Ray Material, and set the Grid texture's Channel to RGB.

For more information, see the RGB Map Vertex Color example below.


Column
width5%

 

Column
width45%

...

Section

Example: Inherit TexUVW with Variation

 


 

UI Text Box
typeinfo

The following video provides examples of Inherited Texture UVW coordinates repeating along the V-axis over 0, 1 and 2 seconds. When Variation is set to 0, the V coordinate remains static. If Variation is set to 1, it takes one second for a full repetition/tile along the V-axis.

Align
aligncenter

Video
0texUVW_variationAlongV.mp4
3true
 

...