stRgnMask

stRgnMask

Assigns properties of a fluid to an area or volume specified by an STRgn.

stRgnMask Parameters

region (string, required)

Name of the space-time region that will serve as the element of the array.

Example stRgnMask Block

<STRgn ellipsoid1>
  kind = ellipsoid
  center = [0.0  0.0  0.0]
  semiaxes = [1.0  0.5  0.3]
</STRgn>

<Fluid testFluid>
  kind = neutralGas
  gasKind = H
  <InitialCondition density>
    kind = variable
    lowerBounds = [-1 -1 -1]
    upperBounds = [NX NY NZ]
    components = [0]
    <STFunc component0>
      kind = stRgnMask
      region = ellipsoid1
    </STFunc>
  </InitialCondition>
</Fluid>