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

Grouping expressions in CEL

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 21, 2011, 02:28
Default Grouping expressions in CEL
  #1
New Member
 
Join Date: Aug 2011
Posts: 10
Rep Power: 6
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, 06:56
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,929
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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, 07:14
Default
  #3
New Member
 
Join Date: Aug 2011
Posts: 10
Rep Power: 6
foo7 is on a distinguished road
But this reordering follows which criteria?

Alphabetical?
foo7 is offline   Reply With Quote

Old   September 21, 2011, 07:45
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,929
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I do not know, I have never bothered to work it out.
ghorrocks is offline   Reply With Quote

Old   September 21, 2011, 09:15
Default
  #5
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 495
Rep Power: 11
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
derivative in CEL expressions alinik CFX 59 July 16, 2014 23:31
Time Step and CEL expressions for Mesh Deformation rbarrett CFX 3 July 6, 2011 10: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 14:54


All times are GMT -4. The time now is 00:37.