eulerCrossDev

eulerCrossDev

Works with VSimBase license.

MultiField updater for Cross Devices that performs an update that solves the Euler equations on a regularCrossDev field in a fluid description of charged particles, e.g. electron fluids.

eulerCrossDev Parameters

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

gamma (optional float, default = 5.0/3.0)

The specific heat. Default value is \(\gamma = 5.0/3.0\).

Example eulerCrossDev block

<FieldUpdater eulerUpdate>
  kind = eulerCrossDev
  lowerBounds = [ 0   0   0]
  upperBounds = [NX  NY  NZ]
  readFields = [density flux energy]
  writeFields = [densityNext fluxNext energyNext]
</FieldUpdater>

Notes

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

Caution!

When defining the density profile, the user should avoid zero densities anywhere in the simulation domain, especially when using step function profiles. Zero densities will result in a divide-by-zero situation and non-physical values of density field.

History

eulerCrossDev was introduced in VSim 12.