MaterialStreamGetPhase Method

Returns the Phase object corresponding to the given phase name.

Definition

Namespace: DWSIM.Thermodynamics.Streams
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
public Phase GetPhase(
	string phasename
)

Parameters

phasename  String
Phase name (e.g. "Vapor", "Liquid1", "Solid", "Mixture").

Return Value

Phase
The matching phase, or the Mixture phase if the name is not recognised.

See Also