ICapeThermoMaterialGetOverallTPFraction Method

Retrieves temperature, pressure and composition for the overall mixture.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
[DispIdAttribute(5)]
void GetOverallTPFraction(
	out double temperature,
	out double pressure,
	out Object composition
)

Parameters

temperature  Double
A reference to a double Temperature (in K)
pressure  Double
A reference to a double Pressure (in Pa)
composition  Object
A reference to an array of doubles containing the Composition (mole fractions)

Remarks

This method is provided to make it easier for developers to make efficient use of the CAPEOPEN interfaces. It returns the most frequently requested information from a Material Object in a single call.

There is no choice of basis in this method. The composition is always returned as mole fractions.

Exceptions

ECapeNoImplThe operation GetOverallProp is “not” implemented even if this method can be called for reasons of compatibility with the CAPE-OPEN standards. That is to say that the operation exists but it is not supported by the current implementation.
ECapeThrmPropertyNotAvailableThe Physical Property required is not available from the Material Object, possibly for the basis requested. This exception is raised when a Physical Property value has not been set following a call to the CreateMaterial or ClearAllProps methods.
ECapeFailedInitialisationThe pre-requisites are not valid. The necessary initialisation has not been performed or has failed.
ECapeUnknownThe error to be raised when other error(s), specified for this operation, are not suitable.

See Also