Now computeFluxes() also sets well quantities.

Namely well_state.perfRates() and well_state.perfPress().
In the process, some overloads of fluid methods were added to
take V arrays instead of ADB arrays.

Simultaneously, coarsened tolerances a bit. Still hardcoded, though.
This commit is contained in:
Atgeirr Flø Rasmussen
2013-05-22 22:51:14 +02:00
parent 3e8bb53730
commit 52dc5799cc
2 changed files with 97 additions and 14 deletions
+3 -1
View File
@@ -96,12 +96,14 @@ namespace Opm {
void solveJacobianSystem(BlackoilState& state,
WellState& well_state) const;
double residualNorm() const;
void computeFluxes(BlackoilState& state) const;
void computeFluxes(BlackoilState& state, WellState& well_state) const;
// Fluid interface forwarding calls to correct methods of fluid_.
V fluidMu(const int phase, const V& p, const std::vector<int>& cells) const;
ADB fluidMu(const int phase, const ADB& p, const std::vector<int>& cells) const;
V fluidFvf(const int phase, const V& p, const std::vector<int>& cells) const;
ADB fluidFvf(const int phase, const ADB& p, const std::vector<int>& cells) const;
V fluidRho(const int phase, const V& p, const std::vector<int>& cells) const;
ADB fluidRho(const int phase, const ADB& p, const std::vector<int>& cells) const;
V fluidKr(const int phase) const;
V fluidKrWell(const int phase) const;