Scientific Methods · Verification & Calibration Boundaries
HMSA SSF v2 multiphysics architecture and validation limits
This page documents the exact finite-volume transport equations solved by HMSA SSF v2, the numerical conservation checks enforced on every run, and the explicit boundary between software verification and physical wet-lab calibration.
1. Six-way discrete conservation (< 1e-10 drift)
Every simulation step tracks global inventories across six coupled physical domains: Carbon (C), Nitrogen (N), Liquid and Vapour Water (H2O), Oxygen (O2), Carbon Dioxide (CO2), and Thermal Enthalpy (J). Implicit Backward-Euler 3-D finite-volume linear systems (BiCGSTAB/PCG with sparse direct fallback) run with tight residual tolerances so discrete mass and energy balances hold below 1e-10 relative drift (measured at 5.40e-15 and 5.42e-15 on the reference corner bumper runs), with Numba-compiled and pure-NumPy kernels matching within 1e-12.
2. Coupled porous-bed transport kernels
| Sub-model | Physical formulation in SSF v2 |
|---|---|
| Dynamic wet-bed thermal properties | Four-phase porous mixture combining hemp hurd solid (0.062 W/(m*K)), liquid water (0.607 W/(m*K)), biofilm (0.220 W/(m*K)), and gas-filled pores (0.026 W/(m*K)) alongside moisture-dependent volumetric heat capacity Cvol(w). |
| Gas transport & pore clogging | Implicit Backward-Euler O2 and CO2 diffusion on the union cavity + vent domain using Millington-Quirk tortuosity (epsgas10/3 / phi2), biofilm pore-clogging attenuation, aerial surface skin sealing, blind-bore axial damping, and conservative downward CO2 buoyancy drift. |
| Moisture & evaporative cooling | Metabolic water generation (1.50 mg H2O / mg C), Tetens-Magnus saturation vapour pressure, lignocellulosic water-activity sorption isotherm, depth-attenuated surface and vent evaporation with 2.44 MJ/kg latent cooling, and zero-flux capillary moisture diffusion. |
| Mould wall & rack heat transfer | Separate boundary conductances for breathable top films (htop), conducting plastic mould walls (Uwall / hwall), and depth-attenuated vent walls (through-vents vs dead-end blind bores). |
| Continuum bed + hyphal skeleton | Volumetric continuum biomass field carries real bulk-crumble metabolic load and tracks aerobic competitor (Trichoderma) plus anaerobic bacterial wet-spot souring; a coupled 3-D mesoscale (~2.8 mm step) branching skeleton grows inside the cavity with zero wall, vent, or grain penetrations. |
| Post-harvest mechanical scaling | Gibson-Ashby cellular foam modulus scaling multiplied by fungal binding continuity, defect penalties (hypoxia, thermal stall, desiccation, contamination, anaerobic souring), and real net load-bearing cross-sectional area with circular-hole notch penalties. |
3. What is verified in software vs what requires wet-lab trials
| Subsystem | Verified in software today | Needs physical lab calibration |
|---|---|---|
| Conservation & numerics | 15 automated conservation pillars (< 1e-10 drift), zero geometry penetrations, deterministic seeds, exact STL voxel round-trip (IoU 1.0000). | None (exact mathematical property of the discrete solver). |
| Strain growth kinetics | Zero-leakage temporal train/test bootstrap calibration on three literature-reconstructed isothermal curves (R2 = 0.9817, 0.9673, 0.9626; Elsacker 2019/2020, Appels 2019, Jones 2020). | 4+ day wet-lab CSV (radial extension or dry mass) to replace published Pleurotus defaults with your proprietary strain and substrate mix. |
| 3-D thermal, gas & drying fields | Physically consistent Day 2 to 4 exothermic spikes, stacked-rack heat budgets, and vent-rim drying gates under literature transport priors. | Coupled physical validation against core thermocouples and harvest moisture readings in a controlled 3-tray trial (1 unvented control, 2 vented replicates). |
| Crush modulus (Ec) & shrinkage | Directional ranking across vent count, net load area, compaction density, and colonisation uniformity. | One measured baseline Instron crush modulus to anchor absolute MPa values to your substrate and press, plus kiln-dried dimension check. |
4. Literature references for default priors
- Elsacker, E. et al. (2019). Mechanical, physical and chemical characterisation of mycelium-based composites with different types of lignocellulosic substrates. PLOS ONE.
- Appels, F. V. W. et al. (2019). Fabrication factors influencing mechanical, moisture- and water-related properties of mycelium-based composites. Materials & Design.
- Jones, M. et al. (2020). Engineered mycelium composite construction materials from fungal biorefineries: A critical review. Materials & Design.
Help calibrate SSF v2 on a real production mould
HMSA is an independent project by Scott Benson (formerly a software developer at environmental sustainability consultancy Anthesis). Founding validation pilots are handled locally under NDA with zero cloud STL uploads.