ECL problem: set the connate water saturation

This commit is contained in:
Andreas Lauser 2014-11-27 18:59:40 +01:00
parent 3c3d3208eb
commit 08c97f478f

View File

@ -627,6 +627,7 @@ private:
const auto& sgofTable = sgofTables[tableIdx];
const auto &SwColumn = swofTable.getSwColumn();
owParams.setKrwSamples(SwColumn, swofTable.getKrwColumn());
owParams.setKrnSamples(SwColumn, swofTable.getKrowColumn());
owParams.setPcnwSamples(SwColumn, swofTable.getPcowColumn());
@ -643,6 +644,11 @@ private:
owParams.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].setGasOilParams(goParams);