element.cfd.vel
Syntax
- v = element.cfd.vel(e)
- element.cfd.vel(e) = v
Get/set the CFD element velocity.
Returns: v - CFD element velocity vector Accepts: v - CFD element velocity vector Arguments: e - CFD element pointer
Component Access
f = element.cfd.vel
(e)->x
element.cfd.vel
(e)->x
= f
- f = element.cfd.vel.x(e)
- element.cfd.vel.x(e) = f
Get/set the \(x\)-component of the CFD element velocity.
Returns: f - \(x\)-component of the CFD element velocity vector Accepts: f - \(x\)-component of the CFD element velocity 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.vel(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.
Was this helpful? ... | FLAC3D © 2019, Itasca | Updated: Feb 25, 2024 |