divergence_field node

Returns a field whose values are the divergence of the input vector field. The divergence of a vector field is a scalar field where positive values represent a "source" that vectors are pointing away from, and negative values represent a "sink" that vectors are pointing toward. Vector fields whose divergence is 0 everywhere are called "divergence-free". The divergence of a vector field F is sometimes denoted by ∇∙F.

Inputs

vector_field [in]

The input vector field.

Outputs

divergence [out]

The divergence field.