adding the has_solvent_ flag to StandardWellsSolvent

flow_solvent is able to run cases without solvent.
This commit is contained in:
Kai Bao
2016-04-21 11:17:39 +02:00
parent 1f64f79f6d
commit cc79dff708
3 changed files with 13 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ namespace Opm {
residual_.matbalscale.resize(fluid_.numPhases() + 1, 0.0031); // use the same as gas
stdWells().initSolvent(&solvent_props_, solvent_pos_);
stdWells().initSolvent(&solvent_props_, solvent_pos_, has_solvent_);
}
if (is_miscible_) {
mu_eff_.resize(fluid_.numPhases() + 1, ADB::null());