Add influences by well perforations to matrix.

This is only done upon request and uses the auxiliary module approach
provided by ewoms.

In the case of adding the influences we do not execute applyWellModelScaleAdd
or applyWellModel in the operator
This commit is contained in:
Markus Blatt
2017-05-15 14:46:43 +02:00
parent d0fcd1a8e9
commit 799cbb4b62
7 changed files with 124 additions and 12 deletions

View File

@@ -295,8 +295,16 @@ namespace Opm {
}
template<typename TypeTag>
void
BlackoilWellModel<TypeTag>::
addWellContributions(Mat& mat) const
{
for(const auto& well: well_container_)
{
well->addWellContributions(mat);
}
}
// applying the well residual to reservoir residuals
// r = r - duneC_^T * invDuneD_ * resWell_