Radical IDT criteria report a ~1e-11 s ignition delay for a condition that never ignites

Aperta
#239 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
53/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Read t3/simulate/cantera_idt.py around _simulate_idt_adjoint_sa, especially the guards in the max_dTdt and radical branches. Compare the ignition checks against the reported 800 K case, then add a regression test for that condition and verify both radical criteria reject non-ignition while genuine ignition delays remain valid. The issue leaves the choice of ignition test to maintainers.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The max_dTdt IDT criterion refuses a condition that never ignites. The two radical criteria
(max_radical_dt, max_dOHdt) do not, and return a confident ignition delay of ~1e-11 s for the
same non-igniting condition.

The asymmetry

t3/simulate/cantera_idt.py at 0bd0edc2, inside _simulate_idt_adjoint_sa:

  • max_dTdt branch — two guards: :648 rejects an index in the last 10 steps or a time under
    1e-12, and :650 additionally rejects a temperature rise under 50 K, which is what refuses
    a condition that did not ignite.
  • radical branch — :666 repeats only the first guard. There is no energy-rise check, so
    nothing tests that ignition occurred at all.

For a non-igniting mixture some radical still rises during the initial transient, so
np.argmax(dc_dt) lands at essentially the first step and the reported IDT is that step's time.

Measured

Methane/O2/N2, P = 10 bar, phi = 1, 12 points over three criteria:

criterion        T(K)   non-None   IDT (s)
max_dOHdt         800   no         —
max_dTdt          800   no         —
max_radical_dt    800   YES        1.110e-11
max_dTdt         1000   yes        3.530e-02
max_radical_dt   1000   yes        3.533e-02
max_dTdt         1600   yes        2.834e-05
max_radical_dt   1600   yes        4.194e-05

At 800 K the two temperature-based criteria correctly return nothing. max_radical_dt returns
1.11e-11 s — eleven times above the 1e-12 floor that is the only thing standing between it and
rejection, and roughly nine orders of magnitude below the shortest genuine ignition delay in the
same sweep.

Rate: 1 of 12 points, and 1 of the 4 at the non-igniting condition. This is a counted rate on a
small sweep, not an estimate; it will appear whenever a radical criterion is used at a condition
that does not ignite, which is exactly what a temperature or pressure sweep does at its cold end.

Why it matters beyond the one number

The value is not flagged, not warned, and indistinguishable in the output from a measured ignition
delay. Anything downstream that consumes it — a sensitivity analysis at that point, an Arrhenius
fit over a sweep, a comparison against experiment — is consuming a number produced by an
initialisation transient. A missing value announces itself; a plausible wrong one does not.

Fix is a choice

Either the radical branches get an ignition test of their own (the 50 K rise, which is available on
the same history, or a criterion on the radical series itself), or the 1e-12 floor is raised to
something physically motivated. Picking between those is a call for T3's maintainers, which is why
this is filed rather than patched. Note that simply making the 800 K point return None is a
behaviour change at a point that currently returns a value, so it wants its own test either way.

Lingua principale
Python
Stelle
16
Fork
8
Merge medio
1h 46m
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ReactionMechanismGenerator/T3

Tutte le issue di ReactionMechanismGenerator/T3

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.