mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #835 from daavid00/saltprecPermFac
Multiply well trans due to perm reduction in salt prec
This commit is contained in:
commit
b25af99362
@ -336,6 +336,11 @@ public:
|
|||||||
return params_.permfactTable_[pvtnumRegionIdx];
|
return params_.permfactTable_[pvtnumRegionIdx];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const TabulatedFunction& permfactTable(unsigned pvtnumRegionIdx)
|
||||||
|
{
|
||||||
|
return params_.permfactTable_[pvtnumRegionIdx];
|
||||||
|
}
|
||||||
|
|
||||||
static const Scalar saltsolTable(const ElementContext& elemCtx,
|
static const Scalar saltsolTable(const ElementContext& elemCtx,
|
||||||
unsigned scvIdx,
|
unsigned scvIdx,
|
||||||
unsigned timeIdx)
|
unsigned timeIdx)
|
||||||
@ -437,6 +442,7 @@ public:
|
|||||||
fs.setSaltConcentration(saltConcentration_);
|
fs.setSaltConcentration(saltConcentration_);
|
||||||
saltSaturation_ = 0.0;
|
saltSaturation_ = 0.0;
|
||||||
}
|
}
|
||||||
|
fs.setSaltSaturation(saltSaturation_);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
saltConcentration_ = priVars.makeEvaluation(saltConcentrationIdx, timeIdx);
|
saltConcentration_ = priVars.makeEvaluation(saltConcentrationIdx, timeIdx);
|
||||||
|
Loading…
Reference in New Issue
Block a user