|
[Sponsors] |
![]() |
![]() |
#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?
|
|
![]() |
![]() |
![]() |
#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 ... |
|
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem About Running Fluent In Linux | mitra | FLUENT | 18 | June 20, 2019 02:11 |
Importing solutions in CFX. | Alphonso | CFX | 1 | August 1, 2008 14:01 |
cfx expression variables | Manoj Kumar | CFX | 2 | February 16, 2006 10:03 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 17:23 |
CFX 4.4 installation problem | Pandu Sattvika | CFX | 1 | December 1, 2001 04:07 |