.MultiPhaseMixture.Interfaces.createPhaseFractionVector

Information

Create a phase fraction vector, unset phase element are distributed evenly so sum(phaseVector) = 1

Interface

function createPhaseFractionVector
  input String[:] phaseId = {"Liquid", "Vapor"} "Phase id vector";
  input Real[size(phaseId, 1)] phaseValues = {0.5, 0.5} "Values for each phaseId element";
  output Real[nP] phaseVector;
end createPhaseFractionVector;

Generated at 2025-01-21T19:25:52Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos