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

Abierto
#239 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
53/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
16
Forks
8
Merge medio
1 h 46 min
PR fusionados (30 d)
1

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ReactionMechanismGenerator/T3

Todos los issues de ReactionMechanismGenerator/T3

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.