mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3905 from goncalvesmachadoc/addBXPV
add Block Pore Volumes
This commit is contained in:
@@ -579,6 +579,14 @@ public:
|
|||||||
val.second = getValue(fs.viscosity(gasPhaseIdx));
|
val.second = getValue(fs.viscosity(gasPhaseIdx));
|
||||||
else if (key.first == "BVOIL" || key.first == "BOVIS")
|
else if (key.first == "BVOIL" || key.first == "BOVIS")
|
||||||
val.second = getValue(fs.viscosity(oilPhaseIdx));
|
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 {
|
else {
|
||||||
std::string logstring = "Keyword '";
|
std::string logstring = "Keyword '";
|
||||||
logstring.append(key.first);
|
logstring.append(key.first);
|
||||||
|
|||||||
Reference in New Issue
Block a user