block.gp.vel
Syntax
Vector Access
- v/f = block.gp.vel(bgpp<,i>)
- block.gp.vel(bgpp<,i>) = v/f
Get/set the gridpoint velocity. If the optional argument i is supplied, the return value/assignment is restricted by vector component (1 = \(x\), 2 = \(y\), 3 = \(z\)).
Returns: v or f - velocity vector or component Accepts: v or f - velocity vector or component Arguments: bgpp - block gridpoint pointer
i - optional index of component
Component Access
- f := block.gp.vel.x(bgpp)
- block.gp.vel.x(bgpp) := f
Get/set the \(x\)-component velocity vector.
Returns: f - \(x\)-component applied velocity vector Accepts: f - \(x\)-component applied velocity vector Arguments: bgpp - block gridpoint pointer
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Dec 22, 2020 |