V-HC-03 — finite slab, constant flux, adiabatic back

Tags: heat_conduction, heat_flux_bc, energy_balance

References:

  • Carslaw & Jaeger (1959) §3.8 (constant-flux slab series)

Problem statement

Complements the semi-infinite cases at LONG times: the thermal wave reaches the back face — the regime cone-calorimeter simulations actually live in. Constant q″ at the top face, insulated back; exact solution T = T₀ + (q″L/k)·φ(x̃, Fo) with φ from exact/slab_series.jl (C&J §3.8), x̃ = z/L from the adiabatic back face.

Two parameter-free exact targets beyond the profiles:

  • front–back plateau: ΔT → q″L/2k for Fo ≫ 1 (100 K here),
  • global energy: mean temperature rises exactly at q″/(ρcL) (0.25 K/s here).

Quantities of interest (n = 320)

QoIvalueexacterrortolerancewithin tolprovenance
L∞ T-profile error, Fo=0.10.00012250.00012250.006yesobserved 2.0e-3/1.5e-3/1.3e-3 K at Fo=0.1/0.5/1.5
L∞ T-profile error, Fo=0.59.172e-059.172e-050.006yesobserved 2.0e-3/1.5e-3/1.3e-3 K at Fo=0.1/0.5/1.5
L∞ T-profile error, Fo=1.58.139e-058.139e-050.006yesobserved 2.0e-3/1.5e-3/1.3e-3 K at Fo=0.1/0.5/1.5
front–back ΔT plateau, Fo=1.599.6999.691.155e-081e-05yessteady-shape plateau q″L/2k = 100 K between faces
mean-temperature rise (global energy)2002001.137e-131e-05yesexact constant q″/(ρcL) = 0.25 K/s; integrator-tolerance limited

V-HC-03 T_profiles

V-HC-03 T_profiles_error

V-HC-03 front_back_dT_history

V-HC-03 front_back_dT_history_error

V-HC-03 mean_T_history

V-HC-03 mean_T_history_error

V-HC-03 convergence

Comparison with other codes

The same case was solved with Gpyro 0.8200 at 201 nodes (Δz=0.1 mm); decks, outputs, and run provenance are committed under test/verification/reference/. Each code's error against the same exact solution is drawn below on a log scale, muted gray behind this solver's series — the signed linear-scale panel above shows where the error lives, this one compares magnitudes across codes.

V-HC-03 T_profiles_vs_codes_error

V-HC-03 front_back_dT_history_vs_codes_error

Wall times at every ladder rung against the reference runs. Resolutions and simulated spans differ where noted (details in reference/timings.csv), so cross-code timings are indicative rather than a controlled benchmark; rungs at a matched resolution are directly comparable.

V-HC-03 solve_time

Solution overlays including the other codes' points: Tprofilesvs_codes, frontbackdThistoryvs_codes.

Convergence

n_cellshwall (s)L2Linf
200.050.027380.023730.0314
400.0250.060570.0059350.007862
800.01250.12090.0014840.001966
1600.006250.15320.0003710.0004916
2000.0050.18250.00023720.0003141
3200.0031250.32719.254e-050.0001225

Observed order 2 (L2), expected 2.0.

Solver configuration

settingvalue
integratorKenCarp4 (default)
abstol1.0e-12
reltol1.0e-10