Material StreamGet Phase 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
The matching phase, or the Mixture phase if the name is not recognised.
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public Phase GetPhase(
string phasename
)VB
Public Function GetPhase (
phasename As String
) As PhaseParameters
- phasename String
- Phase name (e.g. "Vapor", "Liquid1", "Solid", "Mixture").
Return Value
PhaseThe matching phase, or the Mixture phase if the name is not recognised.