Skip to content

Commit

Permalink
use density from internal cell for subsonic outlet BC (thanks @g-rydq…
Browse files Browse the repository at this point in the history
  • Loading branch information
adityakpandare committed Aug 6, 2024
1 parent 6e03099 commit d59452a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/PDE/MultiMat/BCFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,6 @@ namespace inciter {
// by taking pressure from the outside and other quantities from the
// internal cell.
for (std::size_t k=0; k<nmat; ++k) {
auto rhok = mat_blk[k].compute< EOS::density >(fp, ft);
ur[densityIdx(nmat,k)] = ul[volfracIdx(nmat,k)] * rhok;
ur[energyIdx(nmat, k)] = ul[volfracIdx(nmat, k)] *
mat_blk[k].compute< EOS::totalenergy >(
ur[densityIdx(nmat, k)]/ul[volfracIdx(nmat, k)], v1l, v2l, v3l, fp );
Expand Down

0 comments on commit d59452a

Please sign in to comment.