mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 08:20:01 -06:00
Support Block-Level Two-Phase Subsystem Kro Summary Output
This commit adds support for calculating and reporting block-level values of the relative permeability of oil in the two-phase oil/gas and oil/water subsystems of a three-phase simulation run. These are activated through summary keywords BKROG and BKROW, respectively.
This commit is contained in:
parent
c6431c2f04
commit
160f20975b
@ -809,6 +809,16 @@ public:
|
||||
val.second = Opm::getValue(intQuants.relativePermeability(gasPhaseIdx));
|
||||
else if (key.first == "BOKR" || key.first == "BKRO")
|
||||
val.second = Opm::getValue(intQuants.relativePermeability(oilPhaseIdx));
|
||||
else if (key.first == "BKROG") {
|
||||
const auto& materialParams = problem.materialLawParams(elemCtx, dofIdx, /* timeIdx = */ 0);
|
||||
const auto krog = MaterialLaw::template relpermOilInOilGasSystem<Evaluation>(materialParams, fs);
|
||||
val.second = Opm::getValue(krog);
|
||||
}
|
||||
else if (key.first == "BKROW") {
|
||||
const auto& materialParams = problem.materialLawParams(elemCtx, dofIdx, /* timeIdx = */ 0);
|
||||
const auto krow = MaterialLaw::template relpermOilInOilWaterSystem<Evaluation>(materialParams, fs);
|
||||
val.second = Opm::getValue(krow);
|
||||
}
|
||||
else if (key.first == "BWPC")
|
||||
val.second = Opm::getValue(fs.pressure(oilPhaseIdx)) - Opm::getValue(fs.pressure(waterPhaseIdx));
|
||||
else if (key.first == "BGPC")
|
||||
|
Loading…
Reference in New Issue
Block a user