some twophase fixes for flow_ebos

this changes the conversion of the results to hopefully make it work
with twophase simulations. Note that flow_ebos still does not work
because there is a crash in the well model that I don't understand
(and also, I've disabled an assertation in the well model plus I'm not
completely sure if the conversion code need to do something about the
primary variables in the twophase case).
This commit is contained in:
Andreas Lauser
2016-11-17 12:55:08 +01:00
parent 21b1b2318d
commit 5e0804b39f
2 changed files with 16 additions and 10 deletions

View File

@@ -115,7 +115,8 @@ namespace Opm
}
break;
}
assert(np == 3);
#warning "HACK: that assert() was probably there for a reason!"
//assert(np == 3);
double total_rates = 0.0;
for (int p = 0; p < np; ++p) {
total_rates += g[p] * wellRates()[np*w + p];