From 6688ea1031aabb7ff228985153b1bd92545ee806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Tue, 20 Mar 2012 14:21:22 +0100 Subject: [PATCH] Make comments relating to omega (frac.flow-weighted density) precise. --- opm/core/pressure/IncompTpfa.cpp | 4 ++-- opm/core/pressure/IncompTpfa.hpp | 5 +++-- opm/core/utility/miscUtilities.cpp | 3 +-- opm/core/utility/miscUtilities.hpp | 3 +-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/opm/core/pressure/IncompTpfa.cpp b/opm/core/pressure/IncompTpfa.cpp index 21516718a..94e2baae5 100644 --- a/opm/core/pressure/IncompTpfa.cpp +++ b/opm/core/pressure/IncompTpfa.cpp @@ -133,8 +133,8 @@ namespace Opm /// \param[in] totmob Must contain N total mobility values (one per cell). /// totmob = \sum_{p} kr_p/mu_p. /// \param[in] omega Must be empty if constructor gravity argument was null. - /// Otherwise must contain N mobility-weighted density values (one per cell). - /// omega = \frac{\sum_{p} mob_p rho_p}{\sum_p rho_p}. + /// Otherwise must contain N fractional-flow-weighted density + /// values (one per cell). /// \param[in] src Must contain N source rates (one per cell). /// Positive values represent total inflow rates, /// negative values represent total outflow rates. diff --git a/opm/core/pressure/IncompTpfa.hpp b/opm/core/pressure/IncompTpfa.hpp index 0a55dfb93..58b533834 100644 --- a/opm/core/pressure/IncompTpfa.hpp +++ b/opm/core/pressure/IncompTpfa.hpp @@ -79,8 +79,9 @@ namespace Opm /// \param[in] totmob Must contain N total mobility values (one per cell). /// totmob = \sum_{p} kr_p/mu_p. /// \param[in] omega Must be empty if constructor gravity argument was null. - /// Otherwise must contain N mobility-weighted density values (one per cell). - /// omega = \frac{\sum_{p} mob_p rho_p}{\sum_p rho_p}. + /// Otherwise must contain N fractional-flow-weighted density + /// values (one per cell). + /// omega = \frac{\sum_{p} mob_p rho_p}{\sum_p mob_p}. /// \param[in] src Must contain N source rates (one per cell). /// Positive values represent total inflow rates, /// negative values represent total outflow rates. diff --git a/opm/core/utility/miscUtilities.cpp b/opm/core/utility/miscUtilities.cpp index f65ba0722..050681e3d 100644 --- a/opm/core/utility/miscUtilities.cpp +++ b/opm/core/utility/miscUtilities.cpp @@ -211,8 +211,7 @@ namespace Opm /// @param[in] cells cells with which the saturation values are associated /// @param[in] s saturation values (for all phases) /// @param[out] totmob total mobility - /// @param[out] omega mobility-weighted (or fractional-flow weighted) - /// fluid densities. + /// @param[out] omega fractional-flow weighted fluid densities. void computeTotalMobilityOmega(const Opm::IncompPropertiesInterface& props, const std::vector& cells, const std::vector& s, diff --git a/opm/core/utility/miscUtilities.hpp b/opm/core/utility/miscUtilities.hpp index 98d8cb3a2..a3414b523 100644 --- a/opm/core/utility/miscUtilities.hpp +++ b/opm/core/utility/miscUtilities.hpp @@ -112,8 +112,7 @@ namespace Opm /// @param[in] cells cells with which the saturation values are associated /// @param[in] s saturation values (for all phases) /// @param[out] totmob total mobility - /// @param[out] omega mobility-weighted (or fractional-flow weighted) - /// fluid densities. + /// @param[out] omega fractional-flow weighted fluid densities. void computeTotalMobilityOmega(const Opm::IncompPropertiesInterface& props, const std::vector& cells, const std::vector& s,