clump.cfd.pos

Syntax

v = clump.cfd.pos(c)
clump.cfd.pos(c) = v

Get the CFD clump position.

Returns:

v - CFD clump position vector

Accepts:

v - CFD clump position vector

Arguments:

c - CFD clump pointer

Component Access

f = clump.cfd.pos (c)->x
clump.cfd.pos (c)->x = f

f = clump.cfd.pos.x(c)
clump.cfd.pos.x(c) = f

Get/set the \(x\)-component of the CFD clump node position.

Returns:

f - \(x\)-component of the CFD clump position vector

Accepts:

f - \(x\)-component of the CFD clump position vector

Arguments:

c - CFD clump.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 = clump.cfd.pos(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 = clump.cfd.pos.y(c)
f = clump.cfd.pos.z(c) (3D ONLY)