[1D] Impose upper temperature bound based on thermo data
This fixes some platform-specific test failures when compiling in debug mode, where estimated temperatures during the Newton iterations were too high, resulting in non-finite reaction rates.
This commit is contained in:
parent
22ecade329
commit
94a4439bd4
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ StFlow::StFlow(IdealGasPhase* ph, size_t nsp, size_t points) :
|
|||
//-------------- default solution bounds --------------------
|
||||
setBounds(0, -1e20, 1e20); // no bounds on u
|
||||
setBounds(1, -1e20, 1e20); // V
|
||||
setBounds(2, 200.0, 1e9); // temperature bounds
|
||||
setBounds(2, 200.0, 2*m_thermo->maxTemp()); // temperature bounds
|
||||
setBounds(3, -1e20, 1e20); // lambda should be negative
|
||||
|
||||
// mass fraction bounds
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue