ball.cfd.force

Syntax

v = ball.cfd.force(b)
ball.cfd.force(b) = v

Get/set the CFD ball force.

Returns:

v - CFD ball force vector

Accepts:

v - CFD ball force vector

Arguments:

b - CFD ball pointer

Component Access

f = ball.cfd.force (b)->x
ball.cfd.force (b)->x = f

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

Get/set the \(x\)-component of the CFD ball force.

Returns:

f - \(x\)-component of the CFD ball force vector

Accepts:

f - \(x\)-component of the CFD ball force vector

Arguments:

b - CFD ball pointer

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 (e.g., f = ball.cfd.force(b, 3)) 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 = ball.cfd.force.y(b)
f = ball.cfd.force.z(b) (3D ONLY)