You can define volumetric sources of mass (for single or multiple species), momentum, energy, turbulence, and other scalar quantities in a fluid zone, or a source of energy for a solid zone. This feature is useful when you want to input a known value for these sources. (For more complicated sources with functional dependency, you can create a user-defined function as described in the separate Fluent Customization Manual.) To add source terms to a cell or group of cells, you must place the cell(s) in a separate zone. The sources are then applied to that cell zone. Typical uses for this feature are listed below:
A flow source that cannot be represented by an inlet,
for example, due to an issue of scale. If you need to model an inlet
that is smaller than a cell, you can place the cell where the tiny
“inlet” is located in its own fluid zone and then define
the mass, momentum, and energy sources in that cell zone. For the
example shown in Figure 6.19: Defining a Source for a Tiny Inlet, you
should set a mass source of and a momentum source of
, where
is the cell volume.
Heat release due to a source (for example, fire) that is not explicitly defined in your model. For this case, you can place the cell(s) into which the heat is originally released in its own fluid zone and then define the energy source in that cell zone.
An energy source in a solid zone, for conjugate heat transfer applications. For this case, you can place the cell(s) into which the heat is originally released in its own solid zone and then define the energy source in that cell zone.
A species source due to a reaction that is not explicitly included in the model. In the above example of simulating a fire, you might need to define a source for a species representing smoke generation.
Important: Note that if you define a mass source for a cell zone, you should also define a momentum source and, if appropriate for your model, energy and turbulence sources. If you define only a mass source, that mass enters the domain with no momentum or thermal heat. The mass will therefore have to be accelerated and heated by the flow and, consequently, there may be a drop in velocity or temperature. This drop may or may not be perceptible, depending on the size of the source. (Note that defining only a momentum, energy, or turbulence source is acceptable.)
All positive source terms indicate sources, and all negative source terms indicate sinks. All sources must be specified in SI units.
To define one or more source terms for a zone, follow these steps (remembering to use only SI units):
In the Fluid Dialog Box or Solid Dialog Box, turn on the Source Terms option.
Set the appropriate source terms under the Source Terms tab, noting the comments below.
To specify a source, click the button next to the mass, momentum, energy, or other source. The sources dialog box will open where you will define the number of sources. For each source, choose none, constant, or New Input Parameter... in the drop-down list.
If you do not want to specify a source term for a variable, choose (or keep) none in the drop-down list next to the relevant field. This is the default for all variables.
To specify a constant source, choose constant in the drop-down list and then enter the constant value in the field.
To specify a new source parameter, choose New Input Parameter... in the drop-down list and enter the Name or the parameter and the Current Value as a constant.
Remember that you should not define just a mass source without defining the other sources, as described in Defining Mass, Momentum, Energy, and Other Sources. above.
Since the sources you specify are defined per unit volume, to determine the appropriate value of your source term you will often need to first determine the volume of the cell(s) in the zone for which you are defining the source. To do this, you can use the Volume Integrals Dialog Box.
If you have only one species in your problem, you can simply define a Mass source for that species. The units for the mass source are . In the continuity equation (Equation 1–1 in the Theory Guide), the defined mass source will appear in the
term.
If you have more than one species, you can specify mass sources for each individual species. There will be a total Mass source term as well as a source term listed explicitly for each species (for example, h2, o2) except the last one you defined. If the total of all species mass sources (including the last one) is 0, then you should specify a value of 0 for the Mass source, and also specify the values of the nonzero individual species mass sources. Since you cannot specify the mass source for the last species explicitly, ANSYS Fluent will compute it by subtracting the sum of all other species mass sources from the specified total Mass source.
For example, if the mass source for hydrogen in a hydrogen-air mixture is 0.01, the mass source for oxygen is 0.02, and the mass source for nitrogen (the last species) is 0.015, you will specify a value of 0.01 in the h2 field, a value of 0.02 in the o2 field, and a value of 0.045 in the Mass field. This concept also applies within each cell if you use user-defined functions for species mass sources.
The units for the species mass sources are . In the conservation equation for a chemical species (Equation 7–1 in the Theory Guide), the defined mass source will appear in the
term.
To define a source of momentum, specify the X Momentum, Y Momentum, and/or Z Momentum term. The units for the momentum source are N/. In the momentum equation (Equation 1–3 in the Theory Guide), the defined momentum source will appear in the
term.
To define a source of energy, specify an Energy term. The units for the energy source are W/. In the energy equation (Equation 5–1 in the Theory Guide), the defined energy source will appear in the
term.
To define a source of or
in the
-
equations, specify the Turbulent Kinetic Energy or Turbulent Dissipation Rate term. The units for the
source are kg/m-
and those for
are kg/m-
.
The defined source will appear in the
term on the right-hand side of the turbulent kinetic energy equation (for example, Equation 4–39 in the Theory Guide).
The defined source will appear in the
term on the right-hand side of the turbulent dissipation rate equation (for example, Equation 4–40 in the Theory Guide).
To define a source of modified turbulent viscosity, specify the Modified Turbulent Viscosity term. The units for the modified turbulent viscosity source are kg/m-. In the transport equation for the Spalart-Allmaras model (Equation 4–15 in the Theory Guide), the defined modified turbulent viscosity source will appear in the
term.
To define a source of or
in the
-
equations, specify the Turbulent Kinetic Energy or Specific Dissipation Rate term. The units for the
source are kg/m-
and those for
are kg/
-
.
The defined source will appear in the
term on the right-hand side of the turbulent kinetic energy equation (Equation 4–70 in the Theory Guide).
The defined source will appear in the
term on the right-hand side of the specific turbulent dissipation rate equation (Equation 4–71 in the Theory Guide).
To define a source of ,
, or the Reynolds stresses in the RSM transport equations, specify the Turbulence Kinetic Energy, Turbulence Dissipation Rate, Specific Dissipation Rate, UU Reynolds Stress, VV Reynolds Stress, WW Reynolds Stress, UV Reynolds Stress, VW Reynolds Stress, and/or UW Reynolds Stress terms. The units for the
source and the sources of Reynolds stress are kg/m-
, and those for
are kg/m-
.
The defined Reynolds stress sources will appear in the term on the right-hand side of the Reynolds stress transport equation (Equation 4–204 in the Theory Guide).
The defined source will appear in the
term on the right-hand side of Equation 4–232 in the Theory Guide.
The defined will appear in the
term on the right-hand side of Equation 4–235 in the Theory Guide.
To define a source of the mean mixture fraction or its variance for the non-premixed combustion model, specify the Mean Mixture Fraction or Mixture Fraction Variance term. The units for the mean mixture fraction source are , and those for the mixture fraction variance source are
.
The defined mean mixture fraction source will appear in the term in the transport equation for the mixture fraction (Equation 8–4 in the Theory Guide).
The defined mixture fraction variance source will appear in the term in the transport equation for the mixture fraction variance (Equation 8–5 in the Theory Guide).
If you are using the two-mixture-fraction approach, you can also specify sources of the Secondary Mean Mixture Fraction and Secondary Mixture Fraction Variance.
To define a source for the P-1 radiation model, specify the P1 term. The units for the radiation source are W/, and the defined source will appear in the
term in Equation 5–18 in the Theory Guide.
Note that, if the source term you are defining represents a transfer from internal energy to radiative energy (for example, absorption or emission), you must specify an Energy source of the same magnitude as the P1 source, but with the opposite sign, in order to ensure overall energy conservation.
To define a source of the progress variable for the premixed combustion model, specify the Progress Variable term. The units for the progress variable source are kg/-s, and the defined source will appear in the
term in Equation 9–1 in the Theory Guide.
To define a source of NO, HCN, or for the NOx model, specify the no, hcn, or nh3 term. The units for these sources are kg/
-s, and the defined sources will appear in the
,
, and
terms of Equation 14–1, Equation 14–2, and Equation 14–3 in the Theory Guide.
You can specify source term(s) for each UDS transport equation you have defined in your model. See Setting Up UDS Equations in ANSYS Fluent for details.