### 15.5.22. minVal

Returns the minimum value of the specified variable or expression on the specified locator. You should create a user variable if you want to find the minimum value of an expression.

    minVal(<Variable|Expression>)@<Location>

where:

- `<Variable|Expression>` is a variable or expression.

- `<Location>` is, in the context of CFX-Solver, a 2D region or 3D region (such as a domain or subdomain) or, in the context of CFD-Post, a Point object or a 1D, 2D, or 3D locator.

#### 15.5.22.1. Tools > Command Editor Example

    >calculate minVal, <Variable|Expression>, <Location>

#### 15.5.22.2. Tools > Function Calculator Example

These settings will return the minimum temperature in the domain:

Function: `minVal`, Location: `MainDomain`, Variable: `Temperature`

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