.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 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos