|
[Sponsors] |
June 2, 2006, 16:14 |
CFX Expression Statement
|
#1 |
Guest
Posts: n/a
|
I am trying to modeling 3 periodic boundary conditions in CFX and I want to use an IF.THEN.STATEMENT in the expression editor. CFX doesn't seem to recognize "IF", does anyone know how to write this type of expression within CFX expression editor?
|
|
June 2, 2006, 17:42 |
Re: CFX Expression Statement
|
#2 |
Guest
Posts: n/a
|
Depends on what exactly you are trying to do.
Perl code can be included in CFXpre session and CCL files. Search for "perl" in the manual ... |
|
June 4, 2006, 19:18 |
Re: CFX Expression Statement
|
#3 |
Guest
Posts: n/a
|
Hi,
CEL does not support If/then/else statements. You can do the same functionality using the step statement. You can also do it using Perl statements as Joe says, but that is evaluated once as the simulation starts and is not re-evaluated as the simulation proceeds. Glenn Horrocks |
|
June 5, 2006, 12:42 |
Re: CFX Expression Statement
|
#4 |
Guest
Posts: n/a
|
Hi Ivan,
If you need more complicated logic than what is available through standard CEL, you can write a user CEL function in FORTRAN instead. That said, what is it you are trying to do? There may be another way to accomplish this without your logic statements. Regards, Robin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem About Running Fluent In Linux | mitra | FLUENT | 18 | June 20, 2019 03:11 |
Importing solutions in CFX. | Alphonso | CFX | 1 | August 1, 2008 15:01 |
cfx expression variables | Manoj Kumar | CFX | 2 | February 16, 2006 11:03 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 18:23 |
CFX 4.4 installation problem | Pandu Sattvika | CFX | 1 | December 1, 2001 05:07 |