mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ECL problem: set the connate water saturation
This commit is contained in:
parent
3c3d3208eb
commit
08c97f478f
@ -627,6 +627,7 @@ private:
|
|||||||
const auto& sgofTable = sgofTables[tableIdx];
|
const auto& sgofTable = sgofTables[tableIdx];
|
||||||
|
|
||||||
const auto &SwColumn = swofTable.getSwColumn();
|
const auto &SwColumn = swofTable.getSwColumn();
|
||||||
|
|
||||||
owParams.setKrwSamples(SwColumn, swofTable.getKrwColumn());
|
owParams.setKrwSamples(SwColumn, swofTable.getKrwColumn());
|
||||||
owParams.setKrnSamples(SwColumn, swofTable.getKrowColumn());
|
owParams.setKrnSamples(SwColumn, swofTable.getKrowColumn());
|
||||||
owParams.setPcnwSamples(SwColumn, swofTable.getPcowColumn());
|
owParams.setPcnwSamples(SwColumn, swofTable.getPcowColumn());
|
||||||
@ -643,6 +644,11 @@ private:
|
|||||||
owParams.finalize();
|
owParams.finalize();
|
||||||
goParams.finalize();
|
goParams.finalize();
|
||||||
|
|
||||||
|
// compute the connate water saturation. In Eclipse decks that is defined as
|
||||||
|
// the first saturation value of the SWOF keyword.
|
||||||
|
Scalar Swco = SwColumn.front();
|
||||||
|
materialParams_[tableIdx].setConnateWaterSaturation(Swco);
|
||||||
|
|
||||||
materialParams_[tableIdx].setOilWaterParams(owParams);
|
materialParams_[tableIdx].setOilWaterParams(owParams);
|
||||||
materialParams_[tableIdx].setGasOilParams(goParams);
|
materialParams_[tableIdx].setGasOilParams(goParams);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user