From 68eaf6ac1f24be9a7e2fadba4e99a23ab727f633 Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Thu, 23 Mar 2017 16:13:26 +0100 Subject: [PATCH] Not copying the wellSolutions from previous WellState in WellStateFullyImplicitBlackoilDense. --- opm/autodiff/WellStateFullyImplicitBlackoilDense.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/opm/autodiff/WellStateFullyImplicitBlackoilDense.hpp b/opm/autodiff/WellStateFullyImplicitBlackoilDense.hpp index 2f6710d61..dd89eb245 100644 --- a/opm/autodiff/WellStateFullyImplicitBlackoilDense.hpp +++ b/opm/autodiff/WellStateFullyImplicitBlackoilDense.hpp @@ -68,8 +68,13 @@ namespace Opm // call init on base class BaseType :: init(wells, state, prevState); + // TODO: the reason to keep this is to avoid getting defaulted value BHP + // some facilities needed from opm-parser or opm-core + // It is a little tricky, since sometimes before applying group control, the only + // available constraints in the well_controls is the defaulted BHP value, and it + // is really not desirable to use this value to enter the Newton iterations. setWellSolutions(pu); - setWellSolutionsFromPrevState(prevState); + // setWellSolutionsFromPrevState(prevState); }