ball.cfd.pos

Syntax

Vector Access

v = ball.cfd.pos(b<,i>)
ball.cfd.pos(b<,i>) = v

Get the CFD ball position.

Returns:

v - CFD ball position vector or component

Accepts:

v - CFD ball position vector or component

Arguments:

b - CFD ball pointer

i - optional vector component

Component Access

f = ball.cfd.pos.x(b)
ball.cfd.pos.x(b) = f

Get the x-component of the CFD ball node position.

Returns:f - x-component of the CFD ball position vector
Accepts:f - x-component of the CFD ball position vector
Arguments:b - CFD ball pointer
f = ball.cfd.pos.y(b)
ball.cfd.pos.y(b) = f

Get the y-component of the CFD ball position.

Returns:f - y-component of the CFD ball position vector
Accepts:f - y-component of the CFD ball position vector
Arguments:b - CFD ball pointer
f = ball.cfd.pos.z(b)
ball.cfd.pos.z(b) = f

Get the z-component of the CFD ball position.

Returns:f - z-component of the CFD ball position vector
Accepts:f - z-component of the CFD ball position vector
Arguments:b - CFD ball pointer