zone.flow

Syntax

Vector Access

v = zone.flow(z<,i>)

Get the specific discharge vector for the zone. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - specific discharge vector or component

Arguments:

z - zone pointer

i - optional vector component, from 1 to 3

Component Access

f = zone.flow.x(z)

Get the x-component of the specific discharge vector.

Returns:f - x-component of the specific discharge vector
Arguments:z - zone pointer
f = zone.flow.y(z)

Get the y-component of the specific discharge vector.

Returns:f - y-component of the specific discharge vector
Arguments:z - zone pointer
f = zone.flow.z(z)

Get the z-component of the specific discharge vector.

Returns:f - z-component of the specific discharge vector
Arguments:z - zone pointer