Introduction & Context

The pasteurization water‑bath residence‑time calculation determines the minimum time a product‑filled container must remain in a hot water bath so that the cumulative lethal effect (the “P‑value”) reaches a prescribed target. This is a core design tool in process‑engineering for dairy, juice, and other liquid‑food pasteurization lines, where the cold spot inside the container governs safety. The result is used to size conveyor speed, bath length, or to verify that an existing line meets regulatory lethality requirements.

Methodology & Formulas

The algorithm follows the physics implemented in the reference Python code, expressed with standard engineering symbols.

1. Define constants and geometry

\[ T_{\text{water}} = 85^{\circ}\text{C},\qquad T_{\text{init}} = 20^{\circ}\text{C},\qquad k = 0.6\,\text{W/m·K},\qquad \rho = 1000\,\text{kg/m}^{3},\qquad c_{p} = 4180\,\text{J/kg·K} \]

Thermal diffusivity: \[ \alpha = \frac{k}{\rho\,c_{p}} \]

Container dimensions (short cylinder): radius \(R\) and half‑height \(H\). Characteristic lengths are

\[ L_{c,\text{cyl}} = R,\qquad L_{c,\text{slab}} = H \]

2. Biot numbers (surface‑to‑volume heat‑transfer ratio)

\[ \text{Bi}_{\text{cyl}} = \frac{h\,R}{k},\qquad \text{Bi}_{\text{slab}} = \frac{h\,H}{k} \]

3. Fourier numbers (dimensionless time)

For a given elapsed time \(t\)

\[ \text{Fo}_{\text{cyl}} = \frac{\alpha\,t}{R^{2}},\qquad \text{Fo}_{\text{slab}} = \frac{\alpha\,t}{H^{2}} \]

4. Dimensionless center‑temperature solutions

Domain of validity: The formulas below assume the constant‑surface‑temperature limit (Bi → ∞). For practical engineering this is accurate when Bi > 40. If 0.1 ≤ Bi ≤ 40, the general Heisler series with Bi‑dependent eigenvalues must be used. If Bi < 0.1, a lumped‑capacitance model is sufficient.

Both slab and cylinder contributions are evaluated with a truncated Heisler series (first \(N\) terms). For the slab (infinite plane wall) the eigenvalues and coefficients are

\[ \lambda_{n}^{\text{slab}} = \frac{(2n-1)\pi}{2},\qquad A_{n}^{\text{slab}} = \frac{4(-1)^{\,n+1}}{(2n-1)\pi} \]

Resulting slab dimensionless temperature:

\[ \theta_{\text{slab}}(t) = \sum_{n=1}^{N} A_{n}^{\text{slab}}\, \exp\!\big[-(\lambda_{n}^{\text{slab}})^{2}\,\text{Fo}_{\text{slab}}\big] \]

For the cylinder (infinite solid cylinder) the eigenvalues are the positive zeros of the Bessel function \(J_{0}\) (denoted \(\lambda_{n}^{\text{cyl}}\)) and the coefficients are

\[ B_{n}^{\text{cyl}} = \frac{2}{\lambda_{n}^{\text{cyl}}\,J_{1}(\lambda_{n}^{\text{cyl}})} \]

Resulting cylinder dimensionless temperature:

\[ \theta_{\text{cyl}}(t) = \sum_{n=1}^{N} B_{n}^{\text{cyl}}\, \exp\!\big[-(\lambda_{n}^{\text{cyl}})^{2}\,\text{Fo}_{\text{cyl}}\big] \]

The overall dimensionless temperature at the geometric centre (product of the two solutions) is

\[ \theta_{\text{total}}(t) = \theta_{\text{cyl}}(t)\,\theta_{\text{slab}}(t) \]

5. Physical centre temperature

\[ T_{\text{center}}(t) = T_{\text{water}} + \bigl(T_{\text{init}}-T_{\text{water}}\bigr)\,\theta_{\text{total}}(t) \]

6. Lethal rate and cumulative P‑value

At each time increment \(\Delta t\) the instantaneous lethal rate is

\[ L(t) = 10^{\displaystyle\frac{T_{\text{center}}(t)-T_{\text{ref}}}{z}} \]

where \(T_{\text{ref}} = 85^{\circ}\text{C}\) (reference temperature) and \(z\) is the organism‑specific temperature increase that yields a ten‑fold change in lethality.

The cumulative P‑value after \(n\) steps is

\[ P(t) = \sum_{i=1}^{n} L(t_{i})\,\frac{\Delta t}{60} \]

(the division by 60 converts seconds to minutes). The calculation stops when

\[ P(t) \ge P_{\text{target}} \]

and the corresponding elapsed time \(t\) (converted to minutes) is the required residence time \(t_{\text{res}}\).

7. Translation to process parameters

If the bath length \(L_{\text{bath}}\) is known, the conveyor speed is

\[ v = \frac{L_{\text{bath}}}{t_{\text{res}}} \]

Conversely, for a fixed speed \(v\) the needed bath length is \(L_{\text{bath}} = v\,t_{\text{res}}\).

Empirical range checks

CriterionAcceptable RangeAction if violated
Water temperature \(T_{\text{water}}\)70 °C ≤ \(T_{\text{water}}\) ≤ 100 °CAdjust bath set‑point
Biot number \(\text{Bi}\)0.1 ≤ \(\text{Bi}\) ≤ 40Use lumped‑capacitance if \(\text{Bi}<0.1\); if \(\text{Bi}>40\) switch to constant‑surface series (this sheet)
Fourier number \(\text{Fo}\)\(\text{Fo}>0.2\) for first‑term approximationIncrease number of terms \(N\) or employ full series
z‑value \(z\)5 °C ≤ \(z\) ≤ 10 °C (typical microorganisms)Confirm organism‑specific data
Heat‑transfer coefficient \(h\)50 W/m²·K ≤ \(h\) ≤ 500 W/m²·K (agitated bath)Re‑evaluate agitation or bath geometry
Aspect ratio (height/diameter)≤ 5Refine geometric model (e.g., include end effects)

Summary of key equations

\[ \begin{aligned} \alpha &= \frac{k}{\rho\,c_{p}}\\[4pt] \text{Bi}_{\text{cyl}} &= \frac{h\,R}{k},\qquad \text{Bi}_{\text{slab}} = \frac{h\,H}{k}\\[4pt] \text{Fo}_{\text{cyl}} &= \frac{\alpha\,t}{R^{2}},\qquad \text{Fo}_{\text{slab}} = \frac{\alpha\,t}{H^{2}}\\[4pt] \theta_{\text{slab}}(t) &= \sum_{n=1}^{N}\frac{4(-1)^{n+1}}{(2n-1)\pi}\, \exp\!\big[-\big(\tfrac{(2n-1)\pi}{2}\big)^{2}\text{Fo}_{\text{slab}}\big]\\[4pt] \theta_{\text{cyl}}(t) &= \sum_{n=1}^{N}\frac{2}{\lambda_{n}^{\text{cyl}}J_{1}(\lambda_{n}^{\text{cyl}})}\, \exp\!\big[-(\lambda_{n}^{\text{cyl}})^{2}\text{Fo}_{\text{cyl}}\big]\\[4pt] \theta_{\text{total}}(t) &= \theta_{\text{cyl}}(t)\,\theta_{\text{slab}}(t)\\[4pt] T_{\text{center}}(t) &= T_{\text{water}} + (T_{\text{init}}-T_{\text{water}})\,\theta_{\text{total}}(t)\\[4pt] L(t) &= 10^{\displaystyle\frac{T_{\text{center}}(t)-T_{\text{ref}}}{z}}\\[4pt] P(t) &= \sum_{i} L(t_{i})\,\frac{\Delta t}{60}\\[4pt] t_{\text{res}} &: \; P(t_{\text{res}})\ge P_{\text{target}} \end{aligned} \]