CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Compiler for UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2002, 02:38
Default Compiler for UDF
  #1
Alamgir
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
  Reply With Quote

Old   July 31, 2002, 02:50
Default Re: Compiler for UDF
  #2
Lanre
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.
  Reply With Quote

Old   July 31, 2002, 03:00
Default Re: Compiler for UDF
  #3
Alamgir
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
  Reply With Quote

Old   July 31, 2002, 04:05
Default Re: Compiler for UDF
  #4
Lanre
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.
  Reply With Quote

Old   July 31, 2002, 08:28
Default Re: Compiler for UDF
  #5
Rahul
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
  Reply With Quote

Old   July 31, 2002, 21:44
Default Re: Compiler for UDF
  #6
Alamgir
Guest
 
Posts: n/a
Thanksalot Rahul and Lanre, I'll follow that.

Alamgir
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 19:31.