You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting the residual for c_offset_U based on the current value of c_offset_L to drive the value to zero appears non-intuitive, especially as Inlet1D::eval uses the more intuitive rb[c_offset_L] = xb[c_offset_L]; condition. It makes sense that things converge for axisymmetric/unstrained flows, but it nevertheless appears to be incorrect.
A brute-force replacement with the presumably correct version does lead to convergence issues/failures in BurnerFlame unit tests. The likely resolution is to implement the correct condition for rb[c_offset_U].
System information
Cantera version: 3.0.0b1 (and going back many Cantera versions; lines were last updated in IonFlow #441, but the underlying issue predates that change)
OS: Any
Python/MATLAB/other software versions: N/A
The text was updated successfully, but these errors were encountered:
Problem description
In
Outlet1D::eval
, the following conditions are used:cantera/src/oneD/Boundary1D.cpp
Line 372 in f89efe8
and
cantera/src/oneD/Boundary1D.cpp
Lines 387 to 390 in f89efe8
In order to make
lambda
zero, it should presumably use the same condition as forInlet1D::eval
, i.e.cantera/src/oneD/Boundary1D.cpp
Lines 196 to 199 in f89efe8
While it is currently not used, there is a comment in
OutletRes1D::eval
:cantera/src/oneD/Boundary1D.cpp
Lines 470 to 472 in f89efe8
Setting the residual for
c_offset_U
based on the current value ofc_offset_L
to drive the value to zero appears non-intuitive, especially asInlet1D::eval
uses the more intuitiverb[c_offset_L] = xb[c_offset_L];
condition. It makes sense that things converge for axisymmetric/unstrained flows, but it nevertheless appears to be incorrect.A brute-force replacement with the presumably correct version does lead to convergence issues/failures in
BurnerFlame
unit tests. The likely resolution is to implement the correct condition forrb[c_offset_U]
.System information
The text was updated successfully, but these errors were encountered: