|
[Sponsors] |
March 26, 2012, 17:48 |
Is there a limit for CEL expression length?
|
#1 |
New Member
Join Date: Mar 2012
Posts: 1
Rep Power: 0 |
Hello.
In my model, I use a rather long CEL expression for temperature. It should be a periodic function with not very trivial shape, and I want to avoid user subroutines in fortran. I tried to specify the shape using CEL and with if-expressions. However, I get an error message (something with "exceeds normal size", can't tell off of my head). If I remove a part of the expression, everything works OK. If I add a piece again, I get the error message. I've checked the syntax several times and think that there is no syntax errors. Hence I suspect that I hit some limit of the CEL expression length. Is there such limit? If yes, what is the value? Any help will be much appreciated! |
|
March 26, 2012, 18:54 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
I am not sure whether it is a length restriction or a complexity restriction (ie how many functions an expression has), but I am sure there is a restriction.
In that case split the CEL expression into several variables to simplify the expression. |
|
March 27, 2012, 03:20 |
|
#3 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
Yep, there's a limit. Cant remember the exact limit, but one of my expressions had about 30 nested if-statements which worked. If you need the exact limit I suggest you contact Ansys.
|
|
Tags |
cel expression, maximum length |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem About Running Fluent In Linux | mitra | FLUENT | 18 | June 20, 2019 03:11 |
Turbulence length scale and integral length scale | rizhang | CFX | 2 | April 22, 2016 08:22 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 18:23 |