### 15.5.24. rbstate

Returns the value of the specified rigid body state variable, or axis component thereof, on the specified:

- Rigid Body object (for a standard rigid body definition), or

- Immersed Solid domain that is governed by a rigid body solution.

The rigid body state variables are:

- `Position`

- `Linear Velocity`

- `Linear Acceleration`

- `Euler Angle`

- `Angular Velocity`

- `Angular Acceleration`

Syntax:

    rbstate(<rbvar>[<Axis>])@<Location>

where:

- `<rbvar>` is a rigid body state variable.

- `<Axis>` is X, Y, or Z.

  For the `Euler Angle` rigid body state variable, an axis must be specified. For all of the other rigid body state variables, the axis is optional. If you do not specify an axis, the magnitude of the vector is returned. For example, if the variable is `Position` and you do not specify an axis, the distance from the origin will be returned.

- `<Location>` is any rigid body object or any immersed solid domain that is governed by a rigid body solution.

Results are given with respect to the global coordinate frame (Coord 0).

#### 15.5.24.1. Expressions Details View Example

    rbstate(Linear Velocity Z)@Buoy

Release 18.2 - © ANSYS, Inc. All rights reserved.