ICapeThermoMaterial Interface

A Material Object is a container of information that describes a Material stream. Calculations of thermophysical and thermodynamic properties are performed by a Property Package using information stored in a Material Object. Results of such calculations may be stored in the Material Object for further usage. The ICapeThermoMaterial interface provides the methods to gather information and perform checks in preparation for a calculation, to request a calculation and to retrieve results and information stored in the Material Object.

Definition

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

Methods

ClearAllProps Remove all stored Physical Property values.
CopyFromMaterial Copies all the stored non-constant Physical Properties (which have been set using the SetSinglePhaseProp, SetTwoPhaseProp or SetOverallProp) from the source Material Object to the current instance of the Material Object.
CreateMaterial Creates a Material Object with the same configuration as the current Material Object.
GetOverallProp Retrieves non-constant Physical Property values for the overall mixture.
GetOverallTPFraction Retrieves temperature, pressure and composition for the overall mixture.
GetPresentPhases Returns Phase labels for the Phases that are currently present in the Material Object.
GetSinglePhaseProp Retrieves single-phase non-constant Physical Property values for a mixture.
GetTPFraction Retrieves temperature, pressure and composition for a Phase.
GetTwoPhaseProp Retrieves two-phase non-constant Physical Property values for a mixture.
SetOverallProp Sets non-constant property values for the overall mixture.
SetPresentPhases Allows the PME or the Property Package to specify the list of Phases that are currently present.
SetSinglePhaseProp Sets single-phase non-constant property values for a mixture.
SetTwoPhaseProp Sets two-phase non-constant property values for a mixture.

See Also