2.4.1. CEL Functions, Constants and System Variables

2.4.1.1. CEL Standard Functions

The following is a list of standard functions that are available in Ansys TurboGrid.


Note:  [ ] denotes a dimensionless quantity. [a] denotes any dimensions of first operand.


Result

Function

Operands

[ ]

sin

([radian])

[ ]

cos

([radian])

[ ]

tan

([radian])

[radian]

asin

([ ])

[radian]

acos

([ ])

[radian]

atan

([ ])

[radian]

atan2

([ ],[ ])

[ ]

exp

([ ])

[ ]

loge

([ ])

[ ]

log10

([ ])

[a]

abs

([a])

[a^0.5]

sqrt

([a])

[ ]

step

([ ])

[a]

min

([a],[a])

[a]

max

([a],[a])

2.4.1.2. CEL Constants

The following predefined constants can be used within CEL expressions.

Constant

Units

Description

e

<none>

Constant: 2.7182817

g

m s^-2

Acceleration due to gravity: 9.806

pi

<none>

Constant: 3.1415927

R

J mol^-1 K^-1

Universal Gas Constant: 8.31447