CFD Online Logo CFD Online URL
Home > Forums > CFX

C++ in Cfx

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

LinkBack Thread Tools Display Modes
Old   December 22, 2008, 13:37
Default C++ in Cfx
Posts: n/a
Dear Friends

can i use C++ in CFX?

I would appreciate if some one give a hint

thank you

  Reply With Quote

Old   December 23, 2008, 07:32
Default Re: C++ in Cfx
Posts: n/a
It depends what you want to do.

If you want to call C/C++ routines that exist in a library from a User CEL Function or Junction Box Routine during the solver run, you should be able to do this quite easily.

If you type 'cfx5mkext -help' at the command line I think there is an example of doing this at the bottom of the help entry.


  Reply With Quote

Old   January 19, 2009, 00:04
Default Re: C++ in Cfx
Posts: n/a
Yes, this can be done.

The CFX solver is expecting to call a fortran function, but as long as you correctly account for name mangling, hidden string length arguments & pass by reference, it should work fine.
  Reply With Quote


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
[ICEM] Proper way to name boundaries on 2D model for use in CFX? RossFS ANSYS Meshing & Geometry 4 November 10, 2011 03:38
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 02:20
CFX pressure in Simulations problem nasdak CFX 1 April 14, 2010 13:22
PhD using CFX Rui CFX 9 May 28, 2007 05:59
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07

All times are GMT -4. The time now is 04:15.