zone.face.pos

Syntax

v := zone.face.pos(z,iside)

Note

  • In the description below, the following correspondence is assumed between 3D and 2D analysis:
    • There is no 2D equivalence for 3D zone edges

    • 3D zone faces (surfaces) <-> 2D zone edges (lines)

Get the position of the face, defined as the centroid of its grid points.

Returns:

v - the face position

Arguments:

z - zone pointer

iside - side of the zone indicating the face, from 1 to 4 in 2D and from 1 to 6 in 3D

Component Access

f := zone.face.pos (z, iside) ->x

f := zone.face.pos.x(z,iside)

Get the \(x\)-component of the position of the face, defined as the centroid of its grid points.

Returns:

f - \(x\)-component of the face position

Arguments:

z - zone pointer

iside - side of the zone indicating the face, from 1 to 6

Access other vector components (\(y\), \(z\) (3D ONLY)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (zone.face.pos(z,iside,<int>)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f := zone.face.pos.y(z,iside)
f := zone.face.pos.z(z,iside)