Repository navigation
From exported data to a comparison report, and the analyses needed to compare an open-chamber and a pre-chamber engine.
Important
All new models are verified against closed-form results and manufactured solutions (see Verification). The library has still not been validated against engine or CFD measurements, and the ANSYS Forte readers have not yet been exercised on real exports. Status: alpha.
Highlights
- Case files and command line. One
case.tomlper case (geometry, operating point, fuel, trace file and column mapping, uncertainties) and thecombustacommand:inspectlists the columns of an export,comparewrites a Markdown report with the SHA-256 of every input, a metrics CSV, and an overlay figure. Generic reader for test-bench crank-angle tables. Format reference: docs/case-file.md. - Comparison at matched conditions.
combusta matched --ca50 DEG | --mbtcompares spark-timing sweeps at a common CA50 (monotone cubic interpolation, no extrapolation) or each configuration at its own MBT timing (quadratic fit of gross IMEP with the uncertainty of the vertex). - Two-volume pre-chamber analysis.
combusta prechamber: isentropic orifice flow with choking, open-system heat release of pre-chamber and main chamber, jet start and end, jet mass, heat-release split, and an effective discharge coefficient fitted to exported mass exchange. - Pressure-measurement uncertainty.
combusta measurement: TDC phasing, pegging offset, transducer gain, and noise propagated into every cycle metric, as a linear uncertainty budget (JCGM 100) and by Monte Carlo (JCGM 101). - CFD output checklist. docs/forte-output-checklist.md lists the outputs a simulation must write for these analyses, including a separate pre-chamber region and a spark-timing sweep.
Fixes
- Without a temperature trace the gas temperature is now reconstructed with a composition-dependent gas constant inside the heat-release iteration; the previous unburned-gas constant overstated the gross heat release of a hydrogen case at λ = 2 by 0.4 %.
- Case directories are written with LF line endings on every platform (#17).
Known limitations
- Each pre-chamber volume uses a frozen unburned-charge gas model (#13).
- Thermal shock is not part of the measurement-uncertainty model (#14).
- MBT is defined on gross IMEP (friction and pumping assumed independent of spark timing).
Planned work: v0.5.0 milestone.
Installation
python -m pip install "combusta @ git+https://github.com/alpztel/combusta.git@v0.4.0"The wheel and source distribution below are built by the release workflow and carry build provenance attestations.
Full list of changes: CHANGELOG.md · v0.3.0...v0.4.0