For isotropic diffusion, in Equation 7–58 is equal to a scalar
times the identity matrix and the equation
reduces to
(7–59) |
You can specify isotropic diffusivity as a single user-defined function that applies to all UDS transport equations. For this case, choose user-defined from the drop-down list for UDS Diffusivity in the Create/Edit Materials Dialog Box.
Setup →
Materials
If you have previously loaded a compiled UDF library or have
interpreted the UDF, then the User-Defined Functions Dialog Box will open, allowing you
to hook the DEFINE_DIFFUSIVITY UDF to ANSYS Fluent.
If no functions have been loaded, you will get an error message. More
information about user-defined functions can be found in the Fluent Customization Manual.
Isotropic diffusion coefficients can also be defined on a per-scalar basis by selecting defined-per-uds from the drop-down list for UDS Diffusivity in the Create/Edit Materials Dialog Box. This will open the UDS Diffusion Coefficients Dialog Box (Figure 7.27: The UDS Diffusion Coefficients Dialog Box).
In the UDS Diffusion Coefficients Dialog Box,
select a scalar equation (for example, uds-0)
and then choose a constant, polynomial, or user-defined function from the Coefficient drop-down list. For the default fluid (air),
the constant diffusion coefficient is kg/m-s. If you choose polynomial, the Polynomial Profile Dialog Box will open and you can specify your coefficients as a function of
temperature. See Inputs for Polynomial Functions for details.
When you select the user-defined option,
the User-Defined Functions Dialog Box will open, allowing
you to hook a DEFINE_DIFFUSIVITY UDF only if you have previously loaded a compiled UDF library
or interpreted a UDF. Otherwise, you will get an error message. More
information about user-defined functions can be found in the Fluent Customization Manual.