element.cfd.node.pos

Syntax

v = element.cfd.node.pos(e)
element.cfd.node.pos(e) = v

Get/set the CFD element node position.

Returns:v - CFD element position vector
Accepts:v - CFD element position vector
Arguments:e - CFD element pointer

Component Access

f = element.cfd.node.pos (e)->x
element.cfd.node.pos (e)->x = f

f = element.cfd.node.pos.x(e)
element.cfd.node.pos.x(e) = f

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

Returns:f - \(x\)-component of the CFD element position vector
Accepts:f - \(x\)-component of the CFD element position vector
Arguments:e - CFD element 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 = element.cfd.node.pos(e, 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 = element.cfd.node.pos.y(e)
f = element.cfd.node.pos.z(e) (3D ONLY)