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

Đang mở
#239 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
53/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
16
Fork
8
Merge trung bình
1 giờ 46 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ReactionMechanismGenerator/T3

Tất cả issue của ReactionMechanismGenerator/T3

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.