modelicaopenmodelica

Is it possible to model two-phase flow in a model with dynamic pipe?


Does anyone have an example of a two-phase flow model with dynamic pipe?

I'm trying to implement the “two phase flow” example but I think it only extends the properties of water. I'm a new user of open modelica so I don't think I understand how it works.


Solution

  • I suggest you take a look at the WaterSteam.HeatExchangers.DynamicTwoPhaseFlowPipe from the ThermoSysPro library. The connectors remain "single-phase" and treat the pressure, mass flowrate and specific enthalpy of the mixture. But that's a good starting point!

    I believe it is included in OpenModelica, otherwise you can retrieve it on Github.