Technical · implementations

Calculation environments

GNU Octave, C++17 and Julia are independent sibling implementations with complementary scientific-development and runtime roles. They are not the numerical methods themselves, and no engine is the numerical truth.

active sibling

GNU Octave

The transparent high-level sibling: MATLAB-compatible scientific inspection, rapid numerical development and the broadest current workflow coverage.

active sibling

C++17

The ahead-of-time compiled sibling: explicit type/data-layout and build/runtime control, standalone execution and a path toward deployment/HPC studies, with independent FDM/FEM/FVM resolved-case paths.

FDM/FEM/FVM fixed-geometry native verification passed

Julia

The high-level JIT sibling combines scientific expression with type-specialised compilation and natively verified FDM/FEM/FVM fixed-geometry paths. Geometry-changing FVM remains unpromoted. Governed P1/P2 measurements cover the declared numerical scope.

Computational contract

How a resolved case reaches a history

Method identity, physical case, temporal configuration and engine identity remain separate. GNU Octave and C++ are active sibling implementations; Julia FDM/FEM/FVM fixed geometry have passed native verification; Geometry-changing Julia FVM remains unpromoted. Their coverage may differ, but none is designated as the scientific truth or permanent backend of another.

The multi-engine strategy serves two purposes: independent implementation verification and deliberate exploration of language/runtime trade-offs. Engine-specific strengths can be retained where they are useful as the project matures, provided equivalent numerical contracts and reproducible evidence are preserved.

The downstream multi-engine consolidation validates histories before protected comparisons, and a neutral post-processing set can represent partial case/method/engine coverage without selecting a golden engine.

  1. Resolve the physical caseGeometry, material laws, sources, boundaries, interface data and process schedule become solver-ready inputs.
  2. Select method and engineFDM, FEM or the restricted FVM path is selected independently from an available engine. GNU Octave and C++ are active today; Julia FDM/FEM/FVM fixed geometry are natively verified for the frozen engine-neutral reference cases; Geometry-changing Julia FVM remains unpromoted.
  3. Build the spatial right-hand sideFluxes, assembly, boundary closures, interface exchange and source terms are evaluated by the method adapter.
  4. Advance the stateThe shared temporal service applies Forward Euler or AB2 according to the run specification and history policy.
  5. Write evidence-bearing outputsTemperature histories, diagnostics and comparison metadata remain distinct from claims of physical validation.

Scientific tooling

Why Python is used

Python is an active supporting language in Multiphysics, but it is not currently one of the calculation engines that implements the FDM/FEM/FVM solution path. Instead, it provides scientific infrastructure around the engines and the project evidence.

Current Python tooling covers configuration and governance validation, material-data preparation and review, package/export isolation, provenance and freeze checks, semantic/naming validation, diagnostics and reference calculations, and cross-engine output comparison.

Python is useful in this role because these tasks depend heavily on automation, file and structured-data processing, schema/metadata checks and reproducible command-line workflows. Keeping them outside the calculation engines also helps the verification layer remain neutral: for example, Python compares GNU Octave and C++ histories above both engines rather than making either implementation the reference backend.

The role is therefore complementary. GNU Octave and C++ address current independent numerical execution; Julia now supplies native FDM/FEM/FVM fixed-geometry evidence on the frozen engine-neutral reference cases; Python helps prepare inputs, audit contracts, compare evidence and preserve reproducibility around those executions.

Python output is not treated as automatically authoritative merely because it is independent. Its scripts remain subject to the same provenance, review and evidence boundaries as the rest of the research software.