SetToInvFaceFracsCrossDev

SetToInvFaceFracsCrossDev

Works with XSimBase license.

MultiField updater that calculates the inverse cell face fractions based on the provided geometry. The fractions are then set in the writeField, which is used in other updaters to perform second-order conformal boundary EM updates with metals.

SetToInvFaceFracsCrossDev Parameters

The setToInvFaceFracsCrossDev updater takes the lowerBounds and upperBounds, as well as the following parameters:

writeFields (required string vector)

Field into which the inverse face fraction results are written.

gridBndry (required string)

Name of the grid boundary block for which the calculations are to be done.

writeComponents (required int vector)

Which components are to be calculated and written. This should most usually be [0 1 2].

SetToInvFaceFracsCrossDev Usage Notes

Example SetToInvFaceFracsCrossDev block

<FieldUpdater setInvFaceFracs>
  kind = setToInvFaceFracsCrossDev
  gridBndry = cylinder
  lowerBounds = [0  0  0]
  upperBounds = [NX1 NY1 NZ1]
  writeFields = [invFaceFracs]
  writeComponents = [0 1 2]
</FieldUpdater>

Notes

History

SetToInvFaceFracsCrossDev was introduced in XSim 1.0