Initiate the Passive Scalar Spray

Set up and activate the passive scalar used to represent the amount of coating that is sprayed onto the tablets.

The passive scalar was set up previously, but must now be activated so that it tracks the tablet residence time within the conical spray.
  1. Select the Continua > Physics DEM > Models > Lagrangian Multiphase > Lagrangian Phases > tablet > Models > Passive Scalar node and set User Source Option to Scalar rate with inferred density.
    Simcenter STAR-CCM+ adds the Composite node and its accompanying Spray Residence Time sub-node (based on the name of the Passive Scalar already set previously).
  2. Select the Passive Scalar > Passive Scalar Source Density Inferred node and set Method to Composite.
  3. Select the Composite > Spray Residence Time node and set the following properties:
    Property Setting
    Method Field Function
    Scalar Function zoneSprayZone_Particles
    The field function zoneSprayZone_Particles has been specially prepared for this tutorial. zoneSprayZone_Particles specifies that the passive scalar is applied to tablets that pass through the conical spray volume:
    ($$ParcelCentroid("CylSprayZone")[2] > 0.0 &&
    $$ParcelCentroid("CylSprayZone")[2] < 0.49517673612559787 &&
    $$ParcelCentroid("CylSprayZone")[0] < 0.05+0.5048702448262621*
    $$ParcelCentroid("CylSprayZone")[2] ) ? 1.0 : 0.0

    A tablet receives spray for as long as its centroid is within the conical volume. The tablet can enter the volume multiple times. The passive scalar value increases for each time-step in which the tablet remains within the spray volume.