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

オープン
#239 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
53/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
16
フォーク
8
平均マージ
1時間 46分
マージ済み PR(30日)
1

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ReactionMechanismGenerator/T3 のほかの issue

ReactionMechanismGenerator/T3 の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。