udfHasTurb()

Does this problem contain a turbulence equation?

Syntax

turbFlag = udfHasTurb( udfHd ) ;

Type

AcuSolve User-Defined Function Global

Parameters

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

Return Value

turbFlag (integer)
Flag indicating whether or not this problem has turbulence equation(s).
The return value is a flag indicating whether or not this problem has turbulence equations:
0
No
1
Yes

Description

This routine determines if this problem contains a turbulence equation. For example,
Integer turbFlag ;
...
turbFlag = udfHasTurb( udfHd ) ;
if ( turbFlag == 1 ) {
   /* Logic if turbulence equations exist */
   ...
)

Errors

This routine expects a valid udfHd.