mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changes to provide Summary data output of additional block variables
Provide output data for: BOSAT BWKR BOKR BKRO BGKR BKRG BKRW BWPC BGPC BVWAT BWVIS BVGAS BGVIS BVOIL BOVIS
This commit is contained in:
parent
8197bcfc54
commit
45e0773edd
@ -1,4 +1,4 @@
|
||||
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
// -*- mode: C++; tab-width: 4dent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
// vi: set et ts=4 sw=4 sts=4:
|
||||
/*
|
||||
This file is part of the Open Porous Media project (OPM).
|
||||
@ -307,7 +307,7 @@ public:
|
||||
}
|
||||
|
||||
if (FluidSystem::phaseIsActive(waterPhaseIdx) && rstKeywords["KRW"] > 0) {
|
||||
rstKeywords["KRW"] = 0;
|
||||
rstKeywords["KRW"] = 0;
|
||||
relativePermeability_[waterPhaseIdx].resize(bufferSize, 0.0);
|
||||
}
|
||||
if (FluidSystem::phaseIsActive(oilPhaseIdx) && rstKeywords["KRO"] > 0) {
|
||||
@ -607,8 +607,38 @@ public:
|
||||
val.second = Opm::getValue(fs.saturation(waterPhaseIdx));
|
||||
else if (key.first == "BGSAT")
|
||||
val.second = Opm::getValue(fs.saturation(gasPhaseIdx));
|
||||
else if (key.first == "BOSAT")
|
||||
val.second = 1. - Opm::getValue(fs.saturation(gasPhaseIdx)) - Opm::getValue(fs.saturation(waterPhaseIdx));
|
||||
else if (key.first == "BPR")
|
||||
val.second = Opm::getValue(fs.pressure(oilPhaseIdx));
|
||||
else if (key.first == "BWKR")
|
||||
val.second = Opm::getValue(intQuants.relativePermeability(waterPhaseIdx));
|
||||
else if (key.first == "BKRW")
|
||||
val.second = Opm::getValue(intQuants.relativePermeability(waterPhaseIdx));
|
||||
else if (key.first == "BGKR")
|
||||
val.second = Opm::getValue(intQuants.relativePermeability(gasPhaseIdx));
|
||||
else if (key.first == "BKRG")
|
||||
val.second = Opm::getValue(intQuants.relativePermeability(gasPhaseIdx));
|
||||
else if (key.first == "BOKR")
|
||||
val.second = Opm::getValue(intQuants.relativePermeability(oilPhaseIdx));
|
||||
else if (key.first == "BKRO")
|
||||
val.second = Opm::getValue(intQuants.relativePermeability(oilPhaseIdx));
|
||||
else if (key.first == "BWPC")
|
||||
val.second = Opm::getValue(fs.pressure(oilPhaseIdx)) - Opm::getValue(fs.pressure(waterPhaseIdx));
|
||||
else if (key.first == "BGPC")
|
||||
val.second = Opm::getValue(fs.pressure(gasPhaseIdx)) - Opm::getValue(fs.pressure(oilPhaseIdx));
|
||||
else if (key.first == "BVWAT")
|
||||
val.second = Opm::getValue(fs.viscosity(waterPhaseIdx));
|
||||
else if (key.first == "BWVIS")
|
||||
val.second = Opm::getValue(fs.viscosity(waterPhaseIdx));
|
||||
else if (key.first == "BVGAS")
|
||||
val.second = Opm::getValue(fs.viscosity(gasPhaseIdx));
|
||||
else if (key.first == "BGVIS")
|
||||
val.second = Opm::getValue(fs.viscosity(gasPhaseIdx));
|
||||
else if (key.first == "BVOIL")
|
||||
val.second = Opm::getValue(fs.viscosity(oilPhaseIdx));
|
||||
else if (key.first == "BOVIS")
|
||||
val.second = Opm::getValue(fs.viscosity(oilPhaseIdx));
|
||||
else {
|
||||
std::string logstring = "Keyword '";
|
||||
logstring.append(key.first);
|
||||
|
Loading…
Reference in New Issue
Block a user