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, Navid |
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
|
Thanks for your response. so you mean in order to implement any code to cfx, the language of the code should be in Fortran?
|
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.
|
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?
|
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 03:51. |