Ejemplo n.º 1
0
    /*!
     * \brief Initialize the parameters for water using an ECL deck.
     *
     * This method assumes that the deck features valid DENSITY and PVDG keywords.
     */
    void initFromDeck(DeckConstPtr deck, EclipseStateConstPtr eclState)
    {
        if (enableThermal
                && (deck->hasKeyword("WATDENT")
                    || deck->hasKeyword("VISCREF")))
            setApproach(ThermalWaterPvt);
        else if (deck->hasKeyword("PVTW"))
            setApproach(ConstantCompressibilityWaterPvt);

        OPM_WATER_PVT_MULTIPLEXER_CALL(pvtImpl.initFromDeck(deck, eclState));
    }
Ejemplo n.º 2
0
    /*!
     * \brief Initialize the parameters for water using an ECL deck.
     *
     * This method assumes that the deck features valid DENSITY and PVDG keywords.
     */
    void initFromDeck(const Deck& deck, const EclipseState& eclState)
    {
        bool enableWater = deck.hasKeyword("WATER");
        if (!enableWater)
            return;

        if (enableThermal
            && (deck.hasKeyword("WATDENT")
                || deck.hasKeyword("VISCREF")))
            setApproach(ThermalWaterPvt);
        else if (deck.hasKeyword("PVTW"))
            setApproach(ConstantCompressibilityWaterPvt);

        OPM_WATER_PVT_MULTIPLEXER_CALL(pvtImpl.initFromDeck(deck, eclState));
    }
Ejemplo n.º 3
0
 void initEnd()
 { OPM_WATER_PVT_MULTIPLEXER_CALL(pvtImpl.initEnd()); }