Skip to content

Commit

Permalink
Comment in divu about extRho
Browse files Browse the repository at this point in the history
  • Loading branch information
dmontgomeryNREL committed Oct 21, 2024
1 parent 79d2770 commit 71604de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/PeleLMeX_K.H
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ compute_divu(
n *= 1.0e-4_rt; // CGS -> MKS conversion
}

// Note: divu does not depend on extRho. See docs and PR #428 for details.
amrex::Real denominv = 1.0_rt / (rho * cpmix * T(i, j, k));
divu(i, j, k) =
(specEnthDiff(i, j, k) + tempDiff(i, j, k) + extRhoH(i, j, k)) * denominv;
Expand Down

0 comments on commit 71604de

Please sign in to comment.