Use average density for hydro p-drop

This commit is contained in:
Stein Krogstad
2023-05-10 10:31:49 +02:00
parent 8ee3493aed
commit 0417f101bf
5 changed files with 23 additions and 13 deletions

View File

@@ -51,7 +51,8 @@ public:
//! \brief Update upwinding segments.
void updateUpwindingSegments(const PrimaryVariables& primary_variables);
EvalWell getHydroPressureLoss(const int seg) const;
EvalWell getHalfHydroPressureLoss(const int seg,
const int seg_side) const;
//! Pressure difference between segment and perforation.
Scalar getPressureDiffSegPerf(const int seg,