CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

CFX basic language

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2011, 17:23
Default CFX basic language
  #1
Senior Member
 
navid
Join Date: Jan 2010
Posts: 110
Rep Power: 16
ndabir is on a distinguished road
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
ndabir is offline   Reply With Quote

Old   August 16, 2011, 17:34
Default
  #2
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
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
Far is offline   Reply With Quote

Old   August 16, 2011, 17:47
Default
  #3
Senior Member
 
navid
Join Date: Jan 2010
Posts: 110
Rep Power: 16
ndabir is on a distinguished road
Thanks for your response. so you mean in order to implement any code to cfx, the language of the code should be in Fortran?
ndabir is offline   Reply With Quote

Old   August 16, 2011, 19:34
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   August 17, 2011, 12:04
Default
  #5
Senior Member
 
navid
Join Date: Jan 2010
Posts: 110
Rep Power: 16
ndabir is on a distinguished road
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?
ndabir is offline   Reply With Quote

Old   August 17, 2011, 19:43
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 20:52.