ball.cfd.pos
Syntax
- v = ball.cfd.pos(b)
- ball.cfd.pos(b) = v
Get/set the CFD ball position.
Returns: v - CFD ball position vector Accepts: v - CFD ball position vector Arguments: b - CFD ball pointer Arguments: b - CFD ball pointer
Component Access
f = ball.cfd.pos
(b)->x
ball.cfd.pos
(b)->x
= f
- f = ball.cfd.pos.x(b)
- ball.cfd.pos.x(b) = f
Get/set 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
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.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.
Was this helpful? ... | FLAC3D © 2019, Itasca | Updated: Feb 25, 2024 |