Help, I don't understand how to convert my "passive scalar" to ppm

Since the sources are currently “Volumetric scalar sources”, the generation of scalar is based on the volume of the boxes contained in the flow domain. At the moment a good chunk of the volume of the boxes is out of the computational domain (inside of the ‘head’ of each person).

I’ll come up with some fictitious numbers just to exemplify:

  • Let’s say that the full volume of each box is 1 m3 at the moment
  • However, let’s say that only 0.1 m3 is within the computational domain, the other 0.9 m3 are out of bounds
  • You have a flux of 5.187 1/m3.s. Let’s say you’re assuming this is in units of g/m3
  • The amount of scalar dissipated in each one of these boxes will be 5.187 g/m3.s*0.1m3 = 0.5187 g/s
  • The units in the post-processor for passive scalar would be g/m3 in this case
  • You’d have to work out the conversion formula from g/m3 to either mg/kg or mL/m3 (i.e. ppm)
  • Alternatively, you can set your flux directly in ppm to make the post-processor units be ppm as well

In short, the easiest way to achieve your objective is to determine the amount of scalar being dissipated per person (in mL), then determining how much volume of each cartesian box is currently within the flow domain (in m3), then dividing the scalar amount by the volume of each source (mL/m3) and defining this value as the volumetric flux. The values in the post-processor will be in ppm.

Cheers