|
[Sponsors] |
January 15, 2009, 16:16 |
How do I compile a UDF from a .c file?
|
#1 |
Guest
Posts: n/a
|
I'm very new to UDFs, and I have a .c file that I borrowed from someone. I don't know how to compile it.
Can someone point me in the right direction? |
|
January 16, 2009, 00:10 |
Re: How do I compile a UDF from a .c file?
|
#2 |
Guest
Posts: n/a
|
you need a c compiler and set the correct compiler environment as the compiler prespecified.
|
|
January 16, 2009, 00:33 |
Re: How do I compile a UDF from a .c file?
|
#3 |
Guest
Posts: n/a
|
I understand the basic concept... a pointer to a compiler would be great.
|
|
January 28, 2009, 11:39 |
Re: How do I compile a UDF from a .c file?
|
#4 |
Guest
Posts: n/a
|
Hello Travis
Fluent can compile UDFs, but it has to be launched from the command prompt if you're using a windows machine. Select the .c source file and press Build and Load (Define -> User Defined -> Function -> Compiled...) There will definitely be more info in the UDF Manual or this forum. Kris |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compile warning: no newline at end of file | mrt | FLUENT | 4 | December 5, 2007 04:48 |
compile of udf | ashraf | Main CFD Forum | 1 | March 15, 2007 15:05 |
Compile the UDF | Eric | FLUENT | 7 | August 18, 2006 14:46 |
Error when compile UDF file | Lee | FLUENT | 4 | May 3, 2005 06:52 |
compile the UDF | Li Jingping | FLUENT | 2 | April 14, 2003 21:18 |