mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #4265 from totto82/well_temp
adapt to changes in temperature location in opm-common
This commit is contained in:
commit
d8ca55fe34
@ -171,8 +171,7 @@ void WellState::initSingleInjector(const Well& well,
|
||||
const SummaryState& summary_state) {
|
||||
|
||||
const auto& pu = this->phase_usage_;
|
||||
const auto& inj_controls = well.injectionControls(summary_state);
|
||||
const double temp = inj_controls.temperature;
|
||||
const double temp = well.temperature();
|
||||
|
||||
auto& ws = this->wells_.add(well.name(), SingleWellState{well.name(), well_info, false, pressure_first_connection, well_perf_data, pu, temp});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user