Particle Variable

These objects contain a UDF that evaluates over all the particles in a particle source. They are used to create custom fields based on common input variables.

Property Grid

General

Data Type

Definition

Scalar

Each cell value contains a single floating point value.

Vector

Each cell value contains a 3 component vector.

Compute For Output Only

Definition

Every Time

Computes every time step.

Only On Output

Computes only at an output time step.

Initial Scalar

Initial value at t=0

Particle Variable UDF

user-defined units | This UDF defines the custom variable to be computed for each particle. One output must be defined within the UDF: a floating-point variable named {pv}_p, where {pv} is the dynamic name of the particle variable. The units on the output variable depend on the UDF expression. This is a local UDF, calculated on a particle-by-particle basis using the local particle/fluid properties.

Download Sample File: Particle Variable

Display Name, Unit

Display Name Override

The name for the variable in post processing. The default will be the name of the variable.

Display Unit Override

The name of the units in post processing. The default is a blank.