CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   which c language is used in UDF (http://www.cfd-online.com/Forums/fluent/32291-c-language-used-udf.html)

lingo October 9, 2003 04:28

which c language is used in UDF
 
Hello. I never learn c language before.I find Turbo c ,c++ and visual c++ in our library.Can anyone tell me which c language is appropriate in user-defined function.Thanks a lot!

calogero October 9, 2003 04:48

Re: which c language is used in UDF
 
Hello ! I think turbo C can make it ! but bear in mind that you'll be using variables (pointers ...etc) & macros that are proper (and most of the time IMPOSED) to FLUENT. so you won't go deep in C programming! bye

ap October 9, 2003 08:37

Re: which c language is used in UDF
 
Fluent uses the standard C language together with a set of macros which are specific of FLUENT, and defined in the header file "udf.h".

If you use interpreted UDF, you don't need any compiler, but you have some limitation in the language (see UDF manual for details).

If you need compiled UDF, on Windows platform, I'd suggest Microsoft Visual C++, because UDF Manual refers to it, and the makefile is written for that compiler.

Hi :)

ap



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