Custom VariableΒΆ

These objects contain a UDF that evaluates over the entire fluid domain. They are used to create custom fields based on common input variables.

Date Type
  • Scalar: each cell value contains a single floating point value

  • Vector: each cell value contains a 3 component vector

Calc Type
  • Cell: UDF takes as input only the cell variables

  • Particle Set: Choose a particle set and apply a reduction on the particle values to create a single cell value. Each cell performs this reduction on particles within the cell

Particle Set

Choose the particle set to perform reductions on

Reduction Type

Apply reduction calculation on particles (Min/Max/Sum/Mean)

Compute For output only

Enable to only evaluate this for output purposes

Initial Scalar

Initial value at t=0

Code

UDF evaluated at all cell locations