Skip to content

Commit

Permalink
Do not add the pressure contribution to the cpr system for the well -…
Browse files Browse the repository at this point in the history
… does not work yet for MSWells
  • Loading branch information
lisajulia committed Sep 25, 2024
1 parent af91dca commit 1a2d603
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions opm/simulators/wells/MultisegmentWell_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -898,14 +898,14 @@ namespace Opm
const bool use_well_weights,
const WellState<Scalar>& well_state) const
{
// Add the pressure contribution to the cpr system for the well
this->linSys_.extractCPRPressureMatrix(jacobian,
weights,
pressureVarIndex,
use_well_weights,
*this,
this->SPres,
well_state);
// Add the pressure contribution to the cpr system for the well - do not do that for now, since that causes problems
// this->linSys_.extractCPRPressureMatrix(jacobian,
// weights,
// pressureVarIndex,
// use_well_weights,
// *this,
// this->SPres,
// well_state);
}


Expand Down

0 comments on commit 1a2d603

Please sign in to comment.