centralDiffCurlCrossDev

centralDiffCurlCrossDev

Works with VSimBase license.

MultiField updater for Cross Devices that computes the curl of a regularCrossDev field using a central difference formula for computing the gradient \(\nabla\). This is of particular use in hybrid simulation models where electrons are treated as a fluid while ions are kinetic particles.

centralDiffCurlCrossDev Parameters

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

curlCoeff(required float)

The multiplicative coefficient for the curl field.

Example centralDiffCurlCrossDev block

<FieldUpdater faradayCentralDiffUpdater>
  kind = centralDiffCurlCrossDev
  lowerBounds = [ 0   0   0]
  upperBounds = [NX  NY  NZ]
  writeFields = [magneticField]
  readFields = [electricField]
  curlCoeff = $-1.0*DT$
</FieldUpdater>

<FieldUpdater jCentralDiffUpdater>
  kind = centralDiffCurlCrossDev
  lowerBounds = [ 0   0   0]
  upperBounds = [NX  NY  NZ]
  writeFields = [currentDensity]
  readFields = [magneticField]
  curlCoeff = $1./MU0$
</FieldUpdater>

Notes

There is a corresponding central difference curl updater for use with geometries called centralDiffStairStepCrossDev. The attributes are identical, with one addition: gridBndry = gridBoundaryObjectName.

centralDiffCurlCrossDev is only available with text-based setup, but is included automatically when hybrid fluid solver is selected in the basic settings.

History

centralDiffCurlCrossDev was introduced in VSim 12.