Skip to content

Program crashes when threshold value goes over 1.  #27

@xMestas

Description

@xMestas

The maximum DIC is 1. If the threshold value goes over 1, all species will be removed. The program will then crash when trying to determine the auto ignition delay of the reduced model. This can occur if the maximum allowed error value is too high.

This can be fixed by causing the program to stop incrementing the threshold value once it reaches 1.

capture

This issue can be replicated with the following test case:

Model: Artificial_Mech.cti
Initial Conditions:
Pressure :: 1 atm
Equivalence ratio :: 1.0, Fuel of H, oxidizer of O2.
Temperature :: 500 Kelvin
Error allowed: 5%
Method: DRG
Targets: H
Retained Species: H, O2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions