Interface PhaseGEInterface

All Known Implementing Classes:
PhaseDesmukhMather, PhaseDuanSun, PhaseGE, PhaseGENRTL, PhaseGENRTLmodifiedHV, PhaseGENRTLmodifiedWS, PhaseGEUnifac, PhaseGEUnifacPSRK, PhaseGEUnifacUMRPRU, PhaseGEUniquac, PhaseGEUniquacmodifiedHV, PhaseGEWilson, PhaseKentEisenberg, PhasePitzer

public interface PhaseGEInterface

PhaseGEInterface interface.

Version:
$Id: $Id
Author:
Even Solbraa
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getExcessGibbsEnergy(PhaseInterface phase, int numberOfComponents, double temperature, double pressure, PhaseType pt)
    getExcessGibbsEnergy.
    void
    setAlpha(double[][] alpha)
    setAlpha.
    void
    setDij(double[][] Dij)
    setDij.
    void
    setDijT(double[][] DijT)
    setDijT.
  • Method Details

    • getExcessGibbsEnergy

      double getExcessGibbsEnergy(PhaseInterface phase, int numberOfComponents, double temperature, double pressure, PhaseType pt)

      getExcessGibbsEnergy.

      Parameters:
      phase - a PhaseInterface object
      numberOfComponents - a int
      temperature - a double
      pressure - a double
      pt - the PhaseType of the phase
      Returns:
      a double
    • setAlpha

      void setAlpha(double[][] alpha)

      setAlpha.

      Parameters:
      alpha - an array of type double
    • setDij

      void setDij(double[][] Dij)

      setDij.

      Parameters:
      Dij - an array of type double
    • setDijT

      void setDijT(double[][] DijT)

      setDijT.

      Parameters:
      DijT - an array of type double