Fix the 2p simulator

Only tested for oil+water case
The blockmatrix and vectors are hardcoded to be 3
and a trivial equation is used for the Gas phase.
This commit is contained in:
Tor Harald Sandve
2016-11-18 12:43:53 +01:00
committed by Andreas Lauser
parent 5e0804b39f
commit d23270c98f
5 changed files with 293 additions and 203 deletions

View File

@@ -233,7 +233,7 @@ public:
const Wells* wells = wells_manager.c_wells();
WellState well_state;
well_state.init(wells, state, prev_well_state);
well_state.init(wells, state, prev_well_state, props_.phaseUsage());
// give the polymer and surfactant simulators the chance to do their stuff
handleAdditionalWellInflow(timer, wells_manager, well_state, wells);