What you will build
A completely mixed settling basin with a plan area of 400 m², 3 m deep, receiving 2000 m³/day: an overflow rate of 5 m/day. You will settle one particle size class, then four (2, 5, 10 and 20 µm, with velocities from Stokes' law), then split the basin into five cells in series. Every stage is checked against the formulas of Module 8, and you will compare all of them with Hazen's ideal basin.
| Stage | What changes | What to look for | Saved as |
|---|---|---|---|
| 1 | one class (10 µm, \(v_s = 7.76\) m/day), completely mixed basin | \(C = C_{\text{in}}/(1 + v_s/v_0) = 9.80\) g/m³ | M8_stage1_one_class.ohq |
| 2 | + three more classes: 2, 5 and 20 µm | the same formula class by class; overall removal 45.3 % | M8_stage2_size_classes.ohq |
| 3 | the basin split into 5 cells in series | \(C = C_{\text{in}}(1 + x/5)^{-5}\); overall removal 52.4 %, ideal basin 61.3 % | M8_stage3_cells_in_series.ohq |
The system
| Item | Value |
|---|---|
| Basin | plan area \(A = 400\) m², depth \(H = 3\) m, volume \(V = 1200\) m³, completely mixed |
| Flow | \(Q = 2000\) m³/day in and out: overflow rate \(v_0 = Q/A = 5\) m/day, residence time \(\tau = 0.6\) day (14.4 h) |
| Particles | quartz (2650 kg/m³) at 20 °C; 25 g/m³ of each class in the inflow. Stokes' law (Module 8, Section 2) gives |
| P2 (2 µm) 0.31 m/day · P5 (5 µm) 1.94 m/day · P10 (10 µm) 7.76 m/day · P20 (20 µm) 31.05 m/day | |
| Sludge zone | a large block below the basin that collects what settles |
| Simulation | 0 to 3 days (about 13 residence times of the slowest-responding class) |
How OpenHydroQual represents settling: a Solid Particle constituent carries a settling velocity \(v_s\). A Settling element interface link between a block and a block with a lower bottom elevation moves particle mass downward at the rate \(v_s \times \text{(interface area)} \times C_{\text{upper block}}\). That is the settling flux \(v_sAC\) of Module 8, Section 4, so a well-mixed basin block loses particles as a first-order sink with \(k = v_s/H\).
Build: 1 Plugin 2 Particle 3 Basin 4 Outlet and sludge zone 5 Links 6 Settings
Stages: 1 One class 2 Four classes 3 Cells in series Checkpoints Explore Troubleshooting What to submit
1Start a model and load the Mass Transfer plugin
Start a new model and add the Mass Transfer plugin exactly as in the M1 guide, Step 1 (File → Preferences → Add plugin). It provides the Reactor block, the Fixed flow link and, new in this module, the Settling element interface link.


2Create a particle class: a Solid Particle
In M1 you created a dissolved Chemical constituent. Particles need a different type, because they also settle. Use Add Objects → Chemistry → Solid Particle.
| Property | Value | Meaning | |
|---|---|---|---|
| 1 | Name | P10 | the 10 µm class |
| 2 | Settling velocity | 7.76 m/day | \(v_s\) from Stokes' law: \(9.81(2650 - 998.2)(10^{-5})^2/(18\times1.002\times10^{-3}) = 8.98\times10^{-5}\) m/s |
3The basin: a Reactor block
Add a Reactor (as in M1, Step 3) and name it Basin. It is the completely mixed basin of Module 8, Section 4. This time the Bottom elevation matters: it tells OpenHydroQual which way is down.
| Property | Value | Meaning | |
|---|---|---|---|
| 1 | P10:Concentration | 0 g/m³ | initial concentration: the basin starts with clear water |
| 2 | P10:Constant Inflow concentration | 25 g/m³ | \(C_{\text{in}}\) of the 10 µm class |
| 3 | Initial Storage | 1200 m³ | \(V = A \times H = 400 \times 3\) |
| 4 | Bottom elevation | 0 m | the basin floor; the sludge zone will be below it |
| 5 | Constant Inflow | 2000 m³/day | \(Q\) |
| 6 | Name | Basin |
4The outlet and the sludge zone
Add an Outlet Reactor to the right of the basin exactly as in M1, Step 4 (Initial Storage 1e+06 m³, Bottom elevation 0). Then add a third Reactor below the basin for the settled particles:
The Sludge block is a bookkeeping device: its P10:Mass is the mass that has settled. Its large storage only keeps its "concentration" small; it plays no physical role. What matters is that its bottom elevation is lower than the basin's.
5Two links: outflow and settling
First draw a Fixed flow link from Basin to Outlet (as in M1, Step 5) with a flow rate of 2000 m³/day, equal to the inflow.
Then choose the Settling element interface icon in the Links toolbar and drag from Basin to Sludge.
| Property | Value | Meaning | |
|---|---|---|---|
| 1 | Interface area | 400 m² | the plan area \(A\) of the basin floor |
| 2 | Constant flow | 0 m³/day | no water crosses the interface; only particles fall through it |
| 3 | Length | 1 m (default) | used only for diffusion; no effect here |
For every particle class, this link now carries \(v_s \times 400 \times C_{\text{Basin}}\) g/day from the basin to the sludge zone. A dissolved Chemical constituent would not settle across it.
Why does the bottom elevation decide the direction?
6Simulation time and time step


The basin responds quickly: its rate constant is \(Q/V + v_s/H = 1.67 + 2.59 = 4.25\) day⁻¹ for P10, so it is at steady state within a day. Three days also covers the slowest class (P2, 1.77 day⁻¹).
Stage 1One size class
Save as M8_stage1_one_class.ohq, then Run Model (as in M1).


Before you look, predict the steady state with Module 8, Section 4 (a completely mixed basin, \(x = v_s/v_0\)):
\[ x = \frac{7.76}{5} = 1.552, \qquad C = \frac{C_{\text{in}}}{1 + x} = \frac{25}{2.552} = 9.80\ \text{g/m}^3, \qquad r = \frac{x}{1+x} = 60.8\ \%. \]
Where is the ideal basin in this picture?
Stage 2Four size classes
Save a copy as M8_stage2_size_classes.ohq. Add three more Solid Particle constituents (Step 2) and set:
| Name | Diameter | Settling velocity (m/day) | Basin: Constant Inflow concentration |
|---|---|---|---|
| P2 | 2 µm | 0.31 | 25 g/m³ |
| P5 | 5 µm | 1.94 | 25 g/m³ |
| P10 | 10 µm | 7.76 (already there) | 25 g/m³ |
| P20 | 20 µm | 31.05 | 25 g/m³ |
Compute the removal of each class and the overall removal, \(R = 1 - \sum C_i / (4 \times 25)\), and compare with Module 8, Example 4a. Then fill in the column for the ideal basin with \(r = \min(1, v_s/v_0)\): 6.2, 38.8, 100 and 100 %, overall 61.3 %.
Stage 3Five cells in series
Mixing hurt the removal in Stages 1–2. A long basin is closer to plug flow: split it into five completely mixed cells in series (Module 4, reactors in series), each with one fifth of the area and the volume.
What this represents. Stages 1–2 treated the basin as one completely mixed tank, like a small square pond stirred by wind. Real sedimentation tanks for water and wastewater (and many stormwater ponds) are long rectangular basins: water enters at one end and leaves at the other, and the water near the outlet has had more time to lose its particles than the water near the inlet. Cutting the basin into cells in series lets the concentration fall along its length. One cell is the mixed tank; many cells approach plug flow (Module 4); five is a reasonable picture of a real horizontal-flow basin with some mixing.
Save a copy of Stage 2 as M8_stage3_cells_in_series.ohq and rebuild the middle of it:
- Rename Basin to Cell1 and change its Initial Storage to 240 m³ (it keeps the inflow of 2000 m³/day at 25 g/m³ per class).
- Add four more Reactors, Cell2–Cell5: Initial Storage 240 m³, Bottom elevation 0, no constant inflow and inflow concentrations 0 (they are fed by the links).
- Fixed flow links Cell1 → Cell2 → Cell3 → Cell4 → Cell5 → Outlet, each 2000 m³/day (delete the old Cell1 → Outlet link).
- A Settling element interface from each cell to Sludge, each with an area of 80 m² (400/5) and constant flow 0.
Each cell has \(x/5\), so the effluent of Cell5 is predicted by
\[ C_5 = \frac{C_{\text{in}}}{(1 + x/5)^5}: \qquad \text{P10: } \frac{25}{(1 + 0.3104)^5} = 6.47\ \text{g/m}^3\ (74.1\ \%). \]
Checkpoints
Read these from your own runs; small differences in the last digit are normal. Because of the time step the model lags the formula during the first day (about 3 % low at 0.5 day, under 1 % from 1 day on), so compare from 0.5 day on and expect the early values to differ by more than the last digit.
| Stage | Quantity | Model | Formula |
|---|---|---|---|
| 1 | Basin P10 at 0.5 / 1 / 3 days (g/m³) | 8.40 / 9.59 / 9.80 | 8.63 / 9.66 / 9.80 |
| 1 | Sludge P10 mass at 3 days (g) | 84,100 | 84,100 |
| 2 | Basin P2 / P5 / P10 / P20 at 3 days (g/m³) | 23.40 / 17.99 / 9.80 / 3.47 | 23.42 / 17.99 / 9.80 / 3.47 |
| 2 | Effluent TSS (sum) and overall removal | 54.65 g/m³, 45.4 % | 54.68 g/m³, 45.3 % |
| 3 | Cell5 P2 / P5 / P10 / P20 at 3 days (g/m³) | 23.51 / 17.20 / 6.47 / 0.44 | 23.51 / 17.20 / 6.47 / 0.44 |
| 3 | P10 in Cell1 … Cell5 (g/m³) | 19.08 / 14.56 / 11.11 / 8.48 / 6.47 | 19.08 / 14.56 / 11.11 / 8.48 / 6.47 |
| 3 | Overall removal | 52.4 % | 52.4 % (ideal basin 61.3 %) |
The Stage 1 sludge mass agrees with the formula to within 0.01 %, and the settling rate after the first day to within 0.1 %.
Explore
Save a copy with File → Save as and change one thing at a time.
- Area, not depth. In Stage 2, double the basin's volume (2400 m³, a 6 m deep basin) without changing the interface area. Does the steady removal change? Then instead double the interface area (800 m²). Explain both with \(x = v_s/v_0\).
- A storm. Double the flow (inflow and link, 4000 m³/day). Predict the new effluent of each class before you run.
- Winter. Recompute the four settling velocities at 5 °C with Stokes' law (Module 8, Example 2b) and rerun Stage 2. By how much does the overall removal fall?
- More cells. Predict the Stage 3 removal for 10 cells with \(1 - (1 + x/10)^{-10}\). How close does it get to plug flow, and why can no number of mixed cells reach the ideal basin?
- Mass balance. In Stage 2, after 3 days compare the mass that entered with the mass in the basin, the Outlet and the Sludge zone, class by class.
Troubleshooting
| No settling: the basin goes to 25 g/m³. | The Sludge block's bottom elevation is not lower than the basin's, the interface area is 0, or the constituent is a Chemical constituent instead of a Solid Particle. |
| The basin empties, or the Sludge storage grows. | The interface's Constant flow is not 0, so water drains through it. Plot Basin Storage: it must stay at 1200 m³. |
| Almost everything settles, even P2. | The settling velocity unit is m/s instead of m/day (Step 2). |
| No Settling element interface icon. | The Mass Transfer plugin is not loaded (Step 1). |
| Stage 3 cells do not match the formula. | Check that only Cell1 has a constant inflow, every link carries 2000 m³/day, each cell is 240 m³ and each interface is 80 m². |
What to submit
- Your three
.ohqfiles. - One plot per stage (export or screenshot), with the formula's values tabulated beside the model's: Stage 1 at three times; Stages 2–3 at steady state for every class.
- A table of the removal of each class and the overall removal for: the completely mixed basin (Stage 2), five cells (Stage 3), plug flow \(1 - e^{-x}\) (by hand) and the ideal basin \(\min(1, x)\) (by hand).
- Short answers (2–4 sentences each): (a) Why does the Stage 1 basin remove only 60.8 % of the 10 µm particles when the ideal basin would remove all of them? (b) Why does splitting the basin into cells improve removal, and what is the limit? (c) Your result for one Explore item, with a sentence explaining it.
Submit everything in one PDF plus the .ohq files in Brightspace → Assignments → Modeling Assignment M8.