|
|
You can specify anisotropic diffusion coefficients in both fluid and solid zones by defining the tensor diffusion coefficient matrix
(Equation
8.6-1) 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.
|
|
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 which 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 8.6.1).
Materials
In the UDS Diffusion Coefficient dialog box, select a scalar equation (e.g., 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.
Anisotropic Diffusivity
For anisotropic diffusivity, you can specify
in Equation
8.6-1 in the form
where
is a constant
matrix in 3D and
is a scalar multiplier.
The diffusion coefficient matrix is specified as
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 (e.g., uds-0) from the User-Defined Scalar Diffusion list in the UDS Diffusion Coefficients dialog box (Figure 8.6.1). Then choose anisotropic in the drop-down list under Coefficient. This will open the Anisotropic UDS Diffusivity dialog box (Figure 8.6.2).
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 Sections 8.2.1, 8.2.2, and 8.2.3 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 separate UDF Manual.
Orthotropic Diffusivity
For orthotropic diffusivity, you can specify
in Equation
8.6-1 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
|
|
For two-dimensional problems, only the functions
|
To specify orthotropic diffusion coefficients, first select a scalar equation (e.g., uds-0) from the User-Defined Scalar Diffusion list in the UDS Diffusion Coefficients dialog box (Figure 8.6.1). Then choose orthotropic in the drop-down list under Coefficient. This will open the Orthotropic UDS Diffusivity dialog box (Figure 8.6.3).
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 Sections
8.2.1,
8.2.2, and
8.2.3 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 separate UDF Manual.
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 (e.g., uds-0) from the User-Defined Scalar Diffusion list in the UDS Diffusion Coefficients dialog box (Figure 8.6.1). Then choose cyl-orthotropic in the drop-down list under Coefficient. This will open the Cylindrical Orthotropic UDS Diffusivity dialog box (Figure 8.6.4).
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 Sections 8.2.1, 8.2.2, and 8.2.3 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 separate UDF Manual.