Skip to content
Snippets Groups Projects
Commit 8bf3a4b8 authored by Dennis Gläser's avatar Dennis Gläser Committed by Alexander Kissinger
Browse files

[2pdfm] bug in completefluidstate in volvars

for the update of the new fluid state the updated primary variables have to be used
parent 300300c4
1 merge request!86Fix/2pdfm bug
......@@ -218,7 +218,7 @@ public:
PrimaryVariables updatedMatrixPV;
updatedMatrixPV[pressureIdx] = priVars[pressureIdx];
updatedMatrixPV[saturationIdx] = satWMatrix_;
this->completeFluidState(priVars, problem, element, fvGeometry, scvIdx, fluidState_);
this->completeFluidState(updatedMatrixPV, problem, element, fvGeometry, scvIdx, fluidState_);
mobilityMatrix_[wPhaseIdx] =
MaterialLaw::krw(materialParamsMatrix, satWMatrix_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment