mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
Do not throw when d = 0 instead continue with rs/rv = 0
This commit is contained in:
1 parent
245a87e296
commit
2e91d2f353
1 file changed
+3
-2
@@ -1194,9 +1194,10 @@ getSegmentSurfaceVolume(const EvalWell& temperature,
|
||||
sstr << "Problematic d value " << d << " obtained for well " << baseif_.name()
|
||||
<< " during conversion to surface volume with rs " << rs
|
||||
<< ", rv " << rv << " and pressure " << seg_pressure
|
||||
<< " obtaining d " << d;
|
||||
<< " obtaining d " << d
|
||||
<< " Continue without dissolution (rs = 0) and vaporization (rv = 0) "
|
||||
<< " for this connection.";
|
||||
OpmLog::debug(sstr.str());
|
||||
OPM_THROW_NOLOG(NumericalIssue, sstr.str());
|
||||
}
|
||||
|
||||
if (rs > 0.0) { // rs > 0.0?
|
||||
|
||||
Reference in new issue
Block a user