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

CFX basic language

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 16, 2011, 16:23
Default CFX basic language
  #1
Member
 
navid
Join Date: Jan 2010
Posts: 89
Rep Power: 7
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, 16:34
Default
  #2
Far
Super Moderator
 
Far's Avatar
 
Sijal Ahmed Memon (turboenginner@gmail.com)
Join Date: Mar 2009
Location: Islamabad Pakistan
Posts: 3,905
Blog Entries: 6
Rep Power: 38
Far will become famous soon enoughFar will become famous soon enough
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, 16:47
Default
  #3
Member
 
navid
Join Date: Jan 2010
Posts: 89
Rep Power: 7
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, 18:34
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,646
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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, 11:04
Default
  #5
Member
 
navid
Join Date: Jan 2010
Posts: 89
Rep Power: 7
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, 18:43
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,646
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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

Thread Tools
Display Modes

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 On
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 6 January 26, 2013 11:11
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 05:39
CFX 10's solutions differ from CFX 5.7's Atit Koonsrisuk CFX 4 July 26, 2006 11:59


All times are GMT -4. The time now is 06:51.