ICapeThermoCompounds Interface

When implemented by a Property Package, this interface is used to access the list of Compounds that the Property Package can deal with, as well as the Compounds Physical Properties. When implemented by a Material Object, the interface is used for the same purpose but is applied to the Compounds present in the Material.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
[ComImportAttribute]
[ComVisibleAttribute(false)]
[GuidAttribute("678C0A9D-7D66-11D2-A67D-00105A42887F")]
public interface ICapeThermoCompounds

Remarks

Any component or object that maintains a list of Compounds must implement the ICapeThermoCompounds interface. Within the scope of this specification this means that it must be implemented by Property Package components and Material Objects. When implemented by a Property Package, this interface is used to access the list of Compounds that the Property Package can deal with, as well as the Compounds Physical Properties. When implemented by a Material Object, the interface is used for the same purpose but is applied to the Compounds present in the Material.

It is recommended for the SetMaterial method of the ICapeThermoMaterialContext interface to be called prior to calling any of the methods described below. A Property Package may contain Physical Property values for all the Compounds that it supports or it may rely on the PME to provide these data through the Material Object.

Methods

GetCompoundConstantReturns the values of constant Physical Properties for the specified Compounds.
GetCompoundListReturns the list of all Compounds. This includes the Compound identifiers recognised and extra information that can be used to further identify the Compounds.
GetConstPropList Returns the list of supported constant Physical Properties.
GetNumCompoundsReturns the number of Compounds supported.
GetPDependentPropertyReturns the values of pressure-dependent Physical Properties for the specified pure Compounds.
GetPDependentPropListReturns the list of supported pressure-dependent properties.
GetTDependentPropertyReturns the values of temperature-dependent Physical Properties for the specified pure Compounds.
GetTDependentPropListReturns the list of supported temperature-dependent Physical Properties.

See Also