Fill out the form to download

Required field
Required field
Not a valid email address
Required field
Required field
  • Set up your own cloud-native simulation in minutes.

  • Documentation

    Passive Scalar Sources

    Passive scalar is a scalar quantity that is not actively involved in the flow physics of the CFD simulation. This is only ensured if the passive scalar source can be considered as a fluid with contaminants/species present in low concentration, getting transported with the fluid flow, thereby having a negligible effect on the thermophysical properties of the fluid.

    Hence, passive scalar sources can be used to model the propagation of species like smoke from a burning car in a garage, transport of oxygen within a water flow, or the diffusion of dust or pollutants in a tunnel. Another possible application of passive scalars is to model the mean age of a fluid, for example, air freshness analysis in a meeting room.

    It is important to note that, scalar transport does not assume any physical dimensions for passive quantities.

    Creating a Passive Scalar Source

    passive species in main simulation panel
    Figure 1: Create one or more passive species from the main simulation panel. One species can be assigned to one or more passive scalar sources.

    Next Steps

    • Under Initial Conditions, you should see a new entry Passive scalar. Keep its value at default Global 0.
    • Navigate to Model in the simulation tree to specify the turbulent Schmidt number and the diffusion coefficient for each passive scalar. Read more about them here.
    • In the simulation tree, navigate to Advanced Concepts and click on ‘+’ to add a Passive Scalar Source.

    The setup looks as shown in Figure 2:

    passive scalar source setting interface within the simscale platform needed for simulations
    Figure 2: Passive scalar source settings interface in SimScale. These can be set for each scalar individually by appropriately selecting the Passive scalar variable.
    • The passive scalar source can be assigned to a geometry primitive (cartesian box, sphere, cylinder, and point) or by directly assigning the CAD volumes.

    Note

    Passive scalar sources can also be assigned to faces of the simulation domain. This can be done while assigning boundary conditions. Check our knowledge base article for more details.

    Types of Passive Scalar Sources

    Two types of passive scalar sources are currently supported:

    Passive Scalar Source

    This type of source is defined by a flux, which may be interpreted as a concentration per unit time. In other words, it is the rate of change of the passive scalar, given by \(1/s\). The user needs to specify the flux value and select the source region. When using point/s as a geometry primitive each point will bear the concentration equivalent to

    $$\phi\times \frac{V_i}{V}$$

    Where,

    • \(\phi\) = specified flux value \([1/s]\)
    • \(V_i\) = volume of cell accompanying the individual point \([m^3]\)
    • \(V\) = sum of all cell volumes accompanying all points \([m^3]\) (same as \(V\) for single point)

    Volumetric Passive Scalar Source

    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 assigned. The flux is specified in \(1/m^3s\) or \(1/in^3s\). When using point/s as a geometry primitive the concentration is considered for the volume of the cell accompanying the point.

    $$\phi\times{V_i}$$

    Where,

    • \(\phi\) = specified flux value \([1/m^3s]\)
    • \(V_i\) = volume of cell accompanying the individual point \([m^3]\)

    Note

    It is important to understand the correct interpretation of the units used for passive scalar sources. Since passive scalars do not affect the dynamics of fluid flow, units for passive scalars are independent to the unit system of simulation. Thus one can define a passive scalar flux as 100 \(1/s\) and interpret it as a flux of 100 \(g/s\) or 100 \(kg/s\) as per one’s convenience. However, these interpreted units must be kept consistent throughout the simulation setup (for values specified in initial conditions, boundary conditions etc). The scale of the results will directly correspond to the absolute value of input variables.

    Example

    Consider the example of a car park with the car modeled as a box. The intention here is to control the CO (Carbon monoxide) contamination by simulating the CO as a passive scalar coming out of the car acting as a source. Hence, we define this car as a passive scalar source with a volumetric flux of 1 \(\frac{1}{m^3s}\). This value of ‘1’ can be taken as per your convenience, 1 \([gm]\) per car volume \([m^3]\) per second for example.

    passive scalar source car parking contamination
    Figure 3: Example of a volumetric passive scalar source applied to a car (highlighted with a blue box) to model its exhaust contamination (CO) in a parking lot.

    Using the Iso volume filter in the SimScale post-processor we can now observe the spread of the CO in the car park emanating from the car to evaluate the contamination caused and deduce conclusions on the safety based on the severity level.

    carbon monoxide (co) contamination in parking lot
    Figure 4: Observing the impact of CO exhaust from the car in the car park as described in Figure 3. Iso volumes can be a great way for filtering the regions exhibiting values within a certain range.

    It is advised that readers practice the following tutorials in order to get a good grasp of the above concept:

    Last updated: January 3rd, 2023

    Contents