|
[Sponsors] |
December 22, 2008, 12:37 |
C++ in Cfx
|
#1 |
Guest
Posts: n/a
|
Dear Friends
can i use C++ in CFX? I would appreciate if some one give a hint thank you diego |
|
December 23, 2008, 06:32 |
Re: C++ in Cfx
|
#2 |
Guest
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. Regards, Johnson |
|
January 18, 2009, 23:04 |
Re: C++ in Cfx
|
#3 |
Guest
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. |
|
|
|
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 02: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 04:07 |