mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1174 from totto82/FIX_flowsolvent
BUGFIX Don't try to compute effective properties for FIP if no solvent
This commit is contained in:
commit
095c580933
@ -1095,7 +1095,7 @@ namespace Opm {
|
||||
computeFluidInPlace(const ReservoirState& x,
|
||||
const std::vector<int>& fipnum)
|
||||
{
|
||||
if (b_eff_[0].size() == 0) {
|
||||
if (has_solvent_ && is_miscible_ && b_eff_[0].size() == 0) {
|
||||
// A hack to avoid trouble for initial fluid in place, due to usage of b_eff_.
|
||||
WellState xw, xwdummy;
|
||||
xw.init(&wells(), x, xwdummy);
|
||||
|
Loading…
Reference in New Issue
Block a user