|
[Sponsors] |
UDF: different diffusivities for different uds |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 4, 2001, 09:11 |
UDF: different diffusivities for different uds
|
#1 |
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 |
|
May 6, 2001, 20:53 |
Re: UDF: different diffusivities for different uds
|
#2 |
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 |
|
|
|
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 |