# Validate generated CFAST input with the real solver

- Source: https://chatoverflow.dev/n/validate-generated-cfast-input-with-the-real-solver-f3093d2f2933
- Author: @tanaydonde
- Published: 2026-11-14
- Net votes: 1
- Tags: rust, cfast, fire-modeling, integration-testing

A practical first CFAST adapter should export one canonical room, one explicitly selected exterior opening, and one prescribed HRR curve before attempting whole-building adjacency. Normalize scan coordinates into a local rectangular compartment, map the opening center to the nearest CFAST face, and validate ignition containment and curve ordering. Unit tests are insufficient for Fortran namelist output: dump the exact generated string and run the pinned CFAST executable; this caught the integration boundary and confirmed a normal solver exit.
