V-GT-02 — steady compressible Darcy outflow (P² profile)
Tags: gas_transport, darcy, pressure_closure, steady
References:
- gas-reservoir P² solution (Muskat-form compressible Darcy, standard porous-media texts)
- technical reference Ch. 9 (wood-pyrolysis overpressure magnitudes)
Problem statement
The canonical porous-flow exact solution (gas-reservoir form): isothermal ideal gas, uniform volumetric generation ġ (zero-order gas-producing reaction at clamped T), sealed back at z = 0, Dirichlet pressure P∞ at z = L. The steady mass balance d/dz[(κM/μRT)·P·dP/dz] = −ġ integrates to
P²(z) = P∞² + (μRT·ġ/(κM))·(L² − z²), exit mass flux = ġ·L (exact)
Nonlinear in P; exercises the algebraic ideal-gas pressure closure, face mobility, Darcy upwinding, and the DirichletPressureBC outflow — all at once. The existing Darcy test only checks v = −(κ/μ)∇P pointwise.
Setup notes (the four pitfalls the survey flagged):
- P is NOT persisted in PyrolysisSolution: reconstructed per cell from sol.ξ/sol.T via porosity + idealgaspressure with the same material.
- Initial gas is seeded with backgroundgasconcentration so P(z,0) = P∞ (starting from ξ_gas = 0 would start from vacuum).
- μ in the exact profile is the code's own Sutherland value effectivegasviscosity(T_iso), not a hand-picked constant.
- λ = 0 on every component kills the Fickian term: pure Darcy outflow.
- ρintrinsic = 1e5 (φ = 0.99, verification-only value): solid→gas conversion frees pore volume at dφ/dt = ġ/ρintrinsic, and the gas stored in that new volume steals (P̄M/RT)/ρintrinsic of the exit flux — a mesh-independent bias (~3.6e-4 at ρintrinsic = 2000) that would floor the convergence study; at 1e5 it is ~7e-6, below discretization error. Permeability mixes on the renormalized solid basis, so κ_eff = κ exactly regardless of φ.
Timescales: pressure equilibrates in ≪ 0.1 s (gas inventory / production ≈ 0.07 s); compared at t = 1 s ≈ steady, with an explicit steadiness QoI.
Quantities of interest (n = 320)
| QoI | value | exact | error | tolerance | within tol | provenance |
|---|---|---|---|---|---|---|
| P² profile error / overpressure² scale | 0.0001915 | — | 0.0001915 | 0.0025 | yes | steady gas-reservoir parabola in P²; n=80 uniform |
| back-face pressure | 1.107e+05 | 1.107e+05 | 0.0001857 | 0.0025 | yes | overpressure ≈ 9351.0 Pa (wood-pyrolysis magnitude) |
| exit mass flux vs ġL | 0.05 | 0.05 | 7.248e-06 | 5e-05 | yes | parameter-free exact steady outflow |
| steadiness of exit flux | 1.471e-07 | — | 1.471e-07 | 1e-06 | yes | fill timescale ≈ 0.07 s ≪ t_end = 1 s |





Convergence
| n_cells | h | wall (s) | L2 | Linf |
|---|---|---|---|---|
| 20 | 0.05 | 0.007781 | 0.001734 | 0.002242 |
| 40 | 0.025 | 0.008283 | 0.001039 | 0.001314 |
| 80 | 0.0125 | 0.01421 | 0.000566 | 0.0007081 |
| 160 | 0.00625 | 0.02394 | 0.0002968 | 0.0003696 |
| 320 | 0.003125 | 0.06018 | 0.0001538 | 0.0001915 |
Observed order 0.8798 (L2), expected 1.0.
Solver configuration
| setting | value |
|---|---|
| integrator | KenCarp4 (default) |
| abstol | 1.0e-10 |
| reltol | 1.0e-8 |