|
[Sponsors] |
July 31, 2002, 02:38 |
Compiler for UDF
|
#1 |
Guest
Posts: n/a
|
Hi,
I'm new in UDF, I've got a C code that I wanna introduce in Fluent for inlet velocity boundary condition. Which is the initial process, could anyone plz tell me. Where I need to code? Is there any builtin compiler in Fluent, if so how may I get into that? Help me? Alamgir |
|
July 31, 2002, 02:50 |
Re: Compiler for UDF
|
#2 |
Guest
Posts: n/a
|
Profile boundary conditions can only be implemented in FLUENT 5/6 using User-Defined Functions (UDF's). Take a look at the FLUENT 6 UDF Users Guide for examples on how this is done. Since you are familiar with C, it would be straightforward for you to translate your existing code into a FLUENT UDF.
|
|
July 31, 2002, 03:00 |
Re: Compiler for UDF
|
#3 |
Guest
Posts: n/a
|
Thanks Lane, could u plz show me path, in that way I can get into the compiler or I need to code the program in my desktop the import to Fluent?
Alamgir |
|
July 31, 2002, 04:05 |
Re: Compiler for UDF
|
#4 |
Guest
Posts: n/a
|
Go to the Fluent.com web site to find out what compiler you need for your platform. Then review the FLUENT documentation.
|
|
July 31, 2002, 08:28 |
Re: Compiler for UDF
|
#5 |
Guest
Posts: n/a
|
First thing you should include udf.h in c code. Then after opening fluent you go to define-> user defined->User defined function->interpreted
You will see menu for compiling. In that you have to give your udf file name with path. Most of fluent package will show default compiler (i.e. CC or cpp). You just compile your udf. Then in bc window you will able to see all functions you have defined in your UDF I hope this is useful to you. Rahul |
|
July 31, 2002, 21:44 |
Re: Compiler for UDF
|
#6 |
Guest
Posts: n/a
|
Thanksalot Rahul and Lanre, I'll follow that.
Alamgir |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Fortran compiler | Erik | Siemens | 2 | November 28, 2008 21:05 |
Intel compiler for linux x86 | marcus | Siemens | 1 | November 9, 2006 17:43 |
Fluent 6.2 and gcc compiler in Sun Blade 2500 | Nitu Gupta | FLUENT | 8 | April 29, 2005 14:58 |
Fortran compiler | Arnab | Siemens | 5 | September 14, 2004 04:59 |