Skip to content

Flow reactor volume and nominal residence time from tubing size and pump flows

rxn_flow_residence_time

Works out a flow reactor volume and its nominal residence time at the summed pump flow.

Runs
On the server
Level
Checked against a reference: 60-digit decimal arithmetic in a Python program, π by Machin's formula; a second implementation in Python by a separate agent of the same model family
Ask your assistant

What it is

Returns a reactor's volume and nominal residence time: the time to pass one reactor volume at the summed pump flow. Use when a reactor volume, or the tubing's inner diameter and length, and each pump's flow rate are known. Not for equivalents delivered by the pumps: use `rxn_flow_stoichiometry`. Not a measured mean residence time: expansion, dead volume and back-mixing are not modelled.

Field: Medicinal and synthetic chemistry.

What it does

You give

  • streams (required): Every stream fed to the reactor.
  • reactorVolume: The reactor's volume as stated (a chip's or a packed reactor's, or measured by filling). Must be above 0 mL. Optional.
  • tubing: Straight tubing as the reactor: its inner diameter and length. Optional.

No request is recorded for this tool.

Limits

  • Bench and process arithmetic on a reaction you write down.
  • Research and education software: it does not predict products or routes, check that the chemistry will work, or assess hazards.
  • Arithmetic on the reactor volume and pump flows you state.
  • The flow is the volumetric flow set at the pumps, summed; it is not the flow in the reactor.
  • Expansion or contraction on mixing, heating, pressure or gas evolution is not modelled, nor is dead volume in mixers, fittings or connecting lines, nor back-mixing or the residence-time distribution.
  • The time returned is the time to pass one reactor volume at the summed pump flow, not a measured mean residence time.
  • Tubing is taken as an empty straight cylinder of the inner diameter you state; coiling, packing and a chip's channels are not modelled (give a chip's or packed reactor's stated volume instead).
  • Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
Every input, with its units3 inputs
  • streams (required): Every stream fed to the reactor.
  • reactorVolume: The reactor's volume as stated (a chip's or a packed reactor's, or measured by filling). Must be above 0 mL. Optional.
  • tubing: Straight tubing as the reactor: its inner diameter and length. Optional.

The calculation

The method's equations, constants and worked example.

Flow reactor volume, summed pump flow and nominal residence timerxn-flow-residence-time@1.0.2

Equation 1

V = π d²/4 · L (through column-geometry), in mL: 1 mL = 1 cm³ = 10⁻⁶ m³

SymbolMeaning
Vreactor volume, mL
dtubing inner diameter (any length unit), m
Ltubing length (any length unit), m

Equation 2

ΣQ=ΣiQi
SymbolMeaning
ΣQsummed volumetric flow at the pumps, mL/min
Q_ipump flow rate of stream i, mL/min

Equation 3

τ=V/ΣQ
SymbolMeaning
τnominal residence time, min

A definition, not a model: the equation states what the quantity means. A different convention gives a different number.

Worked example

Worked example: one case of rxn-flow-residence-time@1.0.2, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • tubing.innerDiameter = 1 mm
  • tubing.length = 10 m
  • streams[0].name = A
  • streams[0].flowRate = 0.5 mL/min
  • streams[1].name = B
  • streams[1].flowRate = 0.5 mL/min

Steps

  1. V = 7.8539816 mL, from tubing.innerDiameter, tubing.length; by equation 1; gives reactorVolume.
  2. Q = 1 mL/min, from streams[0].flowRate, streams[1].flowRate; by equation 2; gives summedPumpFlowRate.
  3. tau = 7.8539816 min, from V, Q; by equation 3; gives nominalResidenceTime.

The working, as the case writes it:

V = π (1.0e-3 m)²/4 × 10 m = 2.5π × 1e-6 m³ = 2.5π mL = 7.853981… mL

ΣQ = 1.0 mL/min

τ = 2.5π min

Answer

reactorVolume = 7.8539816 mL

summedPumpFlowRate = 1 mL/min

nominalResidenceTime = 7.8539816 min

Where these values came from: our own exact-arithmetic script and a hand-worked case; worked by hand by Drybench (ruling, Q5).

At build the tool returned this answer within the tolerance the file states: every number relative 1e-12 (π in double precision on the tubing path); volume sources, names, statuses and codes exact.

Sources

No source is recorded for this tool's methods.

How it is checked

Level

Checked against a reference.

Checked against

Our own exact-arithmetic script and a hand-worked case.

Cases

No case set is linked to this version.

Not checked

The mean residence time, the residence-time distribution, expansion on mixing or heating, dead volume, coils, packing and chip geometry; 'space time' (Levenspiel, not read); vendor tubing tolerances.

Changes to its methods1 change
  • 24 November 2026, rxn-flow-residence-time@1.0.2: In 1.0.2 the shared qty in stored reference values gives NaN for a non-zero rational that rounds to 0, which the kit refuses whole as RESULT_OUTSIDE_DOUBLE_RANGE, as a value above the double range or a subnormal one already was. Every pinned output hash is unchanged.