7.6.2. Anisotropic Diffusion

You can specify anisotropic diffusion coefficients in both fluid and solid zones by defining the tensor diffusion coefficient matrix (Equation 7–58) on a per-scalar basis. You can use anisotropic diffusivity for UDS scalar transport equations to model species transport equations in porous media and in solids where species diffusion shows anisotropic behavior.


Important:
  • Note that the anisotropic diffusion options discussed in the following sections are available with the pressure-based solver and the density-based solvers.

  • UDS diffusion coefficients can be postprocessed only in those cells that have isotropic diffusivity. In all other cells, the diffusion coefficient will be zero.


In all cases, you enable anisotropic diffusion by selecting defined-per-uds under 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).

 Setup →   Materials

In the UDS Diffusion Coefficients Dialog Box, select a scalar equation (for example, uds-0) and then choose one of the following methods under Coefficient to specify the anisotropic diffusion coefficient. These methods are described in detail below.

7.6.2.1. Anisotropic Diffusivity

For anisotropic diffusivity, you can specify in Equation 7–58 in the form where is a constant matrix in 3D and is a scalar multiplier.

The diffusion coefficient matrix is specified as

(7–60)

where is the diffusivity and is a matrix (2 2 for two dimensions and 3 3 for three-dimensional problems). Note that can be a non-symmetric matrix.

To specify anisotropic diffusion coefficients, first select a scalar equation (for example, uds-0) from the User-Defined Scalar Diffusion list in the UDS Diffusion Coefficients Dialog Box (Figure 7.27: The UDS Diffusion Coefficients Dialog Box). Then choose anisotropic in the drop-down list under Coefficient. This will open the Anisotropic UDS Diffusivity dialog box (Figure 7.28: The Anisotropic UDS Diffusivity Dialog Box).

Figure 7.28:  The Anisotropic UDS Diffusivity Dialog Box

The Anisotropic UDS Diffusivity Dialog Box

In the Anisotropic UDS Diffusivity dialog box, enter the Matrix Components and then select the Diffusivity to be a constant, polynomial function of temperature (polynomial, piecewise-linear, piecewise-polynomial), or user-defined. See Inputs for Polynomial Functions, Inputs for Piecewise-Linear Functions, and Inputs for Piecewise-Polynomial Functions for details on polynomial temperature functions.

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.

7.6.2.2. Orthotropic Diffusivity

For orthotropic diffusivity, you can specify in Equation 7–58 through ’principal’ direction vectors and diffusion coefficients along these directions. ANSYS Fluent, in turn, computes from parameters that you supply. The principal directions are the same everywhere, but each of he directional diffusion coefficients can be specified as a constant, polynomial function of temperature, or through user-defined functions.

When orthotropic diffusivity is used, the diffusion coefficients in the principal directions are specified. The diffusivity matrix is then computed as

(7–61)


Important:  For two-dimensional problems, only the functions and the unit vector need to be specified.


To specify orthotropic diffusion coefficients, first select a scalar equation (for example, uds-0) from the User-Defined Scalar Diffusion list in the UDS Diffusion Coefficients Dialog Box (Figure 7.27: The UDS Diffusion Coefficients Dialog Box). Then choose orthotropic in the drop-down list under Coefficient. This will open the Orthotropic UDS Diffusivity dialog box (Figure 7.29: The Orthotropic UDS Diffusivity Dialog Box).

Figure 7.29:  The Orthotropic UDS Diffusivity Dialog Box

The Orthotropic UDS Diffusivity Dialog Box

Since the directions are mutually orthogonal, only the first two need to be specified for three-dimensional problems. is defined using X,Y,Z under Direction 0 Components, and is defined using X,Y,Z under Direction 1 Components. You can define Diffusivity 0 , Diffusivity 1 , and Diffusivity 2 as constant, polynomial, piecewise-linear, piecewise-polynomial functions of temperature, or user-defined. See Inputs for Polynomial Functions, Inputs for Piecewise-Linear Functions, and Inputs for Piecewise-Polynomial Functions for details on polynomial temperature functions.

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. 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.

7.6.2.3. Cylindrical Orthotropic Diffusivity

Orthotropic UDS diffusivity can also be specified on a per-scalar basis in cylindrical coordinates. This method is similar to orthotropic UDS diffusivity, except that the principal directions are specified as radial, tangential, and axial.

To specify cylindrical orthotropic diffusion coefficients, first select a scalar equation (for example, uds-0) from the User-Defined Scalar Diffusion list in the UDS Diffusion Coefficients Dialog Box (Figure 7.27: The UDS Diffusion Coefficients Dialog Box). Then choose cyl-orthotropic in the drop-down list under Coefficient. This will open the Cylindrical Orthotropic UDS Diffusivity dialog box (Figure 7.30: The Cylindrical Orthotropic UDS Diffusivity Dialog Box).

Figure 7.30:  The Cylindrical Orthotropic UDS Diffusivity Dialog Box

The Cylindrical Orthotropic UDS Diffusivity Dialog Box

In three-dimensional cases, the origin and the direction of the cylindrical coordinate system must be specified along with the radial, tangential, and axial direction conductivities. In two-dimensional cases, the origin of the cylindrical coordinate system must be specified along with the radial and tangential direction conductivities. Note that in two-dimensional cases, the direction is always along the +z axis. ANSYS Fluent will automatically compute the anisotropic diffusivity matrix at each cell from this input. The calculation is based on the location of the cell in the cylindrical coordinate system specified.

You can define the Radial Diffusivity, Tangential Diffusivity, and Axial Diffusivity as constant, polynomial, piecewise-linear, piecewise-polynomial, or as user-defined functions of temperature, using the drop-down list below each of the diffusivities. See Inputs for Polynomial Functions, Inputs for Piecewise-Linear Functions, and Inputs for Piecewise-Polynomial Functions for details on polynomial temperature functions.

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. 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.


Release 18.2 - © ANSYS, Inc. All rights reserved.