Verification framework and current evidence
The Multiphysics project separates numerical verification from physical validation. Numerical verification asks whether a mathematical and discrete formulation is implemented consistently and whether its numerical behaviour is understood. Physical validation asks whether the resulting model represents measured behaviour of the real process within a declared scope and uncertainty.
Agreement between two numerical methods or two programming-language implementations is useful evidence, but it is not experimental validation.
Evidence layers
The current verification strategy is deliberately layered. Different checks answer different questions and none is treated as a universal substitute for the others.
- Model contracts and invariants define the continuum meaning that every method and engine must preserve: units, signs, interface conservation, boundary-law meaning and state-transfer semantics.
- Method-level checks exercise discrete operators, assembly, source insertion, boundary closures, stability references and limiting cases.
- Analytical and manufactured/reference cases compare numerical output against a field or balance known independently of another solver.
- Conservation checks verify integrated energy/flux behaviour where the continuous problem supplies a conservation statement.
- Spatial and temporal refinement asks whether discrepancies decrease as the numerical resolution is refined.
- Cross-method comparison compares independent discretisations of the same continuous problem without designating one method as the exact solution.
- Cross-engine comparison compares independent software implementations of a nominally equivalent method using the same already-resolved input.
- Regression tests permanently lock in corrections for previously identified defects.
- Physical calibration and validation use traceable real-world observables and remain separate from synthetic numerical-verification cases.
FDM evidence presently represented in the source tree
The finite-difference verification surface includes several complementary checks.
tests/solvers/fdm/test_conservative_conduction.m exercises the conservative shared-face construction, exact face differencing, preservation of supplied physical boundary fluxes, positive reconstructed conductivity and the constant-conductivity linear-field limit.
tests/solvers/fdm/test_fourth_order_convergence.m uses a manufactured variable-conductivity problem. Its own accepted observed global convergence floor is 1.9. This is why the public FDM page describes fourth-order internal stencil ingredients without claiming that the complete active variable-conductivity operator is globally fourth order.
tests/solvers/fdm/test_steady_conduction_robin_refinement.m compares both FDM and FEM with an analytical one-dimensional steady conduction/Robin profile and checks the steady energy balance. Because the analytical solution is linear, the test uses the absolute finest-grid error as the meaningful criterion rather than treating an already near-exact linear field as an order-estimation exercise.
The interface-source tests add two further checks: test_interface_source_energy_conservation.m checks stored energy against known injected interface energy, while test_interface_source_convergence.m checks that the FDM–FEM interface-temperature gap decreases under refinement after the corrected interface-source treatment.
These files are evidence that the project has explicit verification procedures. This website does not convert their mere presence into a claim that every scientific gate has been rerun for every current source revision.
FEM evidence presently represented in the source tree
The finite-element verification surface covers assembly, physical-domain accounting and explicit-time stability references.
tests/solvers/fem/test_fem_domain_integrals.m checks that the active cell-centred P1 representation, including the two boundary half-cell completions, recovers the correct integrated thermal capacity and volumetric source over the physical domain for constant properties. It also checks an independently constructed nodal mesh against the same continuous-domain measures.
tests/solvers/fem/test_fem_stability.m checks the constant-property reference for linear P1 FEM with row-sum lumped mass and AB2. It verifies an assembled critical Fourier number approaching 1/4 and separates the scalar AB2 recurrence immediately inside and outside that negative-real-axis boundary. The test itself states that this is not a nonlinear stability proof.
tests/solvers/fem/test_fdm_fem_comparison.m is deliberately a diagnostic, not a regression tolerance. It compares complete canonical FDM and FEM space-time temperature histories symmetrically and explicitly treats neither method as the exact reference.
The accompanying VALIDATION-NOTES.md also draws an important evidence boundary: arithmetic reproduced independently during development can support the formulas used by the tests, but it does not by itself establish successful native execution of the complete GNU Octave stage engine.
Controlled cross-method studies
studies/numerical-verification/ provides a broader method-neutral verification layer. Its current-heating V0–V5 study asks whether the independent FDM, FEM and FVM spatial discretisations solve the same one-dimensional thermal problem consistently before any physical calibration.
The controlled cases separate equilibrium, cooling, bimaterial behaviour, Joule heating and post-heating redistribution. The heterogeneous verification material is intentionally synthetic and is not a calibrated steel. Solver degrees of freedom are projected independently to a method-neutral observation grid, with spatially weighted L2 and Linf temperature discrepancies plus separate interface, Robin-surface and maximum-temperature observables.
The quantitative refinement tier uses successive spatial resolutions while selecting a common method-independent timestep from the most restrictive active stability reference. No FDM, FEM or FVM solution is designated as the exact solution. These studies are classified as numerical verification, not physical validation.
Cross-method and cross-engine questions are different
Cross-method comparison asks whether different spatial discretisations approach the same continuous problem. For example, FDM and FEM should not be expected to produce identical numbers on a fixed coarse mesh because their discrete operators are different.
Cross-engine comparison asks whether independent software implementations of the same method produce sufficiently consistent output for the same resolved input. The current exchange layer under tools/cross-engine/ supplies both GNU Octave and C++ with multiphysics.resolved-thermal-case.v1 and compares multiphysics.temperature-history.v1 outputs without allowing either engine to call the other.
The comparison tooling reports quantities such as sample count, maximum and RMS temperature error, maximum-temperature difference and final-energy difference. Its current same-method tolerances are explicitly provisional development gates. Cross-language agreement is implementation-verification evidence; a defect shared by both engines would still be a defect.
Regression evidence
The project reserves tests/regression/ for permanent tests that lock in a correction after a specific bug has been identified. This is intentionally distinct from analytical/manufactured-solution correctness and from generic per-method numerical tests.
Some existing solver tests already document the defects that motivated them, such as the corrected interface-source sign/normalisation treatment. The dedicated regression directory remains a formal destination as the verification suite is reorganised.
Manufactured-solution programme
tests/manufactured/ is reserved for method-independent manufactured-solution problems with known analytical fields and source terms. The repository explicitly states that FDM and FEM should be migrated into this layer progressively and that FVM must pass this layer before production acceptance.
This means that the project already uses manufactured/reference reasoning in individual solver tests, but the method-independent manufactured-solution programme is not yet presented as complete.
Physical calibration and experimental validation
Physical calibration and validation are intentionally outside the numerical-verification studies. The current Flashing calibration study under studies/physical-calibration/flashing/ first requires a defensible definition of the observables to be calibrated and warns against tuning several entangled parameters before sensitivity and identifiability are understood.
Candidate observables include interface or near-interface thermal histories, electrical power, burn-off and stage timing, but only quantities supported by traceable source data should enter an objective function. Its expected outputs include an evidence ledger, sensitivity and identifiability analysis, calibrated parameters with uncertainty, and an independent validation case.
The website therefore does not claim that the complete flash-butt-welding model is experimentally validated. Acquiring suitable experimental data and independent validation evidence is one of the reasons the project actively seeks research collaboration.
Publication rule for verification claims
A future public verification result should identify, at minimum, the problem definition, physical inputs, numerical controls, method and engine revisions, spatial/time resolution, reference or comparison basis, error metrics, acceptance rule when one exists, and the source revision against which the result was reviewed.
A diagnostic without a rigid tolerance should remain labelled as a diagnostic. A cross-engine parity result should not be presented as physical validation. A calibration case should not be reused as its own independent validation case. These distinctions are part of the scientific meaning of the published result, not merely website wording.
Current public interpretation
The present project state supports a substantial numerical-verification programme for the one-dimensional thermal model, with active evidence around conservation, boundary/interface closures, refinement, stability and method/engine comparison. The evidence is still being consolidated into more method-independent verification suites.
Experimental calibration and independent physical validation remain separate future work. The project will only promote those claims when traceable experimental observables, uncertainty treatment and an independent validation case support them.