CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Fluent UDF: Thru external input

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

LinkBack Thread Tools Display Modes
Old   March 26, 2008, 19:53
Default Fluent UDF: Thru external input
Posts: n/a
Hi Fluent users: Is it possible to create a UDF that will accept external input from a file (a table)? For example, if i wish to supply value of momentum source for each cell in the mesh at each time step by reading from a table whose structure may be a matrix like this:

cell t1 t2 t3

1 4 2 3

2 1 5 7

3 1 4 3

In this table, for cell #1 in the mesh, the source takes values 4,5,7 at time steps 1,2,3. The same for cells #2 and #3. In this table, # of time steps = #columns - 1 and each time step, source term value will change as given in the table.

I'd like to program this within the UDF itself. Or, I'd need to deactivate the time step input in the menu and program the time loop using "i" or "j" within the UDF itself. Is this possible?

Your comments are very welcome. Thanks very much.

  Reply With Quote


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
Input coal properties into Fluent Michael Tran FLUENT 3 September 4, 2007 14:42
Diffusion tensor as an input in fluent Bharath FLUENT 0 November 13, 2006 16:24
How to input dimensionless parameter in FLUENT Kwang-Su, Kim FLUENT 2 August 23, 2005 04:25
Input files for Fluent 5.4 Achilleas Tsompanos FLUENT 2 May 4, 2002 03:52
external radiant flux input than Phoenics 3 August 21, 2000 08:18

All times are GMT -4. The time now is 00:43.