# udfHasFlow()

Does this problem contain flow equations?

## Syntax

flowFlag = udfHasFlow( udfHd ) ;

## Type

AcuSolve User-Defined Function Global

## Parameters

- udfHd
- The opaque handle (pointer) which was passed to the user function.

## Return Value

- flowFlag (integer)
- The return value is a flag indicating whether or not this problem has flow equations:
- 0
- No
- 1
- Yes

## Description

```
Integer flowFlag ;
...
flowFlag = udfHasFlow( udfHd ) ;
if ( flowFlag == 1 ) {
/* Logic if flow equations exist */
...
)
```

## Errors

This routine expects a valid udfHd.