zone.face.pos


Syntax

Vector Access

v = zone.face.pos(z,iside<,i>)

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

Returns:

v - the face position or its component

Arguments:

z - zone pointer

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

i - optional vector component

Component Access

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

Get the x-component of the position of the face centroid.

Returns:

f - x-component of the face position

Arguments:

z - zone pointer

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

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

Get the y-component of the face of the face centroid.

Returns:

f - y-component of the face position

Arguments:

z - zone pointer

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

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

Get the z-component of the face of the face centroid.

Returns:

f - z-component of the face position

Arguments:

z - zone pointer

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