### 15.5.27. torque

Returns the torque on a 2D locator about the specified axis. The force calculated during evaluation of the torque function has the same behavior as the force function. For details, see force. You can select the fluids involved in the calculation.

    [<Phase>.]torque_[<Axis>[_<Coord Frame>] ]()@<Location>

where:

- `[<Phase>.]` is an optional prefix that is not required for single-phase flows. For details, see CEL Functions with Multiphase Flow.

- `<Axis>` is x, y, or z

- `<Coord Frame>`

- `<Location>` is any 2D region (such as a wall). If the location specified is not 2D, an error is raised.

#### 15.5.27.1. Tools > Command Editor Example

    >calculate torque, <Location>, <Axis>, [<Phase>]

#### 15.5.27.2. Tools > Function Calculator Example

This example calculates the torque on `Plane1` about the Z axis due to all fluids in the domain.

Function: `torque`, Location: `Plane1`, Axis: `Global Z`, Phase: `All Fluids`

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