CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Grouping expressions in CEL

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2011, 03:28
Default Grouping expressions in CEL
  #1
Disabled
 
Join Date: Aug 2011
Posts: 10
Rep Power: 15
foo7 is on a distinguished road
Salut!

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
foo7 is offline   Reply With Quote

Old   September 21, 2011, 07:56
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,844
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
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.
ghorrocks is offline   Reply With Quote

Old   September 21, 2011, 08:14
Default
  #3
Disabled
 
Join Date: Aug 2011
Posts: 10
Rep Power: 15
foo7 is on a distinguished road
But this reordering follows which criteria?

Alphabetical?
foo7 is offline   Reply With Quote

Old   September 21, 2011, 08:45
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,844
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I do not know, I have never bothered to work it out.
ghorrocks is offline   Reply With Quote

Old   September 21, 2011, 10:15
Default
  #5
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21
singer1812 is on a distinguished road
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.
singer1812 is offline   Reply With Quote

Reply

Tags
cel, expressions, group


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
derivative in CEL expressions alinik CFX 103 April 19, 2024 04:54
Time Step and CEL expressions for Mesh Deformation rbarrett CFX 3 July 6, 2011 11:13
Cel expressions RAMAN6089 CFX 13 December 1, 2009 00:17
Cel expressions for trasient problem Jervds CFX 0 March 4, 2008 11:03
CEL Expressions Nick CFX 3 September 25, 2007 15:54


All times are GMT -4. The time now is 01:42.