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

user-defined-function problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2001, 09:04
Default user-defined-function problem
  #1
kevin
Guest
 
Posts: n/a
i have many problem recently,about fluent's user-defined-function , for example : new subroutines are written to calculate the chemical reaction for this simulation , i used fluent's macro [DEFINE_UDS_FLUX(name ,face,thread,i)],but manual isn't explain kind of i vlave ,is zero or anynumber or anyword ~????

  Reply With Quote

Old   November 6, 2001, 17:18
Default Re: user-defined-function problem
  #2
fawzy
Guest
 
Posts: n/a
hi

DEFINE_UDS_FLUX (name, f, t, i)

i is integer : is the name of the UDF specified by you: i = 0 is associated with udf scalar-0

  Reply With Quote

Old   November 7, 2001, 22:24
Default Re: user-defined-function problem
  #3
Greg Perkins
Guest
 
Posts: n/a
This function is for defining the convective flux in the sclaar transport equation. For most cases you won't need to change from the default method and thus you normally won't need to use it.

For chemical reactions etc., the source term udf is most likely the best way to add sources of chemical species, energy and mass to the conservation equations.

If you want more info on this routine reply.

Greg
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
particle diameter (user defined function) eulerian nasser FLUENT 0 June 18, 2006 03:39
User defined function of mass flow rate Eric FLUENT 1 April 22, 2005 18:15
User Defined Function for convection coefficient ereiss FLUENT 1 July 8, 2004 16:10
Help: user defined function alice FLUENT 3 December 13, 2000 01:10


All times are GMT -4. The time now is 05:47.