This section details the file output schemas, diagnostic CSV configurations, and ParaView post-processing workflows.
The solver exports spatial grid results in XML-based unstructured grid formats (.vtu and .pvtu), allowing parallel loading into ParaView.
When running in parallel using MPI, each rank writes its local mesh domain to an independent, binary-encoded .vtu file (e.g. flow_001000_P0000.vtu for Rank 0).
The master rank writes a central XML Parallel Unstructured Grid (.pvtu) file pointing to the partition files:
<?xml version="1.0"?>
<VTKFile type="PUnstructuredGrid" version="0.1" byte_order="LittleEndian">
<PUnstructuredGrid GhostLevel="0">
<PPointData Scalars="T" Vectors="velocity">
<PDataArray type="Float64" Name="T"/>
<PDataArray type="Float64" Name="velocity" NumberOfComponents="3"/>
</PPointData>
<PCellData>
<PDataArray type="Float64" Name="rho"/>
</PCellData>
<PPoints>
<PDataArray type="Float64" Name="Points" NumberOfComponents="3"/>
</PPoints>
<Piece Source="VTK/flow_001000_P0000.vtu"/>
<Piece Source="VTK/flow_001000_P0001.vtu"/>
</PUnstructuredGrid>
</VTKFile>
To prevent overwriting or breaking time-series animations upon restarting a simulation:
* When resuming a run (restart_from_file = .true.), the solver calls load_existing_pvd, which parses the existing flow.pvd file up to the restart step, preserving previous steps.
* When writing new steps, the solver appends new entries to the flow.pvd file, maintaining timeline continuity across restarts.
Numerical validation and conservation metrics are written directly to structured CSV files under the <output_dir>/diagnostics/ folder:
energy_diagnostics.csvMonitors thermal conservation and temperature recovery.
* step, time: Time-marching tracking parameters.
* min_T, max_T, mean_T: Temperature grid statistics ().
* min_h, max_h, mean_h: Sensible enthalpy statistics ().
* max_qrad: Peak radiative heat sink value ().
* rel_h_residual: Relative conservation balance deficit from energy operator updates.
chemistry_diagnostics.csvMonitors stiff reactor kinetics and subcycling metrics.
* step, time: CFD marching tracking parameters.
* chem_steps: Number of local CVODE reactor steps completed.
* max_dT, max_dY: Peak thermal and composition changes across the chemistry step.
* cache_hits, cache_misses: Diagnostic indicators measuring Cantera state-caching efficiency.
To perform quantitative validation of diffuse coflow flames against experimental profiles or 1D models:
flow.pvd file in ParaView.Filters -> Data Analysis -> Plot Over Line.File -> Save Data to write the line-resampled parameters (velocity, temperature, species mass fractions) to CSV files.