Is there a limit for CEL expression length?
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 ifexpressions. 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! 
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. 
Yep, there's a limit. Cant remember the exact limit, but one of my expressions had about 30 nested ifstatements which worked. If you need the exact limit I suggest you contact Ansys.

All times are GMT 4. The time now is 22:12. 