CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF: different diffusivities for different uds

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

LinkBack Thread Tools Display Modes
Old   May 4, 2001, 08:11
Default UDF: different diffusivities for different uds
Elmar Riesmeier
Posts: n/a
Hi there,

I need to provide different diffusivities for different user defined scalars, but FLUENT only offers 1 udf to be used to specify a diffusion coefficient. Has anybody a suggestion how to create scalar-dependent diffusivities? Thanks for your help.

  Reply With Quote

Old   May 6, 2001, 19:53
Default Re: UDF: different diffusivities for different uds
Greg Perkins
Posts: n/a
The index, last parameter, (see udf manual) specifies which uds the diffusivity is for. Thus write something like

if (k == 0)

return diff_for_uds_0 if (k == 1)

return diff_for_uds_1 etc...

So you can have different isotropic diffusivities for each scalar. Anisotropy . . . that's another matter.

  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
uds flux - drift velocity - udf johnwinter Fluent UDF and Scheme Programming 3 November 25, 2017 05:07
connection between udf and uds a.maroofi Fluent UDF and Scheme Programming 1 September 19, 2010 08:46
Associating profile files for the UDS though a UDF Bharath FLUENT 0 December 1, 2006 16:58
UDS & UDF geg FLUENT 0 May 25, 2006 12:06
UDF Adjust to redefine UDS Diffusivity David harvey FLUENT 4 February 27, 2004 08:47

All times are GMT -4. The time now is 20:35.