How to obtain mass flow rates of single components or single phases in simulations involving variable composition mixtures or multi-phase flows, using CEL expressions during the solver run:




1) Mass flow rate of a single component in a variable composition mixture:

Mass Flow CO2 = massFlowInt(CO2.Mass Fraction)@out

The sum of the mass flow rates of all components is:

Mass Flow All = massFlow()@out or
Mass Flow All = massFlowInt(1)@out

2) Mass flow rate of a single phase in a multi-phase fluid:

Mass Flow Water = Water.massFlow()@out

3) Mass flow rate of a single component, which is part of a variable composition mixture, which itself is one phase of a multi-phase fluid:

Mass Flow Phase1 Comp1 = massFlowInt(Phase1.Comp1.Mass Fraction)@out





Show Form
No comments yet. Be the first to add a comment!