CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   How to create and compile UDF? (https://www.cfd-online.com/Forums/fluent-udf/146752-how-create-compile-udf.html)

e.m.sabry January 6, 2015 06:31

How to create and compile UDF?
 
i had ansys fluent code 14 windows 7 32 bit
how and where i can write a udf step by step?
i read interpret and compile chapters in ansys help but i still feeling confused.
do i need a vs program or there is another way?
thanks for helping

Sun January 7, 2015 01:56

You don't need a specific program to write your UDF. You can simply write your own code using any text editors, for instance notepad in windows. Remember to save the file with .c extension (e.g. myudf.c), since after all UDFs are c codes.
Also, have a look at Chapter 3 of the UDF manual for a step-by-step example.
cheers!

e.m.sabry January 8, 2015 01:31

thanks a lot sun
 
i get your message
thanks a lot.
best regards.
e.m.sabry


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