Class NeqSimVega
java.lang.Object
neqsim.thermo.util.Vega.NeqSimVega
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for NeqSimGERG2008.NeqSimVega(PhaseInterface phase) Constructor for NeqSimGERG2008. -
Method Summary
Modifier and TypeMethodDescriptionorg.netlib.util.doubleW[]getAlpha0_Vega.org.netlib.util.doubleW[][]Get reduced residual helmholtz free energy and its derivatives.doublegetDensity.doublegetDensity(PhaseInterface phase) getDensity.doublegetMolarDensity.doublegetMolarDensity(PhaseInterface phase) getMolarDensity.doublegetPressure.double[]getProperties(PhaseInterface phase, String[] properties) getProperties.static voidmain.double[]propertiesGERG.double[]propertiesVega(PhaseInterface phase) propertiesGERG.voidsetPhase(PhaseInterface phase) Setter for the fieldphase.
-
Field Details
-
phase
PhaseInterface phase -
Vega
Vega Vega
-
-
Constructor Details
-
NeqSimVega
public NeqSimVega()Constructor for NeqSimGERG2008.
-
NeqSimVega
Constructor for NeqSimGERG2008.
- Parameters:
phase- aPhaseInterfaceobject
-
-
Method Details
-
getMolarDensity
getMolarDensity.
- Parameters:
phase- aPhaseInterfaceobject- Returns:
- a double
-
getDensity
getDensity.
- Parameters:
phase- aPhaseInterfaceobject- 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
doubleWobjects
-
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
propertiesGERG.
- Parameters:
phase- aPhaseInterfaceobject- Returns:
- an array of type double
-
getProperties
getProperties.
- Parameters:
phase- aPhaseInterfaceobjectproperties- an array ofStringobjects- Returns:
- an array of type double
-
propertiesVega
public double[] propertiesVega()propertiesGERG.
- Returns:
- an array of type double
-
setPhase
Setter for the field
phase.- Parameters:
phase- aPhaseInterfaceobject
-
main
-