New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-uniform lambda in using CounterflowTwinPremixedFlame #1593
Comments
It looks like this was introduced in #1555. I had commented on exactly this issue in my review (#1555 (comment)), but it looks like the fix got put into the wrong branch of the Lines 1028 to 1034 in cde1e79
Please feel free to open a PR. |
mea culpa 😞 |
ischoegl
pushed a commit
to ischoegl/cantera
that referenced
this issue
Aug 21, 2023
ischoegl
pushed a commit
that referenced
this issue
Aug 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description
When calculating the CounterflowPremixed flame, the lambda should be uniform acorss the compuattional domain. However, the lambda is set to zero in the right symmetry boundary. This might have no significant influence on the overall results. But I believe modify it back should be a good option for consistence.
Steps to reproduce
Behavior
A non-uniform lambda is observed at the boundary point. Ideally, this should be uniform across the computational domain.
System information
Attachments
Additional context
This problem arises due to the incorrect set of boundary conditions in function evalRightBoundary at Stflow.cpp. At line 1030 (Stflow.cpp), the code
rsd[index(c_offset_L, j)] = lambda(x, j);
should be changed torsd[index(c_offset_L, j)] = lambda(x, j) - lambda(x, j-1);
, so that an zero gradient condition is set for the lambda.The text was updated successfully, but these errors were encountered: