UDS theory is described in the following sections:
For an arbitrary scalar , ANSYS Fluent solves
the equation
(8–1) |
where and
are
the diffusion coefficient and source term supplied by you for each
of the
scalar equations. Note that
is defined
as a tensor in the case of anisotropic diffusivity. The diffusion
term is therefore
For isotropic diffusivity, could be written
as
where I is the identity matrix.
For the steady-state case, ANSYS Fluent will solve one of the three following equations, depending on the method used to compute the convective flux:
If convective flux is not to be computed, ANSYS Fluent will solve the equation
(8–2) |
where and
are
the diffusion coefficient and source term supplied by you for each
of the
scalar equations.
If convective flux is to be computed with mass flow rate, ANSYS Fluent will solve the equation
(8–3) |
It is also possible to specify a user-defined function to be used in the computation of convective flux. In this case, the user-defined mass flux is assumed to be of the form
(8–4) |
where is the face
vector area.
Important: User-defined scalars in solid zones do not take into account the convective term with moving reference frames.
For multiphase flows, ANSYS Fluent solves transport equations
for two types of scalars: per phase and mixture. For an arbitrary scalar in phase-l, denoted by
, ANSYS Fluent solves
the transport equation inside the volume occupied by phase-l
(8–5) |
where ,
, and
are the volume fraction, physical density, and velocity
of phase-l, respectively.
and
are the diffusion
coefficient and source term, respectively, which you will need to
specify. In this case, scalar
is associated
only with one phase (phase-l) and is considered
an individual field variable of phase-l.
The mass flux for phase-l is defined as
(8–6) |
If the transport variable described by scalar represents the physical field that is shared between
phases, or is considered the same for each phase, then you should
consider this scalar as being associated with a mixture of phases,
.
In this case, the generic transport equation for the scalar is
(8–7) |
where mixture density , mixture velocity
, and mixture diffusivity for the scalar
are calculated according to
(8–8) |
(8–9) |
(8–10) |
(8–11) |
(8–12) |
To calculate mixture diffusivity, you must specify individual diffusivities for each material associated with individual phases.
Note that if the user-defined mass flux option is activated, then mass fluxes shown in Equation 8–6 and Equation 8–10 must be replaced in the corresponding scalar transport equations. For more information about the theoretical background of user-defined scalar transport equations, see User-Defined Scalar (UDS) Transport Equations in the Theory Guide.