Class NeqSimVega

java.lang.Object
neqsim.thermo.util.Vega.NeqSimVega

public class NeqSimVega extends Object

NeqSimVega class.

Author:
[author]
  • Field Details

  • Constructor Details

    • NeqSimVega

      public NeqSimVega()

      Constructor for NeqSimGERG2008.

    • NeqSimVega

      public NeqSimVega(PhaseInterface phase)

      Constructor for NeqSimGERG2008.

      Parameters:
      phase - a PhaseInterface object
  • Method Details

    • getMolarDensity

      public double getMolarDensity(PhaseInterface phase)

      getMolarDensity.

      Parameters:
      phase - a PhaseInterface object
      Returns:
      a double
    • getDensity

      public double getDensity(PhaseInterface phase)

      getDensity.

      Parameters:
      phase - a PhaseInterface object
      Returns:
      a double
    • getDensity

      public double getDensity()

      getDensity.

      Returns:
      a double
    • getPressure

      public double getPressure()

      getPressure.

      Returns:
      a double
    • getMolarDensity

      public double getMolarDensity()

      getMolarDensity.

      Returns:
      a double
    • getAlpha0_Vega

      public org.netlib.util.doubleW[] getAlpha0_Vega()

      getAlpha0_Vega.

      Returns:
      an array of doubleW objects
    • getAlphares_Vega

      public org.netlib.util.doubleW[][] getAlphares_Vega()
      Get reduced residual helmholtz free energy and its derivatives. The returned array has the following structure:
      • ar(0,0) - Residual Helmholtz energy (dimensionless, =a/RT)
      • ar(0,1) - delta*partial (ar)/partial(delta)
      • ar(0,2) - delta^2*partial^2(ar)/partial(delta)^2
      • ar(0,3) - delta^3*partial^3(ar)/partial(delta)^3
      • ar(1,0) - tau*partial (ar)/partial(tau)
      • ar(1,1) - tau*delta*partial^2(ar)/partial(tau)/partial(delta)
      • ar(2,0) - tau^2*partial^2(ar)/partial(tau)^2
      Returns:
      a doubleW[][] representing the reduced residual helmholtz free energy
    • propertiesVega

      public double[] propertiesVega(PhaseInterface phase)

      propertiesGERG.

      Parameters:
      phase - a PhaseInterface object
      Returns:
      an array of type double
    • getProperties

      public double[] getProperties(PhaseInterface phase, String[] properties)

      getProperties.

      Parameters:
      phase - a PhaseInterface object
      properties - an array of String objects
      Returns:
      an array of type double
    • propertiesVega

      public double[] propertiesVega()

      propertiesGERG.

      Returns:
      an array of type double
    • setPhase

      public void setPhase(PhaseInterface phase)

      Setter for the field phase.

      Parameters:
      phase - a PhaseInterface object
    • main

      public static void main(String[] args)

      main.

      Parameters:
      args - an array of String objects