Passive scalar sources can be used to simulate the propagation of spiecies like smoke from a burning car in a garage or the diffusion of dust or pollutants in a tunnel.
Passive scalar sources are implemented in the Passive Scalar Transport analysis. Please, see the documentation page for this type of analysis Passive Scalar Transport. The passive scalar source has to be assigned to a volume, defined through a geometry primitive (cartesian box, sphere and cylinder) or a cell zone (see the Surface Refinement section of Mesh settings for further details on how to create a cell zone). It is generally good practice to refine the mesh in the vicinity of the source, in order to better capture the dynamics of the flow and avoid convergence problems.
In the simulation tree navigate to “Advanced Concepts” and add a “Passive Scalar Source”. Two types of sources are supported:
This type of source is defined by a flux, which may be interpreted as a concentration per unit time. The user needs to specify the flux value and select the region previously defined.
This type of source is defined by a flux per unit volume. Consequently, the actual flux is implicitly computed using the volume of the source region. As in the first case, the user needs to specify the specific flux value and select the region previously defined.
The full setup is contained in this project: