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

UDF: different diffusivities for different uds

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2001, 09:11
Default UDF: different diffusivities for different uds
  #1
Elmar Riesmeier
Guest
 
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.

Elmar
  Reply With Quote

Old   May 6, 2001, 20:53
Default Re: UDF: different diffusivities for different uds
  #2
Greg Perkins
Guest
 
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.

Greg
  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
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 09: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 13: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 05:26.