A mussel bed is not simply a crowd of animals. It is a spatial system: neighbours can make attachment safer, while the same bed depletes food carried downstream.
1 · Biomass dynamics
∂B/∂t = DB∇²B + r f(C)B(1−B/K)
+ αB Lσ(B)(1−B/K)
− μB − βB Lℓ(B) − M(τ)B + s(1−B/K)
B is dimensionless mussel biomass. Short-range averaging Lσ represents local attachment and shelter; broader averaging Lℓ represents long-range competition. Diffusion represents limited local redistribution.
2 · Food transport
∂C/∂t + u∂C/∂x = DC∇²C
+ λ(C₀−C) − qBC
C is relative food availability. Advection carries food from left to right; filtration removes it where biomass is dense. The resulting food shadow can suppress growth downstream.
3 · Hydrodynamic stress
τb = ρ CD U²(1 + 0.8W)
τeff = τb exp(−χLσ(B))
ρ = 1025 kg m⁻³ (seawater density), CD = 0.003 (illustrative drag coefficient), U = current speed, W = wave-exposure index. The shelter factor reduces the local stress experienced inside a dense patch.
Numerical method
Coupled two-dimensional fields are advanced on a fixed grid using a Heun predictor–corrector scheme (second-order Runge–Kutta), explicit finite differences, upwind food advection and fixed-step render accumulation. Biomass and food are bounded to physically meaningful model ranges.
Independent textbook validation
For one-dimensional diffusion, a sinusoidal Fourier mode decays as A(t) = A₀ exp(−Dk²t). The engine's finite-difference result is checked against this analytical heat-equation solution using a separate periodic test.
ENGINE AMPLITUDE—
TEXTBOOK REFERENCE—
PERCENTAGE DIFFERENCE—
TEST DURATION—
TEXTBOOK check · D = 0.12 grid² day⁻¹ · 64-cell periodic domain · 5.0 days. This validates the diffusion solver, not the ecological calibration.
Assumptions & limitations
- Biomass and food are normalized; ecological coefficients are illustrative, not fitted to a named field site.
- Scale-dependent feedback is a reduced representation of facilitation and competition, not a species-specific population forecast.
- Hydrodynamic shear uses a quadratic drag estimate; wave orbital motion, bed roughness and three-dimensional turbulence are not resolved.
- Larval supply is a uniform source term; reproduction, size structure, predators, disease and seasonal forcing are omitted.
- Visual mussel counts and terrain are scaled representations of the grid fields.
Illustrative educational model, not affiliated with any real institution or manufacturer.