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

Compiler for UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2002, 01: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, 01: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, 02: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, 03: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, 07: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, 20: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 13:43
Fortran compiler Erik Siemens 2 November 28, 2008 20:05
Intel compiler for linux x86 marcus Siemens 1 November 9, 2006 16:43
Fluent 6.2 and gcc compiler in Sun Blade 2500 Nitu Gupta FLUENT 8 April 29, 2005 13:58
Fortran compiler Arnab Siemens 5 September 14, 2004 03:59


All times are GMT -4. The time now is 13:52.