mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user