CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   which c language is used in UDF (

lingo October 9, 2003 03: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 03: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 07: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 :)


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