CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   CFX basic language (

ndabir August 16, 2011 16:23

CFX basic language
Hello everyone,

Does anybody know what is the basic language of cfx? I mean I want to write some codes in cfx and I would like to know what is the basic programing language? C or Fortran?

And also the part in cfx that I can implement my own code is CCL or CEL? I can't distinguish between them.

Thank you,


Far August 16, 2011 16:34

the basic language in which CFX is written is C as i guess, however if you want to implement your own code or expression then CFX uses fortran

ndabir August 16, 2011 16:47

Thanks for your response. so you mean in order to implement any code to cfx, the language of the code should be in Fortran?

ghorrocks August 16, 2011 18:34

The CFX solver is written in C and fortran. You can access the fortran component to do user fortran routines. But CCL and CEL are not "languages" but constructs used by CFX to allow the user to define a simualtion (CCL) or define expressions (CEL) without needing scripting or fortran. That is why few people use fortran, you can do most things with CCL and CEL.

ndabir August 17, 2011 11:04

Thanks for your reply. You mean instead of writing any code (like UDF in Fluent) I just need to use CCL and CEL to make some changes in the settings of software? And if I want to implement something that is not available in CFX I should use Fortran routine?

ghorrocks August 17, 2011 18:43

Not really. You use CCL to define the setup for a simulation. CEL is the expression language which can define most user functions. Only if you have a function or requirement which cannot be done in CEL should you consider fortran.

All times are GMT -4. The time now is 14:02.