CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Grouping expressions in CEL (

foo7 September 21, 2011 02:28

Grouping expressions in CEL

Well, in my current work I have already written more than 50 different expressions on the "Expression" menu. And still need to write another bunch of them.

As it is now, it has become confusing to me to work with so many different expressions.
I'd like to know if you guys could help.
Is there a way to create different groups of expressions, so they would be separated?
What I mean is, I would take like 5 similar expressions and would group them in a expressions group called "Group 1". Then do the same for a "Group 2", and so on.
Is it possible?

If not do know what can I do???

Thanks a lot

ghorrocks September 21, 2011 06:56


Is there a way to create different groups of expressions, so they would be separated?
No. And CFX-Pre likes reordering equations so any ordering you do it quickly demolished. Very annoying.

If you have lots of expressions I recommend you keep them in a CCL file by itself and only edit it with a text editor. Then you can order it as you like, and include comments and other nice stuff. As soon as it goes into CFX-Pre it throws away all the comments and mixes up the order.

foo7 September 21, 2011 07:14

But this reordering follows which criteria?


ghorrocks September 21, 2011 07:45

I do not know, I have never bothered to work it out.

singer1812 September 21, 2011 09:15

I think it is alphabetical and also base on capitalizations (capital alphabitized first, then small alphabitized after).

One trick I do if I need to have a certain group of expressions together and handy at the top is to use AA_ in front of the expression. This puts it at the top of the list. You could take this further if you wish.

All times are GMT -4. The time now is 04:28.