ECL peaceman well: reduce the epsilon value used to calculate the bottom hole pressure

This commit is contained in:
Andreas Lauser committed 2015-01-21 15:56:08 +01:00
1 parent 85af98dd95
commit 0baa3f23a7
1 file changed
+1 -1
+1 -1
View File
@@ -388,7 +388,7 @@ public:
}
// effect of changing the well's bottom hole pressure on the well equation
Scalar eps = std::min(1e8, std::max(1e6, targetBottomHolePressure_))*1e-8;
Scalar eps = std::min(1e7, std::max(1e6, targetBottomHolePressure_))*1e-8;
Scalar wellResidStar = wellResidual_(actualBottomHolePressure_ + eps);
diagBlock[0][0] = (wellResidStar - wellResid)/eps;
}