CFX provides a range of mathematical, logical and operational operators as built-in functions to help you create complex expressions using the Expression details view.
Table 14.1: CEL Operators
|
Operator |
First Operand’s Dimensions [x] |
Second Operand’s Dimensions [y] |
Operands’ Values (Approx)[a] |
Result’s Dimensions |
|---|---|---|---|---|
|
-x |
Any |
|
Any |
[x] |
|
x+y |
Any |
[x] |
Any |
[x] |
|
x-y |
Any |
[x] |
Any |
[x] |
|
x*y |
Any |
Any |
Any |
[x]*[y] |
|
x/y |
Any |
Any |
|
[x]/[y] |
|
x^y (if y is a simple, constant, integer expression) |
Any |
Dimensionless |
Any[b] |
[x]^y |
|
x^y (if y is any simple, constant, expression) |
Any |
Dimensionless |
x > 0 |
[x]^y |
|
x^y (if y is not simple and constant) |
Dimensionless |
Dimensionless |
x > 0 |
Dimensionless |
|
!x |
Dimensionless |
|
false or true |
Dimensionless |
|
x <= y |
Any |
[x] |
false or true |
Dimensionless |
|
x < y |
Any |
[x] |
false or true |
Dimensionless |
|
x > y |
Any |
[x] |
false or true |
Dimensionless |
|
x >= y |
Any |
[x] |
false or true |
Dimensionless |
|
x == y |
Any |
[x] |
false or true |
Dimensionless |
|
x != y |
Any |
[x] |
false or true |
Dimensionless |
|
x && y |
Dimensionless |
Dimensionless |
false or true |
Dimensionless |
|
x || y |
Dimensionless |
Dimensionless |
false or true |
Dimensionless |