mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-27 19:50:16 -06:00
EclTransmissibility: reduce division-by-zero cutoff to 10^-30
transmissibilities of 10^-20 can occur in real decks. (i.e., Norne; although the face which belongs to the transmissibility is tiny it nonetheless affects convergence for some reason.)
This commit is contained in:
parent
64a2c9df51
commit
22ecf54d41
@ -206,7 +206,7 @@ public:
|
||||
// convert half transmissibilities to full face
|
||||
// transmissibilities using the harmonic mean
|
||||
Scalar trans;
|
||||
if (std::abs(halfTrans1) < 1e-20 || std::abs(halfTrans2) < 1e-20)
|
||||
if (std::abs(halfTrans1) < 1e-30 || std::abs(halfTrans2) < 1e-30)
|
||||
// avoid division by zero
|
||||
trans = 0.0;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user