Account for pressure loss also in thp

This commit is contained in:
Håkon Hægland
2023-05-09 23:44:05 +02:00
parent 54c7af85d4
commit 64c041d08f
9 changed files with 24 additions and 12 deletions

View File

@@ -73,6 +73,7 @@ void
StandardWellEval<FluidSystem,Indices,Scalar>::
updateWellStateFromPrimaryVariables(const bool stop_or_zero_rate_target,
WellState& well_state,
const SummaryState& summary_state,
DeferredLogger& deferred_logger) const
{
this->primary_variables_.copyToWellState(well_state, deferred_logger);
@@ -84,7 +85,7 @@ updateWellStateFromPrimaryVariables(const bool stop_or_zero_rate_target,
{FluidSystem::phaseIsActive(FluidSystem::waterPhaseIdx),
FluidSystem::phaseIsActive(FluidSystem::oilPhaseIdx),
FluidSystem::phaseIsActive(FluidSystem::gasPhaseIdx)},
well_state, deferred_logger);
well_state, summary_state, deferred_logger);
}
template<class FluidSystem, class Indices, class Scalar>