Run these in order after each energy/thermo patch.
make clean
make release
make debug
Expected result: no Fortran interface mismatches and no missing .mod dependencies.
Run baseline cases with:
enable_energy = .false.
Expected result: flow/species diagnostics match the pre-energy baseline within normal floating-point tolerance.
Use:
enable_energy = .true.
nsteps = 0 or a minimal run
qrad = 0
Expected result:
T initialized to initial_T
h initialized consistently from T
qrad is zero
energy diagnostics and VTU/PVTU arrays are written
With Cantera thermo enabled, verify:
T_input -> h_sens(T,Y,p0) -> T_recovered
Expected result: recovered T matches the input within a small tolerance.
Use at least two fixed-temperature inlet patches with different species compositions.
Expected result: boundary enthalpy is evaluated from:
h_b = h(T_b, Y_b, p0)
not from the interior composition and not from the default bath-gas composition.
Use zero velocity and fixed hot/cold temperature boundaries.
Expected result: temperature evolves smoothly toward the expected conductive profile; conduction is driven by grad(T).
Use weak or zero conduction and advect a smooth enthalpy/temperature profile.
Expected result: scalar transport follows the flow direction with bounded numerical diffusion.
Enable species and energy, disable reactions, and keep qrad = 0.
Expected result:
Y_k remains bounded
sum(Y_k) remains controlled
T remains physical
h/T/Y fields vary smoothly
Compare centerline trends against a non-reacting Cantera 1D counterflow reference.
Expected result: qualitative trends should agree, but exact agreement is not expected until variable-density low-Mach coupling is implemented.
Before external radiation physics, add prescribed source modes:
uniform heating
uniform cooling
Gaussian heating/cooling
localized source
Expected result: the domain energy budget changes according to the volume integral of qrad.
Use a Cantera thermo case with profiling enabled:
enable_profiling = .true.
nested_profiling = .true.
Expected result after the combined thermo-sync optimization:
Energy_Cantera_PreSync
Energy_Cantera_PostSync
replace the older four-region pattern:
Energy_Cantera_PreRecoverT
Energy_Cantera_PreRefresh
Energy_Cantera_PostRecoverT
Energy_Cantera_PostRefresh
For species-disabled Cantera thermo runs, the pre-sync may be absent because composition does not change before the energy step.
Confirm that diagnostics remain physically equivalent before comparing runtime.