# Q

The Q()function returns the modal displacement for the requested mode (m_id) for the flexible body specified (f_id). This function can be used in your model as a valid MotionSolve expression.

Q(f_id, m_id)

## Arguments

f_id
The ID of the flexible body in the model.
m_id
The mode ID whose displacement is requested.
Note: m_id > 6, that is, the expression is only supported for non-rigid body modes.

## Example

<Post_Request
id                  = "2"
type                = "EXPRESSION"
label               = "Modal displacement"
expr2               = "Q(30102,7)"
expr3               = "Q(30102,8)"
expr4               = "Q(30102,9)"
expr6               = "Q(30102,10)"
expr7               = "Q(30102,11)"
expr8               = "Q(30102,12)"
/>