Mathematical & Physical Foundations
Thermodynamics, transport theory, continuum mechanics, and reaction-diffusion systems as applied to living trees
0.1 Irreversible Thermodynamics
Classical equilibrium thermodynamics describes states of minimal free energy, but living trees are perpetually out of equilibrium—they drive fluxes of water, carbon, nitrogen, and signals across steep gradients. The correct framework is non-equilibrium thermodynamics, pioneered by Lars Onsager and Ilya Prigogine.
Entropy Production
The local rate of entropy production per unit volume, \(\sigma\), measures irreversibility. For a system with multiple simultaneous fluxes:
where \(J_i\) are generalised fluxes (water flow, heat flow, ion current) and \(X_i\) are the conjugate thermodynamic forces (pressure gradient, temperature gradient, electrochemical potential gradient). The inequality is the second law: entropy can only be produced, never destroyed locally.
Expanding for a tree: the full entropy production includes transpirational water flow\(J_w X_w\), carbon assimilation \(J_C X_C\), ionic transport across membranes\(J_{ion} X_{ion}\), and heat dissipation \(J_q X_q\):
Linear Phenomenological Laws
When the system is close to equilibrium (small forces), fluxes are linear functions of all forces:
The matrix \(L_{ik}\) contains the phenomenological coefficients. Diagonal terms \(L_{ii}\)couple each flux to its conjugate force (e.g., Darcy's law, Fourier's law). Off-diagonal terms\(L_{ik}\) describe cross-effects: the Soret effect (temperature gradient drives mass flux), electroosmosis (pressure gradient drives ion current), and thermoosmosis.
Onsager Reciprocal Relations
Onsager (1931) proved from microscopic time-reversal symmetry that the phenomenological matrix is symmetric:
This is profoundly useful: it reduces the number of independent measurements needed, and constrains cross-coupling in biological membranes. For the water–solute system in a semipermeable membrane:
where \(L_p\) is the hydraulic conductivity, \(\sigma_s\) is the reflection coefficient (Staverman), \(\omega\) is the solute permeability, and \(\Delta \pi\) is the osmotic pressure difference. The Onsager symmetry gives \(L_{ws} = L_{sw} = -L_p \sigma_s C_s\).
0.2 Diffusion and Transport
Fick's First Law
The molar flux of species \(i\) down its concentration gradient is:
where \(D\) is the diffusion coefficient (m\(^2\) s\(^{-1}\)). In wood,\(D\) is highly anisotropic: diffusion along the grain (axial direction) is 10–100× faster than radially or tangentially, because cell lumina and pit apertures are oriented axially. The diffusion tensor becomes diagonal in the principal material directions (L, R, T):
Fick's Second Law
Combining Fick's first law with mass conservation \(\partial c / \partial t + \nabla \cdot \mathbf{J} = 0\):
The fundamental solution (Green's function) in 1D for an instantaneous point source at the origin is:
where \(M\) is the total amount released per unit area. The characteristic diffusion length scales as \(\ell \sim \sqrt{4Dt}\), showing that diffusion is inefficient over long distances—the reason trees invest in bulk flow systems (xylem, phloem).
The Péclet Number
The Péclet number compares advective to diffusive transport:
When \(\mathrm{Pe} \gg 1\), bulk flow dominates and concentration profiles are sharp (convection-dominated). When \(\mathrm{Pe} \ll 1\), diffusion smooths gradients rapidly. In the phloem sieve tube, xylem sap velocity \(v \approx 1\) mm s\(^{-1}\), path length \(L \approx 10\) m,\(D_{sucrose} \approx 5 \times 10^{-10}\) m\(^2\) s\(^{-1}\), giving\(\mathrm{Pe} \approx 2 \times 10^{7}\)—completely advection dominated.
Advection–Diffusion Equation
Including both bulk flow velocity \(\mathbf{v}\) and a source/sink term \(R\):
This equation governs carbon transport in phloem, ion transport in xylem sap, and hormone signalling throughout the tree body.
0.3 Continuum Mechanics for Wood
Stress and Strain Tensors
The Cauchy stress tensor \(\boldsymbol{\sigma}\) has components \(\sigma_{ij}\) representing the traction in direction \(j\) acting on a surface with normal in direction \(i\):
in the longitudinal (L), radial (R), and tangential (T) wood directions. Angular momentum balance requires \(\sigma_{ij} = \sigma_{ji}\), so there are 6 independent stress components.
The linearised strain tensor for small deformations from displacement field \(\mathbf{u}\):
Orthotropic Elasticity of Wood
Wood is an orthotropic material with three planes of symmetry (LR, LT, RT). The generalised Hooke's law relating the 6-component strain vector to the 6-component stress vector via the compliance matrix \(\mathbf{S}\) (9 independent constants):
The 9 independent elastic constants are: 3 Young's moduli (\(E_L, E_R, E_T\)), 3 shear moduli (\(G_{LR}, G_{LT}, G_{RT}\)), and 3 independent Poisson's ratios (\(\nu_{LR}, \nu_{LT}, \nu_{RT}\)). Typical softwood values: \(E_L \approx 12\) GPa, \(E_R \approx 1.5\) GPa,\(E_T \approx 0.8\) GPa. The extraordinary longitudinal stiffness arises from aligned cellulose microfibrils in the dominant S2 cell wall layer.
Stress–Strain Behaviour of Wood
In the elastic region the slope gives Young's modulus \(E_L\). Wood yields when the cell wall buckles (in compression) or when bonds in the middle lamella fail (in tension). Fracture is often catastrophic in tension, but progressive in compression (kinking of fibres).
0.4 Reaction–Diffusion Systems & Turing Instability
Many spatial patterns in tree development—wood ray spacing, stomatal patterning, leaf venation— arise from reaction-diffusion (RD) mechanisms. The canonical two-component system is:
where \(u\) is the activator and \(v\) the inhibitor. Alan Turing (1952) showed that a homogeneous steady state stable to spatially uniform perturbations can be destabilised by diffusion when \(D_v \gg D_u\) (the inhibitor diffuses much faster). This counterintuitive result is the Turing instability.
Linear Stability Analysis
Let \((u_0, v_0)\) be the homogeneous steady state. Perturb:\(u = u_0 + \tilde{u} e^{\lambda t + i\mathbf{q}\cdot\mathbf{x}}\),\(v = v_0 + \tilde{v} e^{\lambda t + i\mathbf{q}\cdot\mathbf{x}}\). The linearised system gives the dispersion relation:
where \(\mathbf{A}_q = \mathbf{J} - q^2 \mathbf{D}\), \(\mathbf{J} = \begin{pmatrix} f_u & f_v \\ g_u & g_v \end{pmatrix}\) is the Jacobian at steady state, and\(\mathbf{D} = \mathrm{diag}(D_u, D_v)\). A Turing instability requires:
- 1. \(\mathrm{tr}(\mathbf{J}) = f_u + g_v < 0\) (stable without diffusion)
- 2. \(\det(\mathbf{J}) = f_u g_v - f_v g_u > 0\) (stable without diffusion)
- 3. \(D_v f_u + D_u g_v > 0\) (cross-kinetics term dominates)
- 4. \((D_v f_u + D_u g_v)^2 > 4 D_u D_v \det(\mathbf{J})\) (sufficient disparity in diffusion)
The critical wavenumber at onset is \(q_c^2 = \sqrt{\det(\mathbf{J})/(D_u D_v)}\), giving a spatial wavelength \(\Lambda = 2\pi/q_c\). In cambial development, this mechanism may set the spacing of ray initials, with auxin as the activator and cytokinin as a faster-diffusing inhibitor.
0.5 Python: 1D Diffusion Simulation
We simulate Fick's second law in 1D using an explicit finite-difference scheme. The spatial domain represents the cross-section of a cell wall (0 to 100 nm). A pulse of solute is initialised at the left boundary and diffuses rightward.
Click Run to execute the Python code
Code will be executed with Python 3 on the server