mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding temperature for WellStateMultiSegment
it is not used though
This commit is contained in:
parent
895e04b6fa
commit
5379467b4c
@ -89,6 +89,7 @@ namespace Opm
|
||||
|
||||
bhp_.resize(nw);
|
||||
thp_.resize(nw);
|
||||
temperature_.resize(nw, 273.15 + 20); // standard temperature for now
|
||||
|
||||
// deciding to add the following variables temporarily
|
||||
// TODO: making it better later
|
||||
@ -431,6 +432,10 @@ namespace Opm
|
||||
std::vector<double>& wellRates() { return wellrates_; }
|
||||
const std::vector<double>& wellRates() const { return wellrates_; }
|
||||
|
||||
// One temperature per well.
|
||||
std::vector<double>& temperature() { return temperature_; };
|
||||
const std::vector<double>& temperature() const { return temperature_; }
|
||||
|
||||
// std::vector<int>& currentControls() { return current_controls_; }
|
||||
// const std::vector<int>& currentControls() const { return current_controls_; }
|
||||
using Base::currentControls;
|
||||
@ -448,7 +453,7 @@ namespace Opm
|
||||
std::vector<double> bhp_;
|
||||
std::vector<double> thp_;
|
||||
std::vector<double> wellrates_;
|
||||
// std::vector<double> temperature_;
|
||||
std::vector<double> temperature_;
|
||||
// pressure for the segment nodes
|
||||
std::vector<double> segpress_;
|
||||
// phase rates for the segments
|
||||
|
Loading…
Reference in New Issue
Block a user