not dropping derivative for flux term for flashlocalresidual.hh

it contains the derivative of the pressure from the downstream cell.
This commit is contained in:
Kai Bao
2023-11-21 15:52:56 +01:00
parent 83cb5670b7
commit df5ee732fa
+2 -2
View File
@@ -155,8 +155,8 @@ public:
}
else {
Evaluation tmp =
Toolbox::value(up.fluidState().density(phaseIdx)
* extQuants.volumeFlux(phaseIdx));
Toolbox::value(up.fluidState().density(phaseIdx))
* extQuants.volumeFlux(phaseIdx);
for (unsigned compIdx = 0; compIdx < numComponents; ++compIdx) {
flux[conti0EqIdx + compIdx] +=