mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 16:54:47 -06:00
addBXPVs
This commit is contained in:
parent
4b5a53eaeb
commit
8920f339cc
@ -571,6 +571,14 @@ public:
|
||||
val.second = getValue(fs.viscosity(gasPhaseIdx));
|
||||
else if (key.first == "BVOIL" || key.first == "BOVIS")
|
||||
val.second = getValue(fs.viscosity(oilPhaseIdx));
|
||||
else if (key.first == "BRPV")
|
||||
val.second = elemCtx.simulator().model().dofTotalVolume(globalDofIdx)*getValue(intQuants.porosity());
|
||||
else if (key.first == "BOPV")
|
||||
val.second = getValue(fs.saturation(oilPhaseIdx))*elemCtx.simulator().model().dofTotalVolume(globalDofIdx)*getValue(intQuants.porosity());
|
||||
else if (key.first == "BWPV")
|
||||
val.second = getValue(fs.saturation(waterPhaseIdx))*elemCtx.simulator().model().dofTotalVolume(globalDofIdx)*getValue(intQuants.porosity());
|
||||
else if (key.first == "BGPV")
|
||||
val.second = getValue(fs.saturation(gasPhaseIdx))*elemCtx.simulator().model().dofTotalVolume(globalDofIdx)*getValue(intQuants.porosity());
|
||||
else {
|
||||
std::string logstring = "Keyword '";
|
||||
logstring.append(key.first);
|
||||
|
Loading…
Reference in New Issue
Block a user