|
[Sponsors] |
August 16, 2011, 17:23 |
CFX basic language
|
#1 |
Senior Member
navid
Join Date: Jan 2010
Posts: 110
Rep Power: 16 |
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 |
|
August 16, 2011, 17:47 |
|
#3 |
Senior Member
navid
Join Date: Jan 2010
Posts: 110
Rep Power: 16 |
Thanks for your response. so you mean in order to implement any code to cfx, the language of the code should be in Fortran?
|
|
August 16, 2011, 19:34 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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.
|
|
August 17, 2011, 12:04 |
|
#5 |
Senior Member
navid
Join Date: Jan 2010
Posts: 110
Rep Power: 16 |
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?
|
|
August 17, 2011, 19:43 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX Treatment of Laminar and Turbulent Flows | Jade M | CFX | 18 | September 15, 2022 08:08 |
Different flow pattern between OpenFOAM and CFX | AirS | OpenFOAM | 0 | January 12, 2010 08:08 |
CFX basic training for a non-beginner | zebG | CFX | 3 | December 22, 2009 04:16 |
heat generation in CFX | Ema | CFX | 4 | August 7, 2009 06:39 |
CFX 10's solutions differ from CFX 5.7's | Atit Koonsrisuk | CFX | 4 | July 26, 2006 12:59 |