# block.gp.vel.app

Syntax

## Vector Access

v/f = block.gp.vel.app(bgpp<,i>)
block.gp.vel.app(bgpp<,i>) = v/f

Get/set the gridpoint applied velocity on the boundary of a block. The also fixes the velocity at the specified gridpoints. 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 v or f - velocity vector or component bgpp - block gridpoint pointer i - optional index of component

### Component Access

f := block.gp.vel.app.x(bgpp)
block.gp.vel.app.x(bgpp) := f

Get/set the $$x$$-component applied velocity vector.

Returns: f - $$x$$-component applied velocity vector f - $$x$$-component applied velocity vector bgpp - block gridpoint pointer
f := block.gp.vel.app.y(bgpp)
block.gp.vel.app.y(bgpp) := f

Get/set the $$y$$-component applied velocity vector.

Returns: f - $$y$$-component applied velocity vector f - $$y$$-component applied velocity vector bgpp - block gridpoint pointer
f := block.gp.vel.app.z(bgpp)
block.gp.vel.app.z(bgpp) := f

Get/set the $$z$$-component applied velocity vector.

Returns: f - $$z$$-component applied velocity vector f - $$z$$-component applied velocity vector bgpp - block gridpoint pointer