characteristicCellLength (1d, 2d, 3d)

Computes a characteristic cell length scale for every cell in the domain. This length scale is similar to the shortest side side length of a cell and can be used to determine maximum stable diffusion terms.

Data

out (string vector, required)
The output is a nodalArray containing the characteristic length for each cell in the domain. This value is computed from geometry alone so no Inputs are required.

Parameters

coefficient (float)
A constant factor that is multiplied by every component of the output vector

Example

<Updater computeCellDx>
  kind = characteristicCellLength2d
  onGrid = domain
  out = [cellDx]
  coefficient = 1.0
</Updater>