smoothingCrossDev

smoothingCrossDev

Works with VSimBase license.

MultiField updater for Cross Devices that smooths the specified field.

smoothingCrossDev Parameters

The smoothingCrossDev updater takes the lowerBounds, upperBounds, lowerCoords, upperCoords, gridBndry, writeFields, and readFields parameters of fldSlabCrossDev updaters, as well as the following parameter:

smoothingWeight (optional float)

The degree to which the field should be smoothed in the range [0.0, 1.0] where 0 is no smoothing and 1 is maximum smoothing. The default is 0.5, which corresponds to equally wighting the average value of a of a cell’s nearest neighbors with the value of that cell.

Example centralDiffCurlCrossDev block

<FieldUpdater smoothingUpdater>
  kind = smoothingCrossDev
  lowerBounds = [ 0   0   0]
  upperBounds = [NX  NY  NZ]
  writeFields = [B]
  readFields = [Bsmoothed]
  smoothingWeight = 0.5
</FieldUpdater>

Notes

There is a corresponding smoothing updater for use with geometries called smoothingStairStepCrossDev. The attributes are identical, with one addition: gridBndry = gridBoundaryObjectName.

smoothingCrossDev is only available with text-based setup, but is automatically included when choosing a hybrid fluid.

History

smoothingCrossDev was introduced in VSim 12.